Proxy Consumers are not closed when a consumer closes on a networked broker
----------------------------------------------------------------------------
Key: AMQ-2109
URL: https://issues.apache.org/activemq/browse/AMQ-2109
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.2.0
Environment: This is not related to a specific environment, but could
be reproduced on Linux based machines, Windows machines using different JDK's.
Reporter: Andreas Gies
This error occurs, when we have two brokers BrokerA and BrokerB. The simplest
case is BrokerA being networked to BrokerB with a static network connector. If
a consumer is created on BrokerB for a queue TEST, we will also note a consumer
being established on BrokerA for that Queue, which is the intended behavior. If
the consumer is closed on BrokerB, the proxy consumer on BrokerA continues to
exist. Now consider the client reconnects due to failover reasons to BrokerA
this time. BrokerA would then have 2 consumers on TEST, causing a portion of
the messages being consumed by the proxy consumer.
So, when a consumer is closed for a queue, the proxy consumers in the peer
brokers should also be closed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.