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.

Reply via email to