qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6088) [Java Client] AMQP 0-8/8/9-1 prefetch should auto expand when receive is called in a situation where the prefetch buffer is full
Date Mon, 08 Sep 2014 15:37:28 GMT
Rob Godfrey created QPID-6088:
---------------------------------

             Summary: [Java Client] AMQP 0-8/8/9-1 prefetch should auto expand when receive
is called in a situation where the prefetch buffer is full
                 Key: QPID-6088
                 URL: https://issues.apache.org/jira/browse/QPID-6088
             Project: Qpid
          Issue Type: Improvement
          Components: Java Client
            Reporter: Rob Godfrey
            Assignee: Rob Godfrey


0-8/9/9-1 controls the message prefetch on a per-session basis... however space if not freed
in the prefetch buffer until messages are acknowledged/committed.

In the case of client-ack / transactional messaging setting the prefetch value to a low number
(e.g. 1) and then attempting to receive() multiple messages can lead to an effective deadlock
whereby the client is waiting for a message that cannot come because the prefetch buffer is
"full".

In the case where the client is explicitly calling receive() through the API we should expand
the prefetch buffer in an attempt to meet their request for new messages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message