Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-279

AsyncBaseLifeCycle.pollDeliveryChannel() invokes processExchangeInTx when exchange is not in transaction.

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • fuse-esb-7.1.0
    • fuse-esb-7.0.0, fuse-esb-7.0.1, fuse-esb-7.0.2
    • None
    • Todo

      AsyncBaseLifeCycle. pollDeliveryChannel() calls processExchangeInTx regardless of exchange being in Transaction or not. After looking at the code it seems it does take care of both cases however, it would be easier to separate it and handle it separately than adding too many "if" condition for transaction check when the exchange is non-transacted.

      This also confuses the users when they see some failures and exception stack trace shows reference to transaction.

      It would be good to have it separated as it won't harm much in terms of performance and will be much better in case of failure stack trace analysis.

              yfang@redhat.com Freeman(Yue) Fang
              ubhole Ulhas Bhole (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: