Chapter 7. Splitting and aggregating messages

 

This chapter covers
  • Splitting messages into parts
  • Aggregating messages into a composite
  • Reordering messages with a resequencer
  • Customizing aggregation

 

Previous chapters explained how a single message is processed as a unit. You saw channels, endpoints such as service activators and transformers, and routing. All these components have one thing in common: they don’t break the unit of the message. If one message goes in, either one message comes out the other end or it is gone forever. This chapter looks at situations in which this rule no longer holds. In some situations, one message goes in and several messages come out (splitter), and in others, several messages go in before messages start ...

Get Spring Integration in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.