[ 
https://issues.apache.org/activemq/browse/AMQ-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Gies updated AMQ-2109:
------------------------------

    Attachment: amq-2109.txt

This file contains the patch that presumably fixes the issue. It has been 
created based on the ActiveMQ 5.3.0 trunk.

> 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
>            Assignee: Gary Tully
>         Attachments: amq-2109.txt, NetworkBrokerDetachTest.java
>
>
> 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.

Reply via email to