qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Robie (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-967) Binding arguments in Java JMS
Date Thu, 24 Apr 2008 20:33:26 GMT
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.


Mime
View raw message