CHAPTER 6

images

Channels

According to Enterprise Integration Patterns,1 a message channel is a virtual data pipe that connects a sender to one or more receivers. The message channel decouples the sender and the receivers so the sender does not necessary know who will receive the messages.

There are two major types of message channels: point-to-point channels and publisher-subscriber channels. By selecting the different type of message channel, the application can control the behavior of how the receivers get messages. The Spring Integration framework simplifies the development of message channels in an integration implementation.

EAI Message Channel ...

Get Pro Spring Integration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.