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

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2013.01
    • Component/s: servicemix-shared
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: