Re: xpath filter question

2013-11-16 Thread Raul Kripalani
mponent are u >> sending the message after removing the processor >> >> Reji >> >> ravindra.godb...@cognizant.com wrote: >> >> Can you share the sample xml message ? Does it have namespace in it ? >>>

Re: xpath filter question

2013-11-15 Thread John Dubchak
ing the message after removing the processor Reji ravindra.godb...@cognizant.com wrote: Can you share the sample xml message ? Does it have namespace in it ? From: John Dubchak [j...@johndubchak.com] Sent: Friday, November 15, 2013 1:42 AM To: use

Re: xpath filter question

2013-11-15 Thread Claus Ibsen
Getting xpath expression correct can be tricky. You can use some xpath eval tool to try this to make sure to get the exp correct. And mind about namespaces, if the xml has namespaces then its even more tricky. Some details here http://camel.apache.org/xpath And then search the web for java xpath

RE: xpath filter question

2013-11-14 Thread Reji Mathews
rom: John Dubchak [j...@johndubchak.com] >Sent: Friday, November 15, 2013 1:42 AM >To: users@camel.apache.org >Subject: xpath filter question > >Hi, > >I am trying to create a JavaDSL route that filters an incoming XML from >an ActiveMQ queue. The message is being delivered corre

RE: xpath filter question

2013-11-14 Thread Ravindra.Godbole
Can you share the sample xml message ? Does it have namespace in it ? From: John Dubchak [j...@johndubchak.com] Sent: Friday, November 15, 2013 1:42 AM To: users@camel.apache.org Subject: xpath filter question Hi, I am trying to create a JavaDSL route

xpath filter question

2013-11-14 Thread John Dubchak
Hi, 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 xpa