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 xpath expression to match on a particular value:
from("activemq:cdw.Notifications")
.filter()
.xpath("/parent_node[child_node = 'value of text']")
Any insight into what I've messed up?
Thanks,
John
