camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Reil <gistenju...@gmx.de>
Subject Re: Camel Routing based on bean return object
Date Fri, 27 Feb 2009 20:29:05 GMT

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.


Mime
View raw message