activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2084) ActiveMQ - XPATH Selectors - Unable to make it work
Date Fri, 04 Sep 2009 18:59:15 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob Davies updated AMQ-2084:
----------------------------

    Fix Version/s: 5.4.0

> 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
>             Fix For: 5.4.0
>
>         Attachments: TestXPathSelectors.java
>
>
> 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//book[@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.


Mime
View raw message