On 06/19/2012 07:09 AM, eugene wrote:
I will have to revive a question on my own:

http://apache-qpid-developers.2158895.n2.nabble.com/delete-create-queue-listener-JMS-td7578648.html#a7578763

The answer that Gordon Sim provided indeed works for a simple queue that I
create then delete. I indeed can catch these events and see what the actual
queue that has been delete is. But here is a case that I think is not
covered:

Suppose that some queue is on auto-delete=true. I open a connection and
while it is open the queue is on the broker. By as soon as I close it, the
queue is deleted (because of the auto-delete) and the listener will catch a
"clientDisconnect", instead of "queueDetele" event. Thus there is no way for
me to know which queue has been deleted really.

In my view that is a bug; there should be a queue-delete event for auto-deleted queues as for other queues. If you want to raise a JIRA, I can propose a fix for that.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to