You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Dragisa Krsmanovic (JIRA)" <ji...@apache.org> on 2011/08/19 23:03:27 UTC

[jira] [Updated] (CAMEL-4359) Exception thrown during JAXB marshalling will cause SedaConsumer to break

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

Dragisa Krsmanovic updated CAMEL-4359:
--------------------------------------

    Attachment: CAMEL-4359.patch

I am adding unit test that demonstrates the problem.

> Exception thrown during JAXB marshalling will cause SedaConsumer to break
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-4359
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4359
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jaxb
>    Affects Versions: 2.8.0
>            Reporter: Dragisa Krsmanovic
>         Attachments: CAMEL-4359.patch
>
>
> Error handler tries to add message body to error log. If it tries to use JAXB type converter and marshalling throws exception, the exception is thrown all the way back to SedaConsumer. SedaConsumer will then retry to create error message in the same way until the point where exception is not handled any more and SedaConsumer loop breaks off.
> One single bad message can stop Seda route.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira