You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2008/07/23 17:48:31 UTC

[jira] Updated: (QPID-967) Binding arguments in Java JMS

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

Aidan Skinner updated QPID-967:
-------------------------------

    Fix Version/s: M3

> 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
>             Fix For: M3
>
>
> 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.