Thanks for the hint 

Solved this way 

from("cxf:bean:hubws?dataFormat=MESSAGE").streamCaching()
      .bean(AddIpBean.class) 
      .bean(SetRoutingKey.class)
      .bean(Util.class, "setMiljo")
      .multicast()
      .to("direct:channel1", "direct:channel2","direct:channel3")
      .aggregationStrategy(new HubAggregationStrategy());
       

Where HubAggregationStrategy only makes this code after the last channel
"channel3"

  newExchange = oldExchange;





--
View this message in context: 
http://camel.465427.n5.nabble.com/3-Routes-how-to-get-the-second-routes-reply-back-to-the-client-tp5754933p5754943.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to