camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <tantea...@hotmail.com>
Subject Re: How to relay different parts of message to different endpoints
Date Mon, 25 Aug 2014 14:30:35 GMT
Thanks,

the problem with this solution is i need a 2nd processor or a custom
predicate that could be used in choice().when().
Since each "pair" must be routed to a different set of endpoints i need the
"when" to use the integer.

I think it would be much better to let the first producer just send multiple
exchanges with header set. the output could be directly fed into
choice().when(header).

but how to create such a processor? This
http://camel.apache.org/how-do-i-write-a-custom-processor-which-sends-multiple-messages.html
isnt working (don't know what default endpoint means - what to set here)



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-relay-different-parts-of-message-to-different-endpoints-tp5754836p5755648.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message