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 2022/09/02 11:08:00 UTC

[jira] [Resolved] (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 resolved CAMEL-12452.
---------------------------------
    Resolution: Won't Fix

> 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
(v8.20.10#820010)