Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 876 invoked from network); 15 Apr 2009 17:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Apr 2009 17:08:38 -0000 Received: (qmail 22341 invoked by uid 500); 15 Apr 2009 17:08:37 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 22312 invoked by uid 500); 15 Apr 2009 17:08:37 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 22302 invoked by uid 99); 15 Apr 2009 17:08:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 17:08:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 15 Apr 2009 17:08:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DF412234C003 for ; Wed, 15 Apr 2009 10:08:14 -0700 (PDT) Message-ID: <451617492.1239815294899.JavaMail.jira@brutus> Date: Wed, 15 Apr 2009 10:08:14 -0700 (PDT) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-2002) Server async jms transport needs dynamic mechanism to throttle message consumption In-Reply-To: <1839152316.1232770559952.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699281#action_12699281 ] Sergey Beryozkin commented on CXF-2002: --------------------------------------- Hmm... What I've actually found is that Spring DefaultMessageListenerContainer does not allow a 0 value for concurrentConsumers. 1 is a minimum value. Thus the only option there seems to try to limit the flow of messages by setting both concurrentConsumers and maxConcurrentConsumers to '1' - which is what the default values are. Guys, am I missing something may be ? Ron - do you use set the value of 'concurrentConsumers' in production to the one which is bigger than 1 ? If so then limiting the flow might do the trick, otherwise I'm not sure what else can be done Thoughts ? > Server async jms transport needs dynamic mechanism to throttle message consumption > ---------------------------------------------------------------------------------- > > Key: CXF-2002 > URL: https://issues.apache.org/jira/browse/CXF-2002 > Project: CXF > Issue Type: Improvement > Components: Transports > Affects Versions: 2.0.9, 2.1.3, 2.0.10 > Reporter: Ron Gavlin > Assignee: Sergey Beryozkin > Fix For: 2.2.1 > > > Currently, the server-side async jms transport has no mechanism to throttle consumption of incoming messages. This becomes problematic in scenarios where a large backlog of messages exists on the input queue. In this case, it is likely that the cxf server will overload its internal work item queues resulting in problems. A dynamic throttling mechanism on the async jms server is required to avoid this problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.