Pipes and Filters
With Camel you can split your processing across multiple independent Endpoint instances which can then be chained together.
Using Routing Logic
In Spring XML you can use the
In the above the pipeline element is actually unnecessary, you could use this:
which is a bit more explicit.
However if you wish to use
<multicast/> to avoid a pipeline - to send the same message into multiple pipelines - then the
<pipeline/> element comes into its own:
In the above example we are routing from a single Endpoint to a list of different endpoints specified using URIs. If you find the above a bit confusing, try reading about the Architecture or try the Examples
Using This Pattern
If you would like to use this EIP Pattern then please read the Getting Started, you may also find the Architecture useful particularly the description of Endpoint and URIs. Then you could try out some of the Examples first before trying this pattern out.