ActiveMQ - XPATH Selectors - Unable to make it work
---------------------------------------------------
Key: AMQ-2084
URL: https://issues.apache.org/activemq/browse/AMQ-2084
Project: ActiveMQ
Issue Type: Bug
Components: JMS client
Affects Versions: 5.2.0
Environment: Windows 2003 Server - 64 Bit
Reporter: Jagath Vijayan Janakiraman
I am using ActiveMQ 5.2. I am unable to make use of XPATH selectors.
Sample XML message: <?xml version='1.0' encoding='UTF-8'?><books><book
lang='en'>ABC</book></books>
Topic where message is posted: VirtualTopic.TestXpath
Queue where message is listened to: Consumer.Sample.VirtualTopic.TestXpath
XPATH selector specified: XPATH '//books//bo...@lang=''en'']'
Protocol: OpenWire
I read a different post on the same topic and added the following necessary JAR
files to the classpath apart from activemq-all-5.2.0.jar:
- xalan.jar
- xercesImpl.jar
- xml-apis.jar
- I have tried a lot of different combination for the XPATH selector but still
the consumer is not getting any messages.
- I am consuming from the physical queue of the virtual topic to which I am
publishing.
- I receive all the messages from the same physical queue if I don't use any
selectors.
Please find attached the test class (TestXPathSelectors.java) for reference.
ActiveMQ - User Forum Thread Link:
http://www.nabble.com/ActiveMQ---XPATH-Selectors---Unable-to-make-it-work-to21610375.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.