camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Problem with Dynamic Recipient list and XPath
Date Tue, 13 Jan 2009 11:59:22 GMT
Hi

I have looked into the code. I dont think it automatic tokenize using
comma. You have to add that manually. In spring DSL that can be kinda
hard. So I am working on improving this.

At the same time the wiki needs a little update as well. Thanks.


On Mon, Jan 12, 2009 at 11:37 PM, ychawla <premiergeneration@yahoo.com> wrote:
>
> Hello All,
> I was reading this thread and I had a similiar question to the original
> poster.  I have a simple spring route like this:
>
>      <recipientList>
>        <header>WorkflowRecipients</header>
>      </recipientList>
>
> And I set the header like this in code:
> message.setHeader("WorkflowRecipients",
> "activemq:Workflow1,activemq:Workflow2,activemq:Workflow3");
>
> It seems to automatically tokenize based on the ",".  This works great for
> me as I would like to multicast dynamically to all these recipients.  In the
> Spring Route, does RecipientList automatically tokenize based on "," and is
> this token configurable?  The WIKI could probably be brushed up based on
> this answer and I wouldn't mind doing it:
>
> http://activemq.apache.org/camel/recipient-list.html
>
> Thanks,
> Yogesh
> --
> View this message in context: http://www.nabble.com/Problem-with-Dynamic-Recipient-list-and-XPath-tp19781189s22882p21425421.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 

/Claus Ibsen
Apache Camel Committer
Blog: http://davsclaus.blogspot.com/

Mime
View raw message