You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2015/03/13 23:10:40 UTC

[jira] [Created] (AMQ-5661) AMQP: Honor receiver flow as the true prefetch value on a link.

Timothy Bish created AMQ-5661:
---------------------------------

             Summary: 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.1, 5.11.0
            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)