Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4082

Refactor network bridge start/stop to reduce async tasks and synchronisation - it is way to complicated atm

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.8.0
    • Broker
    • None

    Description

      sequence of events on a start is way to random as a result of many async tasks.
      It should/could be very simple.

      start remote transport
      wait for remote broker info
      start local transport and local bridge
      start remote bridge

      it is all or nothing w.r.t to success or failure.

      we have sufficient tests in place to safely do the refactor at this stage.

      There have been many bugs in this area and there are still some outstanding

      https://issues.apache.org/jira/browse/AMQ-3993

      Attachments

        1. AMQ4082Patch.txt
          23 kB
          Timothy A. Bish
        2. AMQ4082Patch.txt
          51 kB
          Timothy A. Bish
        3. AMQ4082Patch.txt
          52 kB
          Timothy A. Bish
        4. AMQ4082Patch.txt
          45 kB
          Timothy A. Bish
        5. AMQ4082Patch.txt
          44 kB
          Timothy A. Bish
        6. AMQ4082Patch.txt
          43 kB
          Timothy A. Bish

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: