Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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:
if (queue.isDurable() && !queue.isAutoDelete())
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.