...
Code Block |
---|
from("activemq:SomeQueue").routingSlip("headerName");
|
Messages will be checked for the existance of the "routingSlipHeaderheaderName" header. The value of this header should be a comma-delimited list of endpoint URIs you wish the message to be routed to. The Message will be routed in a pipeline fashion (i.e. one after the other).
Note: In Camel 1.x the default header name routingSlipHeader
has been @deprecated and is removed in Camel 2.0. We feel that the DSL needed to express, the header it uses to locate the destinations, directly in the DSL to not confuse readers. So the header name must be provided.
Configuration options
Here we set the header name and the URI delimiter to something different.
...