Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-316

Unable to receive any messages after re-starting message broker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.2.0, 3.2.1, 3.2.2, 3.2.3
    • 3.2.4, 3.3.0
    • CMS Impl
    • None
    • Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1

    Description

      We developed two applications that use CmsTemplate to send and receive messages. The sender application is called MessageSender, and the receiver application is called MessageListener. We found that the MessageListener is unable to receive any messages after we re-start the message broker.

      The followings are the steps to recreate the problem:
      (1) start the activemq message broker,
      (2) start MessageListener and MessageSender, and observe that messages are being sent and received successfully.
      (3) stop the message broker without stopping MessageListener and MessageSender. Wait for a while (for about a minute or two)
      (4) start the message broker again.

      We expect we can send and receive messages successfully after step (4), but the MessageListener can never receive any messages any more. Also from the activemq admin page, we find that the consumer of the topic is gone. We did the test with url "?keepAlive=true&wireFormat.maxInactivityDuration=0", but it did not work.

      Attachments

        1. ReconnectionTest-new.zip
          4.54 MB
          Huang Hua
        2. ReconnectionTest.zip
          9 kB
          Huang Hua

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              hhuang Huang Hua
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: