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: dynamic xslt file name
Date Mon, 21 Oct 2013 12:57:09 GMT
Try with

exchange.getIn().setHeader("xsltName", "xslt:"+xsltFileName);



On Mon, Oct 21, 2013 at 1:17 PM, dkum003 <DHANANJAY.KUMAR@amadeus.com> wrote:
> Hi,
>
> I want to use xslt file name dynamically in route and I have to change the
> rest service end point url dynamically.
>
> I tried below:
>
> exchange.getContext().getProperties().put("xsltName", "xslt:"+xsltFileName);
>
> .recipientList(simple(header("xsltName")))
>
> But it's not working.
>
> Please help me on this.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/dynamic-xslt-file-name-tp5741965.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message