[
https://issues.apache.org/jira/browse/QPID-7962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222355#comment-16222355
]
ASF subversion and git services commented on QPID-7962:
-------------------------------------------------------
Commit 0c6bc977321a94d1c44441e91d00c74f53200d40 in qpid-broker-j's branch
refs/heads/master from [~lorenz.quack]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=0c6bc97 ]
QPID-7962: [Broker-J, AMQP 1.0] In some circumstances Broker fails to send Flow
back when Flow with drain flag set is received from client.
* When message is stolen from consumer add it to the queue's list of
interested consumers
* Rename QueueConsumer# and ConsumerTarget#queueEmpty to #noMessagesAvailable.
This is now always called when we currently cannot deliver messages to this
consumer.
This can occur when
* there is no message (the queue is empty)
* existing messages do not pass through the consumer's filters
* the consumer has no credit
* there is a different consumer with higher priority and credit blocking
delivery to this lower priority consumer
The effect of this method is potential auto-close on 0-8 and potential
credit draining on 1.0.
> [Java Broker][AMQP 1.0] In some circumstances Broker fails to send Flow back
> when Flow with drain flag set is received from client
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-7962
> URL: https://issues.apache.org/jira/browse/QPID-7962
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: qpid-java-broker-7.0.0
> Reporter: Alex Rudyy
> Priority: Minor
> Fix For: qpid-java-broker-7.0.0
>
> Attachments:
> 0001-QPID-7962-Broker-J-AMQP-1.0-In-some-circumstances-Br.patch,
> TEST-org.apache.qpid.server.queue.LiveQueueOperationsTest.testClearQueueOperationWithActiveConsumerDlqAll.txt
>
>
> Occasionally when clear queue operation is invoked from management and
> {{Flow}} with {{drain}} flag is received from client concurrently, the
> {{Broker}} might not send {{Flow}} back after clearing the queue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]