You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by dkum003 <DH...@amadeus.com> on 2013/10/21 13:17:58 UTC
dynamic xslt file name
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.
Re: dynamic xslt file name
Posted by dkum003 <DH...@amadeus.com>.
Hi Claus,Thanks For your help.It's working fine to change the xslt url
dynamically.Now I will change the rest service url dynamically.Thanks &
Regards,Dhananjay KumarSSE
--
View this message in context: http://camel.465427.n5.nabble.com/dynamic-xslt-file-name-tp5741965p5742007.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: dynamic xslt file name
Posted by Claus Ibsen <cl...@gmail.com>.
Try with
exchange.getIn().setHeader("xsltName", "xslt:"+xsltFileName);
On Mon, Oct 21, 2013 at 1:17 PM, dkum003 <DH...@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