Yeah Camel 2.2 is very old. Is this the version you use?
On Tue, Nov 26, 2013 at 1:39 PM, Shiv <shiv.dixit....@gmail.com> wrote: > I am able to get it working by combining recipientList and > interceptFromEndpoint features. > > <interceptSendToEndpoint uri="activemq:queue:*"> > <process ref="receiverListIntercepter" /> - this class uses > CamelInterceptedEndpoint to identify where exchange is getting forwarded and > uses that value as Receiver in next step > <setHeader headerName="Receiver"> > <simple>${in.header.Receiver}</simple> > </setHeader> > </interceptSendToEndpoint> > > <process ref="recipientListGenerator" /> > <recipientList delimiter=","> > <simple>${in.header.RecipientList}</simple> > </recipientList> > > However, if better solution is available, do let me know. I believe higher > version of Camel allows creation of custom exchange in case of > multicast/recipient list. > > Thanks > Shiv > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Mutlicasting-to-dymanic-recipient-list-tp5743826p5743851.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen