Java client always create exclusive lock for the queue when use with the new
addressing scheme
----------------------------------------------------------------------------------------------
Key: QPID-2928
URL: https://issues.apache.org/jira/browse/QPID-2928
Project: Qpid
Issue Type: Bug
Components: Java Client
Reporter: Rajith Attapattu
Assignee: Rajith Attapattu
Fix For: 0.8
Java client always create exclusive lock for the queue when a destination is
created with an addressing scheme, it does not allow two
consumer to connect to the same queue.
for example, using following address will get exception
my_queue;{create:always,node:{type:queue,x-declare:{exclusive:False,auto-delete:True}}}
==exception==
org.apache.qpid.transport.SessionException: ch=0 id=1
ExecutionException(errorCode=RESOURCE_LOCKED, commandId=1, classCo
de=4, commandCode=7, fieldIndex=0, description=resource-locked: Queue
my_queue has an exclusive con
sumer. No more consumers allowed. (qpid/broker/Queue.cpp:459), errorInfo={})
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]