Chapter 5. Message Flow

We discussed message transformation in the last chapter. After transformation has been taken care of, there can be additional tasks before it can be delivered to the next in the chain. For example, messages might need some chunking, or they might be incomplete and need some temporary storage or sequencing. In this chapter, we will explore the out-of-the-box capabilities that the Spring Integration framework provides for a seamless flow of messages across heterogeneous components. We will cover the following topics in this chapter:

  • Routers
  • Filters
  • Splitters
  • Aggregators
  • Resequencers
  • Chaining handlers

Routers

Routers are components that pick messages from a channel and, depending on a set of pre-defined criteria, deliver them to ...

Get Spring Integration Essentials 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.