Hi Andrew,

what I do is set the target queue as a header field in the bean:
from(queue).bean(customRouterBean).recipientList(HEADER_TARGET_ROUTE); 

I know it is not that elegant to use queue name in the bean but this was the
quickest way for me to make it work.
Hope it helps.

Cheers,
Markus

-- 
View this message in context: 
http://www.nabble.com/Camel-Routing-based-on-bean-return-object-tp22249110p22253813.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to