camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Resolved] (CAMEL-10660) InterruptedException not handled by RedeliveryErrorHandler
Date Thu, 05 Jan 2017 08:54:58 GMT


Claus Ibsen resolved CAMEL-10660.
    Resolution: Won't Fix
      Assignee: Claus Ibsen

This is by design currently. 

> InterruptedException not handled by RedeliveryErrorHandler
> ----------------------------------------------------------
>                 Key: CAMEL-10660
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.16.3
>            Reporter: Ralf Steppacher
>            Assignee: Claus Ibsen
> It appears that if the exception on an {{Exchange}} is of type {{InterruptedException}}
or if any exception in the cause-chain is of that type, then that exception is completely
ignored by the {{RedeliveryErrorHandler}}. Possibly because it is assumed that any {{InterruptedException}}
would have been raised is due to a Camel context shutdown?
> See {{RedeliveryErrorHandler::isDone(Exchange exchange}}.
> It would be great if {{InterruptedException}} not associated with the Camel context life-cycle
could be treated like any other exception (logging, re-delivery, etc.). As it is now they
are neither logged nor handled, which might obscure problems in application code.

This message was sent by Atlassian JIRA

View raw message