Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA4FA178FE for ; Fri, 13 Mar 2015 22:21:47 +0000 (UTC) Received: (qmail 22278 invoked by uid 500); 13 Mar 2015 22:21:47 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 22224 invoked by uid 500); 13 Mar 2015 22:21:47 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 22025 invoked by uid 99); 13 Mar 2015 22:21:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2015 22:21:47 +0000 Date: Fri, 13 Mar 2015 22:21:47 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-5661) AMQP: Honor receiver flow as the true prefetch value on a link. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQ-5661. ------------------------------- Resolution: Fixed Link credit now configures subscription prefetch. Old prefetch value on the AMQP transport connector is now unused and deprecated and will be removed in a future release. > 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)