Message Router
The Message Router from the EIP patterns allows you to consume from an input destination, evaluate some predicate then choose the right output destination.
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