Hi Marco, I am facing a strange problem when using recipientList, the processor method where I am setting the value in header is getting the input as the appended value of the earlier request.
from( "jms:request") .process(new AddHeader("test")) .to("cxfrs://http://abc.com/" +< header (test)>) Could you please explain this or is it bug ? -Regards, atg roxx On Thu, Mar 22, 2012 at 3:36 PM, Marco Westermann <marwesterm...@gmx.de>wrote: > Hi, > > you cannot use simple language in the to endpoint-uri, but you can use it > in the recipientList > from( "jms:request") > .process(new AddHeader()) > .recipientList(simple("cxfrs:/**/http://abc.com/${header.test}** > ")); > > regards, > > Marco > > > > Am 22.03.2012 16:13, schrieb atg roxx: > > Hi Alex, >> >> I doubt that we can use simple within to. I am getting compilation error >> for it. >> >> Regards, >> -atg roxx >> >> On Thu, Mar 22, 2012 at 2:59 PM, Alex Anderson<a...@frontlinesms.com** >> >wrote: >> >> from( "jms:request") >>>> .process(new AddHeader()) >>>> .to("cxfrs://http://abc.com/" +< header (test)>) >>>> >>> Have you tried: >>> >>> >>> .to(simple("cxfrs://http://**abc.com/${header.test}<http://abc.com/$%7Bheader.test%7D> >>> ")) >>> >>> >