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

Do not start JMS Bridge if foreign or local connection is failed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 5.6.0
    • NEEDS_REVIEW
    • Broker
    • None

    Description

      Have 2 JMSConnectors with one JMS Bridge in each.
      Both having the same local JMSQueue and different remote JMSQueues.

      When start connector, one remote connection fails and it's reconnect is scheduled.
      However, the corresponding Bridge is started. So, we have the following behaviour:

      1) JMS Message is published in ocal JMSQueue;
      2) As Queue has 2 consumers, it can be processed by any of them;
      3) If the broken bridge (without foreign connection) is selected, then message will be not processed until the connection succeeds.

      We believe that this is wrong behaviour, as JMS messages are not processed, even if there is one proper brigde exists on local queue.

      We expect the following behaviour:
      When foreign (or local) connection fails, do not start corresponding bridges.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jakky Yana G
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: