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

Polling consumer (prefetch size = 0) fails to reconnect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.4.1
    • Broker, JMS client
    • None
    • Reproduced on Windows XP 32 bit and Fedora 12 64bit.

    Description

      Scenario:
      1. Configure polling consumer (prefetch=0), with onMessage()-style processing, e.g. with Spring's DefaultMessageListenerContainer.
      2. Restart broker.
      3. Notice consumer does not consumer messages anymore.

      In client application this may show up during short network interruptions as reconnect message in logs/console + processing stoppage.

      See http://old.nabble.com/ActiveMQ-reconnect-issue-with-consumer.prefetchSize%3D0-td27574923.html for more context.

      Attachments

        1. AMQ-2612-test.patch
          5 kB
          Pavel Grushetzky

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pagrus Pavel Grushetzky
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: