You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Michael Riedel (JIRA)" <ji...@apache.org> on 2015/09/23 15:42:04 UTC

[jira] [Updated] (CAMEL-9153) ThreadPoolRejectedPolicy does not implement Abort as expected

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

Michael Riedel updated CAMEL-9153:
----------------------------------
    Description: 
Not sure if this is a bug or just a documentation flaw (in fact I could not find documentation for it). Nevertheless, as a naive user, I kind of expected that the {{RejectedExecutionHandler}} of {{ThreadPoolRejectedPolicy.Abort}} would have similar semantics as Java's {{ThreadPoolExecutor.AbortPolicy}}. That is, I expected it to throw an {{Exception}}.

Currently (that is in the 2.15.2 release, and on the master branch in git) that is not the case. In fact, {{Abort}} seems to work exactly the same way as {{Discard}}.

  was:
Not sure if this is a bug or just a documentation flaw (in fact I could not find documentation for it). Nevertheless, as a naive user I kind of expected that the {{RejectedExecutionHandler}} of {{ThreadPoolRejectedPolicy.Abort}} would have similar semantics as Java's {{ThreadPoolExecutor.AbortPolicy}}. That is, I expected it to throw an {{Exception}}.

Currently (that is in the 2.15.2 release, and on the master branch in git) that is not the case. In fact, {{Abort}} seems to work exactly the same way as {{Discard}}.


> ThreadPoolRejectedPolicy does not implement Abort as expected
> -------------------------------------------------------------
>
>                 Key: CAMEL-9153
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9153
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Michael Riedel
>
> Not sure if this is a bug or just a documentation flaw (in fact I could not find documentation for it). Nevertheless, as a naive user, I kind of expected that the {{RejectedExecutionHandler}} of {{ThreadPoolRejectedPolicy.Abort}} would have similar semantics as Java's {{ThreadPoolExecutor.AbortPolicy}}. That is, I expected it to throw an {{Exception}}.
> Currently (that is in the 2.15.2 release, and on the master branch in git) that is not the case. In fact, {{Abort}} seems to work exactly the same way as {{Discard}}.



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