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

Message flow to synchronous consumer from Qpid Java broker unexpectedly ceases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • qpid-jms-client
    • None

    Description

      Testing the Qpid JMS Client together with the Java Broker + Perftest framework reveals a problem. Message flow to one or more consumers sometimes ceases unexpectedly.

      In the failure case, the Java Broker reports that the consumer has been is suspended (SUB-1003 messages) for an extended period, even though there are messages remaining on the queue. Investigation of a heap dump reveals that the last flow frame to be received from the client:

      • deliveryCount value which matched the deliveries sent by the Broker.
      • linkCredit zero
      • drain true.

      The Broker thus believes no more credit remains and suspends the consumer.

      0.6.0 is affected. 0.7.0-SNAPSHOT is too. Rolling back to client 0.5.0 resolves the problem, as does setting jms.receiveLocalOnly in the connection url with 0.6.0 or the 0.7.0 SNAPSHOT.

      There are more details on regard the reproduction on QPID-6863. Problem would not manifest with debug logging turned on.

      Attachments

        Issue Links

          Activity

            People

              robbie Robbie Gemmell
              kwall Keith Wall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: