You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (Jira)" <ji...@apache.org> on 2019/08/26 15:45:02 UTC

[jira] [Closed] (ARTEMIS-2392) Enable remove on cancel policy for scheduled pool

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

clebert suconic closed ARTEMIS-2392.
------------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed

> Enable remove on cancel policy for scheduled pool
> -------------------------------------------------
>
>                 Key: ARTEMIS-2392
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2392
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.9.0
>            Reporter: Domenico Bruscino
>            Priority: Major
>             Fix For: 2.10.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> When a submitted task is cancelled before it is run, execution is suppressed. By default, such a cancelled task is not automatically removed from the work queue until its delay elapses. While this enables further inspection and monitoring, it may also cause unbounded retention of cancelled tasks. To avoid this, set remove on cancel policy to true, which causes tasks to be immediately removed from the work queue at time of cancellation.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)