Hi
The dynamic recpient list is documented here
http://activemq.apache.org/camel/recipient-list.html
It has a sample how to use a tokenizer to split a string based on
comma. Just used body() instead of header
from("jms:myqueue").to("bean:eventListener?methodName=process").recipientList(body().tokenize(","));
/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/
On Thu, Nov 20, 2008 at 6:15 PM, Coder One <[EMAIL PROTECTED]> wrote:
> from("jms:myqueue").to("bean:eventListener?methodName=process").recipientList(???)..
>
> My event Listener returns a string of comma delimiter route URI, say, jms:q1,
> jms:q2, etc...and now I would like to further route the event to all the q1,
> q2, etc...
>
> q1, q2, come from database keyed by the event...
>
> Is recipientList the right way? How?
>
> Thanks...
>
>
>
>
>
>