Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3232

fetch(timeout=0) does not behave as expected on receiver with capacity=1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10
    • Fix Version/s: 0.11
    • Component/s: Python Client
    • Labels:
      None

      Description

      Fill a queue up with some messages (some > 1). Create a receiver with capacity=1. Call fetch() in a loop with timeout=0.

      Expect to get all the messages that were on the queue to start with. Only get the first message.

      It appears to be a result of the client not restoring its credit correctly after the first flush.

        Attachments

          Activity

            People

            • Assignee:
              gsim Gordon Sim
              Reporter:
              gsim Gordon Sim
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: