Re: Read header value in Camel xpath

2019-06-26 Thread Bikash Kaushik
Yes , thanks. On Wed, Jun 26, 2019, 1:37 PM Alex Dettinger wrote: > If I get it correctly, you may be interested in the "in:header" xpath > function: > > https://github.com/apache/camel/blob/master/components/camel-xpath/src/main/docs/xpath-language.adoc > > https://github.com/apache/camel/blob/

Re: Read header value in Camel xpath

2019-06-26 Thread Alex Dettinger
If I get it correctly, you may be interested in the "in:header" xpath function: https://github.com/apache/camel/blob/master/components/camel-xpath/src/main/docs/xpath-language.adoc https://github.com/apache/camel/blob/camel-2.24.x/camel-core/src/test/java/org/apache/camel/language/XPathFunctionTest

Re: Read header value in Camel xpath

2019-06-26 Thread Bikash Kaushik
Hi, I want to use header value in xpath to filter message based on header value. On Wed, Jun 26, 2019, 12:46 PM Claus Ibsen wrote: > Hi > > What do you mean? > > Do you mean you need to use a Camel Message header to build your xpath > expression, or do you want from the xpath expression to refe

Re: Read header value in Camel xpath

2019-06-26 Thread Claus Ibsen
Hi What do you mean? Do you mean you need to use a Camel Message header to build your xpath expression, or do you want from the xpath expression to refer to a Camel header. Its a bit unclear from your example. On Wed, Jun 26, 2019 at 8:45 AM Bikash Kaushik wrote: > > Hi, > > I want to know , ho