You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/01/18 12:04:35 UTC

[jira] [Commented] (CAMEL-7050) camel-jms drops messages when errorHandler throws an exception

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

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

This is not really a bug, as you use a DLC which will handle the exception. If you want to use transactions from the AMQ broker, then do not use Camel's DLC. 

> 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: Willem Jiang
>             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)