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-7050) camel-jms drops messages when errorHandler throws an exception
Date Sun, 18 Jan 2015 13:47:35 GMT

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

Claus Ibsen commented on CAMEL-7050:
------------------------------------

Now by default with the DLC Camel will log a WARN about that the new exception is being handled
also. You can then turn off handling new exception on the DLC so the transaction can rollback.
And the WARN logging can be turned off with logNewException option.

And add those options to XML DSL as well.

- deadLetterHandleNewException (default = true)
- logNewException (default = true)


> camel-jms drops messages when errorHandler throws an exception
> --------------------------------------------------------------
>
>                 Key: CAMEL-7050
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7050
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.11.0, 2.14.0
>            Reporter: Øyvind Ingebrigtsen Øvergaard
>            Assignee: Claus Ibsen
>             Fix For: 2.15.0
>
>         Attachments: BadErrorHandler.java, JmsDeadLetterChannelHandlerExceptionTest.java
>
>
> When using camel-jms, messages are dropped when an exception is thrown in the deadLetterChannel
error handler.
> See the attached failing unit test.
> Verified against 2.11 and HEAD



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

Mime
View raw message