You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2009/02/13 10:06:59 UTC

[jira] Assigned: (AMQ-2109) Proxy Consumers are not closed when a consumer closes on a networked broker

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

Gary Tully reassigned AMQ-2109:
-------------------------------

    Assignee: Gary Tully

> 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: 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.