camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reji Mathews <>
Subject RE: xpath filter question
Date Fri, 15 Nov 2013 03:04:56 GMT

What is the error?  Anything in log?  And to which component are u sending the message after
removing the processor

Reji wrote:

>Can you share the sample xml message ? Does it have namespace in it ?
>From: John Dubchak []
>Sent: Friday, November 15, 2013 1:42 AM
>Subject: xpath filter question
>I am trying to create a JavaDSL route that filters an incoming XML from
>an ActiveMQ queue.  The message is being delivered correctly and I can
>print it out if I short-circuit it with a processor that dumps the
>message.  However, removing the processor, I cannot seem to get the
>correct xpath expression to match on a particular value:
>   .filter()
>.xpath("/parent_node[child_node = 'value of text']")
>Any insight into what I've messed up?
>This e-mail and any files transmitted with it are for the sole use of the intended recipient(s)
and may contain confidential and privileged information. If you are not the intended recipient(s),
please reply to the sender and destroy all copies of the original message. Any unauthorized
review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or
any action taken in reliance on the contents of this e-mail is strictly prohibited and may
be unlawful.
View raw message