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
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 );