Splitting a message into many (Intermediate)
Messages passed to integration applications are not always in the right granularity to work with. In many cases they are composite messages consisting of multiple elements each of which has to be processed individually. This is when a Splitter pattern can help us to split incoming messages into series of messages, which are easier to work with. In this tutorial, we will create a route that splits an incoming XML message into multiple messages.
Getting ready
The complete source code for this tutorial is located under the project camel-message-routing-examples/splitting-message
.
How to do it...
- In the tutorial, ...
Get Instant Apache Camel Message Routing 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.