[
https://issues.apache.org/jira/browse/AMQ-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14361187#comment-14361187
]
Timothy Bish commented on AMQ-5661:
-----------------------------------
Root cause for this related issue.
> AMQP: Honor receiver flow as the true prefetch value on a link.
> ---------------------------------------------------------------
>
> Key: AMQ-5661
> URL: https://issues.apache.org/jira/browse/AMQ-5661
> Project: ActiveMQ
> Issue Type: Sub-task
> Components: AMQP
> Affects Versions: 5.11.0, 5.11.1
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 5.12.0
>
>
> We currently don't honor the flow values sent from a receiver to indicate how
> many messages our sender can produce (prefetch) and always maintain a fixed
> value based either on a transport configuration option or the first non-zero
> flow. This is however not in keeping with how the credit model is expected
> to work in AMQP and leads to some issues with the brokers sender accepting
> messages and buffering them until the receiver sends a flow thereby
> preventing those messages from being dispatched to another receiver
> subscribed to the same destination.
> We need to honor the link credit and only dispatch when the receiver
> indicates it is willing to take messages by sending more link credit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)