You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/10/22 22:24:34 UTC

[jira] [Updated] (AMQ-5371) ignoreNetworkConsumers should be available in AbortSlowConsumerStrategy

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

Timothy Bish updated AMQ-5371:
------------------------------
    Attachment: AMQ5371.patch

This should do what you are looking for.  What we need is some tests around this feature, if you want to work up some we could look at getting this in.  

> ignoreNetworkConsumers should be available in AbortSlowConsumerStrategy
> -----------------------------------------------------------------------
>
>                 Key: AMQ-5371
>                 URL: https://issues.apache.org/jira/browse/AMQ-5371
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.9.0
>            Reporter: Tim Bain
>            Priority: Minor
>         Attachments: AMQ5371.patch
>
>
> When AbortSlowAckConsumerStrategy.ignoreNetworkConsumers was introduced in https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=77bcffc9, its placement in AbortSlowAckConsumerStrategy means it can't be used with AbortSlowConsumerStrategy.  Without it, abortConnection="true" causes the broker-to-broker network connectors to be aborted but not re-established, as described in http://irclogs.dankulp.com/logs/irclogger_log/activemq?date=2013-09-16,Mon&text=off, http://activemq.2283324.n4.nabble.com/Dropping-slow-consumers-td4671468.html, and http://activemq.2283324.n4.nabble.com/abortConnection-quot-true-quot-td4685674.html.
> AbortSlowConsumerStrategy would benefit from being able to use this flag, so it should be moved up, and the AbortSlowConsumerStrategy code should be updated to use it, and to allow it to be set via the XML config.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)