camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9153) ThreadPoolRejectedPolicy does not implement Abort as expected
Date Thu, 24 Sep 2015 14:12:05 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-9153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906391#comment-14906391
] 

Claus Ibsen commented on CAMEL-9153:
------------------------------------

Thanks I have put this onto the roadmap for 2.16 release.

> ThreadPoolRejectedPolicy does not implement Abort as expected
> -------------------------------------------------------------
>
>                 Key: CAMEL-9153
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9153
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Michael Riedel
>            Priority: Minor
>             Fix For: 2.16.0
>
>         Attachments: ThreadPoolRejectedPolicy-Abort.patch, ThreadPoolRejectedPolicy-AbortNonRejectable.patch
>
>
> 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)

Mime
View raw message