Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 75257 invoked from network); 20 Nov 2009 20:50:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 20:50:16 -0000 Received: (qmail 65965 invoked by uid 500); 20 Nov 2009 20:50:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 65924 invoked by uid 500); 20 Nov 2009 20:50:16 -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 65914 invoked by uid 99); 20 Nov 2009 20:50:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 20:50:16 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 20:50:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7D48234C495 for ; Fri, 20 Nov 2009 12:49:53 -0800 (PST) Message-ID: <889333453.1258750193815.JavaMail.jira@brutus> Date: Fri, 20 Nov 2009 12:49:53 -0800 (PST) From: "Bruce Snyder (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-1105) Misuse of maxMessages when creating a connection consumer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55653#action_55653 ] Bruce Snyder commented on AMQ-1105: ----------------------------------- See the {{ActiveMQConnection.createDurableConnectionConsumer()}} and {{ActiveMQConnection.createConnectionConsumer()}} methods where {{info.setPrefetchSize(maxMessages)}} is called. I think Guillaume is saying that the {{maxMessages}} param is being misapplied. > Misuse of maxMessages when creating a connection consumer > --------------------------------------------------------- > > Key: AMQ-1105 > URL: https://issues.apache.org/activemq/browse/AMQ-1105 > Project: ActiveMQ > Issue Type: Improvement > Components: Connector > Reporter: Guillaume Nodet > Fix For: 5.4.0 > > > It seems the maxMessages given to the connection when creating a connection consumer > is usually used to allow a maximum number of messages to be dispatched for a single ServerSession > run (so the WorkManager is not exhaust by ever lasting works ?). > Currently, this parameter is used to indicate the destination prefetch size. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.