-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
AMQ 7.2.2.GA, AMQ 7.2.3.GA
-
None
When a producer with a replyTo temporary address configuration connects to one node in a broker cluster and the consumer / responder connects to another node, the temporary (reply) queue and address persist in the node where the consumer / responder is attached until the consumer exits (even if a separate session is opened and closed for every reply message). On the producer node, the temporary queues are deleted when the producer exits, but the addresses persist, even after a broker restart. In testing, I have found the following:
1. In a single-node configuration, all works as expected. If the producer with the replyTo listener exits, then the address and queue are both cleaned up, regardless of whether the consumer / responder has existed or is still listening.
3. In a clustered configuration with the producer and consumer on the same node, behavior is as with a single-node
2. In a clustered configuration (2 nodes, static connectors) with the producer and consumer connected to separate nodes, when the producer exits, I see the address remaining on the producer / replyTo node and the replyTo address and queue remain on the consumer node. When the consumer / responder exits, I do see the address and queue cleaned up on the consumer node, but the replyTo address remains on the producer node. The address persists, even after the broker is restarted.