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}";))


Reply via email to