Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 69593 invoked from network); 13 Jan 2009 11:59:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jan 2009 11:59:53 -0000 Received: (qmail 80337 invoked by uid 500); 13 Jan 2009 11:59:53 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 80314 invoked by uid 500); 13 Jan 2009 11:59:53 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 80303 invoked by uid 99); 13 Jan 2009 11:59:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 03:59:53 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.218.15 as permitted sender) Received: from [209.85.218.15] (HELO mail-bw0-f15.google.com) (209.85.218.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 11:59:45 +0000 Received: by bwz8 with SMTP id 8so5115749bwz.14 for ; Tue, 13 Jan 2009 03:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=s+WvELfDEOw2U4vuh/1RD9PyD5ECdis9xXMGvzgZHm4=; b=KQpTEXb4W3QwzpLbuZCToGnSY3hpDdA9NvC6hdYy0kVfO+gwPIJ45U0GFOqF0zKeXH Raa30DuhwRKcLcqwZe0XzOEeLwVTEJwK8E2zV6TNsULSI1NBiFPLJ2nqnIc5jqoftsEA 55tJ8dXEQ+UZZ1EPJkFtcPMXhVu5rfvtMMdwQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=tDPdMeUeQwzgcHyrRjFRhKBLqw/B9RDiW8ul7kWGtjFYY4JQvTKDcoFpRzwolx3sF/ pxL1V8alKWwCHrief803XspY/s5/Z3fcfPoURaki8EvnRaiwPRbeKf8B+KTvivgEE5fQ k5eXxNGFhu75qP0wBXrXYvc0CJy7khHngIwMI= MIME-Version: 1.0 Received: by 10.181.240.10 with SMTP id s10mr11362142bkr.108.1231847962237; Tue, 13 Jan 2009 03:59:22 -0800 (PST) In-Reply-To: <21425421.post@talk.nabble.com> References: <4C1FB9C00D24A140906239533638C4D2058FB6DE@EXVS04.exserver.dk> <48E51A29.5010605@gmail.com> <21425421.post@talk.nabble.com> Date: Tue, 13 Jan 2009 12:59:22 +0100 Message-ID: <5380c69c0901130359x58fcd032na0f4bdc319663f5a@mail.gmail.com> Subject: Re: Problem with Dynamic Recipient list and XPath From: Claus Ibsen To: camel-user@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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: > > >
WorkflowRecipients
>
> > 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/