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

receiveNoWait hangs when broker is down, using failover and prefetch=0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.6.0
    • 5.7.0
    • None
    • None

    Description

      I have a connection set up using failover and queuePrefetch=0. I create a consumer, stop the broker, and call receiveNoWait.

      I would expect this to return/throw immediately; instead it hangs. Without failover or with a non-zero prefetch it works as expected.

      Attachments

        1. AMQ3932Test.java
          3 kB
          Andrew McDonnell

        Activity

          People

            tabish Timothy A. Bish
            amcdonne Andrew McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: