Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-464

zero prefetch receive can hang if timeout reached whilst message is partially transferred

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.43.0
    • 0.44.0
    • qpid-jms-client
    • None

    Description

      When a receive with timeout call is made and the client configured to use zero prefetch, the client issues a credit, waits for a message to arrive, and if one doesn't in the given time it drains the credit to either get a message or ensure there is none available and remove the credit. If the message is already partially transferred (i.e it is multi-framed and so likely a larger message) at this point the client knows it doesn't need to drain, but the way it handles this triggers a later mishandling of completing the receive request when the message arrives.

      Some related comments can be found here onwards.

      Attachments

        Issue Links

          Activity

            People

              robbie Robbie Gemmell
              robbie Robbie Gemmell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: