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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: