activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Bertram (JIRA)" <>
Subject [jira] [Resolved] (ARTEMIS-1015) Artemis keeps temporary queue on AMQP detach
Date Fri, 01 Sep 2017 17:32:00 GMT


Justin Bertram resolved ARTEMIS-1015.
       Resolution: Duplicate
    Fix Version/s:     (was: unscheduled)

> Artemis keeps temporary queue on AMQP detach
> --------------------------------------------
>                 Key: ARTEMIS-1015
>                 URL:
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>            Reporter: Ulf Lilleengen
>         Attachments: broker.log, router.log,
> I have a setup with 1 client subscriber connecting to a broker through a qpid dispatch
router which is setup with a connector to the broker and a linkRoute on a particular address
> This address is configured as a multicast address in the broker config. The client subscriber
marks the link as non-durable, and when I query the broker management, it confirms that it
has a temporary non-durable queue created.
> When I connect the client directly to the broker, this temporary queue is deleted when
the client disconnects. If I connect through the router, the temporary queue is still there
with 0 consumers after the client has disconnected.
> When the client closes its connection to the router, the router sends a detach to the
broker, but the session is left open. It looks to me that the broker does not remove the temporary
queue until the session is ended or the connection is closed. What I would expect is that
the temporary queue is deleted when the link is detached.
> Attached is the logs from the broker and router.
> A reproducer:
> 1. Use configuration file from instance/etc/broker.xml 
> 2. Start broker using
> 2. Start router using
> 3. Start client using
> 4. Disconnect client
> 5. Query broker management to see that temporary queue is still there
> This can probably be reproduced with a client just doing a detach.

This message was sent by Atlassian JIRA

View raw message