Re: XML Namespace and Xpath injection

2011-09-12 Thread Claus Ibsen
The @XPath annotation has an attribute to set namespaces. There is an example in Camel in Action book p118 On Mon, Sep 12, 2011 at 2:21 PM, wrote: > Hello, > I'm trying to inject a value in bean trough an xpath injection as following : > > >        public void audit(@XPath("/Envelope/Body/getT

Re: [ camel ] XML Namespace and Xpath injection

2011-09-12 Thread Marcin Cylke
On 09/12/2011 02:21 PM, atouret.nos...@free.fr wrote: Hello, I'm trying to inject a value in bean trough an xpath injection as following : public void audit(@XPath("/Envelope/Body/getToken/username/text()") String id, @Body String body) { logger.info("Id :"+id );