activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-6422) AMQP - flow(1) without a dispositon can lead to blocked receive
Date Thu, 08 Sep 2016 09:46:20 GMT

    [ https://issues.apache.org/jira/browse/AMQ-6422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15473344#comment-15473344
] 

Gary Tully edited comment on AMQ-6422 at 9/8/16 9:45 AM:
---------------------------------------------------------

[~tabish121] I have a variant of (added in some send threads)  org.apache.activemq.transport.amqp.interop.AmqpSendReceiveTest#testReceiveMessageAndRefillCreditBeforeAcceptOnQueue
that can't get past 3 iterations.
optimizeDispatch=true sorts it, but that is too general a solution.



was (Author: gtully):
[~tabish121] I have a variant of (added in some send threads)  org.apache.activemq.transport.amqp.interop.AmqpSendReceiveTest#testReceiveMessageAndRefillCreditBeforeAcceptOnQueue
that can't get past 3 iterations.
working through that. something not right with the prefetch values seen during dispatch.

> AMQP - flow(1) without a dispositon can lead to blocked receive
> ---------------------------------------------------------------
>
>                 Key: AMQ-6422
>                 URL: https://issues.apache.org/jira/browse/AMQ-6422
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: AMQP
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>
> Setting prefetch based on the credit can get in a knot if the credit is small and the
dispositions are outstanding.
> The prefetch gets set to 1, but with an inflight message, there is nothing dispatched
b/c the sub looks full.



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

Mime
View raw message