The way to do it is to set a header using the xpath and then use the
header's value in the simple expression.


On Thu, Sep 19, 2013 at 12:54 PM, Robert Simmons <kray...@gmail.com> wrote:

> You can use the scripts component and use xpath by itself.
>
> Sent from my iPad
>
> > On Sep 19, 2013, at 10:25 AM, bonnahu <bonn...@gmail.com> wrote:
> >
> > Hi guys,
> > I am wondering whether there is a way to do something like below:
> >
> >
> <simple>${date:now:yyyyMMdd-HHmm}-incomingOrder-${@XPath("/order/@customerId")}-.xml</simple>
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/Is-it-possible-to-include-XPath-expression-in-simple-expression-tp5739830.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Dale King

Reply via email to