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

Need a facility to retry jms connections to a foreign provider by the ActiveMQ JMS bridge.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.6.0
    • Broker
    • None
    • Debian Lenny. ActiveMQ 5.2. OpenJMS-0.7.7-beta-1

    Description

      I followed an example (http://www.codeproject.com/KB/docview/jms_to_jms_bridge_activem.aspx?display=Print) showing how to set up a bridge between OpenJMS and ActiveMQ. The bridge seems to work perfectly until I stop then restart OpenJMS while leaving ActiveMQ running. Once I restart OpenJMS I try sending a message from it to ActiveMQ, but ActiveMQ doesn't receive it until I stop and restart ActiveMQ. I can recreate the exact same problem by starting ActiveMQ first and then OpenJMS. After a little more reading it looks like failover should fix this problem, but I tried it and it didn't work. I submitted a question to ActiveMQ and Gary Tully responded and told me there is currently no facility to retry jms connections to a foreign provider by the ActiveMQ JMS bridge.

      Assuming that remote end-points may not be using ActiveMQ then I would think this would be a very important feature to have.

      Here's a link to our conversation: http://www.nabble.com/How-to-configure-failover-for-jmsBridgeConnector-td25909047.html#a25918800
      The conversation also contains an attachment showing me configuration file.

      Attachments

        1. bridge-reconnect.patch
          3 kB
          juergen schmied
        2. test.zip
          4 kB
          juergen schmied

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              bbuzzard Billy Buzzard
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: