Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12452

CDI Transaction Handler does not handle properties from DefaultErrorHandlerBuilder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.21.0
    • Future
    • camel-cdi
    • None
    • Unknown

    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:

      errorHandler(transactionErrorHandler().logStackTrace(true));

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ckalkhoff Christian Kalkhoff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: