Content Based Router
The Content Based Router from the EIP patterns allows you to route messages to the correct destination based on the contents of the message exchanges.
The following example shows how to route a request from an input queue:a endpoint to either queue:b, queue:c or queue:d depending on the evaluation of various Predicate expressions
Using the Fluent Builders
Error formatting macro: snippet: java.lang.NullPointerException
Using the Spring XML Extensions
Error formatting macro: snippet: java.lang.NullPointerException
To experiment with this pattern you could use the junit test case