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 2019/08/06 12:53:00 UTC

[jira] [Updated] (CAMEL-12452) CDI Transaction Handler does not handle properties from DefaultErrorHandlerBuilder

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

Claus Ibsen updated CAMEL-12452:
--------------------------------
    Fix Version/s: Future

> CDI Transaction Handler does not handle properties from DefaultErrorHandlerBuilder
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-12452
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12452
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cdi
>    Affects Versions: 2.21.0
>            Reporter: Christian Kalkhoff
>            Priority: Major
>             Fix For: Future
>
>
> JtaTransactionErrorHandlerBuilder extends DefaultErrorHandlerBuilder which has a lot of properties like logStackTrace.
> Therefor those properties can be configured for JtaTransactionErrorHandlerBuilder but have no further effect:
> {code:java}
> errorHandler(transactionErrorHandler().logStackTrace(true));{code}
> I understand that org.apache.camel.cdi.transaction.TransactionErrorHandler is based on the Spring version WITHOUT the redelivery. Since those properties are delegated to RedeliveryPolicy the supervised behaviour is understandable, yet the org.apache.camel.cdi.transaction.TransactionErrorHandler should provide a way to activate stack traces.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)