- Spring Integration Essentials
- Chandan Pandey
- 179字
- 2021-07-23 20:50:49
Channel types
Before starting with their implementation, let's first look at the following types of channels:
- Point-to-point channel: A one-to-one relationship is maintained between producer and consumer. These channels deliver message to one and only one recipient. Even if more than one recipient is registered, messages will only be delivered to one of them. This channel type can be used in a parallel processing scenario, allowing multiple consumers to listen to the availability of messages in parallel, but the delivery of messages will be done to a single consumer only!
- Publish-subscribe channel: These channels deliver messages to all of the subscribers who have registered on the channel, thus implementing a one-to-many relationship between producer and consumer. An analogy can be drawn as each subscriber has its own private channel, on which a copy of the message is delivered. As soon as it's consumed, it is discarded.
Let's get out of idioms and have a sneak peek at how Spring Integration provides support for all of these components—after all, this is a book on Spring Integration, isn't it!
推薦閱讀
- ThinkPHP 5實戰(zhàn)
- Mastering Natural Language Processing with Python
- Cassandra Design Patterns(Second Edition)
- 精通API架構:設計、運維與演進
- Mastering C# Concurrency
- PHP 編程從入門到實踐
- Scratch真好玩:教小孩學編程
- Python機器學習算法與實戰(zhàn)
- 深入淺出React和Redux
- Machine Learning in Java
- Learning Material Design
- Angular應用程序開發(fā)指南
- Android系統(tǒng)下Java編程詳解
- Mastering ASP.NET Core 2.0
- Web開發(fā)新體驗