qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-4277) [Java client] 0-10 client path cant declare durable/auto-delete exchanges when using 'Address' based destinations
Date Fri, 21 Sep 2012 19:52:07 GMT

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

Rajith Attapattu commented on QPID-4277:
----------------------------------------

The durable issue is fixed in http://svn.apache.org/viewvc?rev=1388642&view=rev
The auto-delete issue is fixed in http://svn.apache.org/viewvc?rev=1388650&view=rev
                
> [Java client] 0-10 client path cant declare durable/auto-delete exchanges when using
'Address' based destinations
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-4277
>                 URL: https://issues.apache.org/jira/browse/QPID-4277
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16
>            Reporter: Robbie Gemmell
>             Fix For: Future
>
>
> 0-10 client path cant declare durable/auto-delete exchanges when using 'Address' based
destinations.
> The became clear via QPID-4261 when adding support for specifying the exchange properties
( auto-delete/durable etc) used when issuing ExchangeDeclares during Consumer/Producer creation
when using BindingURL based destinations with the 0-8/0-9/0-9-1 (and 0-10) client path. The
default 'false' values for durable/auto-delete in the expanded exchange declare method signature
within AMQSession_0_10 was picked up by the code handling Address based destinations, meaning
that although support for specifying these properties with Address strings should already
be present, the values arent being used:
> {noformat}
> @@ -1244,7 +1230,7 @@ public class AMQSession_0_10 extends AMQ
>                                  dest.getExchangeClass().asString(),
>                                  dest.getTargetNode().getAlternateExchange(),
>                                  dest.getTargetNode().getDeclareArgs(),
> -                                false);
> +                                false, false, false);
>                          if (isConsumer && !isQueueExist(dest,(QueueNode)dest.getSourceNode(),true))
>                          {
>                              createSubscriptionQueue(dest,noLocal);
> {noformat}

--
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


Mime
View raw message