Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-951

refector AsyncBaseLifeCycle to avoid call into processExchangeInTx even the Exchange has no Transaction property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2013.01
    • servicemix-shared
    • None

    Description

      AsyncBaseLifeCycle always calls processExchangeInTx regardless of exchange being in Transaction or not, though in processExchangeInTx code it covers both with or without Transaction cases, this can still confuse end user in case of failure stack trace analysis.
      Should add another method like processExchangeWithoutTx which take care of no Transaction case, and check if(tx == null) then call into different method in different cases

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: