You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2012/09/01 14:33:07 UTC

[jira] [Comment Edited] (QPID-4261) [Java client] add options to Binding URLs to allow specifying exchange properties when using custom exchanges

    [ https://issues.apache.org/jira/browse/QPID-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443592#comment-13443592 ] 

Robbie Gemmell edited comment on QPID-4261 at 9/1/12 11:32 PM:
---------------------------------------------------------------

I have added new options 'exchangedurable', 'exchangeautodelete', and 'exchangeinternal' to the BindingURLs (all defaulting to false if not present, for compatibility) to allow setting the exchange properties, and wired them up to affect the ExchangeDeclare commands sent during producer/consumer creation.

Change commited to trunk at r1379748: http://svn.apache.org/viewvc?view=revision&revision=1379748
                
      was (Author: gemmellr):
    Attaching a couple of work-in-progress patches.

The first does a little bit of cleanup, the second adds some new exchange properties/getters (exchangedurable, exchangeautodelete) to AMQBindingURL and AMQDestination along with unit tests to verify their behaviour.

Still to do: wire up use of the new getters on AMQDestination during the producer/consumer creation when the ExchangeDeclares are sent.
                  
> [Java client] add options to Binding URLs to allow specifying exchange properties when using custom exchanges
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-4261
>                 URL: https://issues.apache.org/jira/browse/QPID-4261
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>             Fix For: 0.19
>
>
> Add options to Binding URLs to allow specifying exchange properties when using custom exchanges.
> When using AMQP 0-8/0-9/0-9-1 it is necessary to use the BindingURL destination format. Due to the clients historic silo'd use of the mandatory amq.direct and amq.topic for Queues and Topics respectively, the BindingURL syntax doesn't provide any means to specify the properties of the exchanges for which the client implicitly sends exchange-declare commands during producer/consumer creation. This severely limits the clients ability to use custom exchanges and interact with systems which already do.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org