Robbie Gemmell created QPID-4277:
------------------------------------
Summary: [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
Affects Versions: 0.16, 0.15, 0.14, 0.13, 0.12, 0.11, 0.10, 0.9, 0.8, 0.7,
0.6
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: [email protected]
For additional commands, e-mail: [email protected]