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 22:59:27 UTC
[jira] [Created] (CAMEL-4359) Exception thrown during JAXB
marshalling will cause SedaConsumer to break
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
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
[jira] [Assigned] (CAMEL-4359) Exception thrown during JAXB
marshalling will cause SedaConsumer to break
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-4359:
----------------------------------
Assignee: Claus Ibsen
> 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
> Assignee: Claus Ibsen
> 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
[jira] [Resolved] (CAMEL-4359) Exception thrown during JAXB
marshalling will cause SedaConsumer to break
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4359.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.9.0
2.8.1
Thanks for the unit test.
> 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
> Assignee: Claus Ibsen
> Fix For: 2.8.1, 2.9.0
>
> 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
[jira] [Updated] (CAMEL-4359) Exception thrown during JAXB
marshalling will cause SedaConsumer to break
Posted by "Dragisa Krsmanovic (JIRA)" <ji...@apache.org>.
[ 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