Rob Godfrey created QPID-5076:
---------------------------------

             Summary: [Java Broker] Durable auto-delete queues leave behind 
orphaned bindings
                 Key: QPID-5076
                 URL: https://issues.apache.org/jira/browse/QPID-5076
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Rob Godfrey


On line 1240 of ServerSessionDelegate and line 112 of QueueDeclareHandler the 
following test is applied before deciding whether to store a queue definition 
to the durable config store:

{code}
if (queue.isDurable() && !queue.isAutoDelete())
{code}

However a binding is entered into the store based only on the durability of the 
queue and exchange.  Thus a durable autodelete queue bound to a durable 
exchange will cause a binding record to be written to the store where there is 
no corresponding queue record.

It is a little unclear to me what the correct semantics of durable auto-delete 
queues actually should be.


--
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to