Yes , thanks.

On Wed, Jun 26, 2019, 1:37 PM Alex Dettinger <aldettin...@gmail.com> 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/camel-2.24.x/camel-core/src/test/java/org/apache/camel/language/XPathFunctionTest.java
>
> Hope that help,
> Alex
>
> On Wed, Jun 26, 2019 at 9:42 AM Bikash Kaushik <kaushikbikas...@gmail.com>
> wrote:
>
> > 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 <claus.ib...@gmail.com>
> 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 refer to a
> > > Camel header. Its a bit unclear from your example.
> > >
> > > On Wed, Jun 26, 2019 at 8:45 AM Bikash Kaushik
> > > <kaushikbikas...@gmail.com> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I want to know , how to pass header value in Camel xpath ,
> > > >
> > > > <setHeader
> > > >
> > >
> >
> headerName="xpathValue"><xpath>*//*[local-name()='EmployeeDataResult']/text()</xpath></setHeader>
> > > >
> > > > I have to pass header value in between xapth.
> > > >
> > > >
> > > > Regards,
> > > > Bikash Kaushik
> > >
> > >
> > >
> > > --
> > > Claus Ibsen
> > > -----------------
> > > http://davsclaus.com @davsclaus
> > > Camel in Action 2: https://www.manning.com/ibsen2
> > >
> >
>

Reply via email to