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

Christian Kalkhoff updated CAMEL-12452:
---------------------------------------
    Description: 
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.

  was:
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 active stack traces.


> 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: Bug
>         Environment: Camel 2.21.0
>            Reporter: Christian Kalkhoff
>            Priority: Major
>
> 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.3#76005)

Reply via email to