You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Howard Gao (JIRA)" <ji...@apache.org> on 2017/02/09 14:14:41 UTC

[jira] [Resolved] (ARTEMIS-949) Prevent Openwire from closing consumer twice

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

Howard Gao resolved ARTEMIS-949.
--------------------------------
    Resolution: Fixed

> Prevent Openwire from closing consumer twice
> --------------------------------------------
>
>                 Key: ARTEMIS-949
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-949
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 1.5.2
>            Reporter: Howard Gao
>            Assignee: Howard Gao
>             Fix For: 2.0.0
>
>
> It is possible that in some multi-thread cases an openwire client sends a disconnet command followed by a 'remove consumer' command, which causes the broker to call consumer close twice. This can cause problem in calculating consumer count on a remote binding by sending "CONSUMER_REMOVED" notification twice, resulting in negative consumer count.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)