Actually, looks like the docs are a bit misleading. If you want the same
message routed to all destinations, you'll need to wrap the outputs in a
multicast element

<route>
  <from uri="jms:numbers"/>
  <multicast>
    <to uri="jms:Queue1"/>
    <to uri="jms:Queue2"/>
    <to uri="jms:Queue3"/>
  </multicast>
</route>

and also modify your Java DSL to

from("jms:numbers").multicast().to("jms:queue:Queue1", "jms:queue:Queue2",
"jms:queue:Queue3");

-- 
View this message in context: 
http://www.nabble.com/Camel-Routing---Spring-Configuration-tp19880117s22882p19880541.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to