December 2013
Intermediate to advanced
424 pages
9h 7m
English
When you want to route the same message to a number of endpoints and have them process the message in different ways, the Multicast EIP is a good choice.
This recipe will show you the default, sequential way to use Camel's Multicast EIP. Chapter 6, Parallel Processing, contains a recipe for using Multicast with concurrency (threads).
The Java code for this recipe is located in the org.camelcookbook.routing.multicast package. The Spring XML files are located under src/main/resources/META-INF/spring and prefixed with multicast.
Use the
multicast DSL statement, and list the endpoints and processing steps within it.
In the XML DSL, this routing logic is written as:
<route> ...
Read now
Unlock full access