Binding arguments in Java JMS
-----------------------------

                 Key: QPID-967
                 URL: https://issues.apache.org/jira/browse/QPID-967
             Project: Qpid
          Issue Type: New Feature
          Components: Java Client
            Reporter: Jonathan Robie


I need to be able to specify binding arguments in the Java JMS client in order 
to specify queries for bindings in the XML Exchange. It's quite possible that 
there is a way to do this, but it's not obvious to me how.

The following Python code shows what I'm trying to do:

session.exchange_declare(exchange="xml", type="xml")
session.queue_declare(queue="message_queue")

binding = {}
binding["xquery"] = "./message/id mod 2 = 1"

session.exchange_bind(exchange="xml", queue="message_queue", 
binding_key="query_name", args=binding)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to