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

CDI Transaction Handler does not handle properties from DefaultErrorHandlerBuilder

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.21.0
    • Fix Version/s: Future
    • Component/s: camel-cdi
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated: