Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 98420 invoked from network); 7 Jul 2006 00:14:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2006 00:14:36 -0000 Received: (qmail 98530 invoked by uid 500); 7 Jul 2006 00:14:35 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 98504 invoked by uid 500); 7 Jul 2006 00:14:35 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 98490 invoked by uid 99); 7 Jul 2006 00:14:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 17:14:35 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 17:14:34 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Fydz3-0002xx-UQ for activemq-users@geronimo.apache.org; Thu, 06 Jul 2006 17:14:13 -0700 Message-ID: <5209682.post@talk.nabble.com> Date: Thu, 6 Jul 2006 17:14:13 -0700 (PDT) From: Kuppe To: activemq-users@geronimo.apache.org Subject: Re: Message queue is filled up. In-Reply-To: <5195061.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: kuppe@360t.com X-Nabble-From: Kuppe References: <5193299.post@talk.nabble.com> <5194586.post@talk.nabble.com> <5195061.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N My sincere apologies, it seems that the "Message queue is filled up" error message is not coming from ActiveMQ at all. It is coming from my own framework that is not able to process the number of messages being delivered by ActiveMQ:) Due to limitations in our previous messaging solution, I have an incoming and outgoing queue for receiving and sending messages implemented in my framework. As i am now using async dispatch and async sending, these queues are somehow redundant. At the same time, the throughput of my framework also seems to be somewhat limited with all the context switching and processing. Accordingly I would like to reduce this complexity by removing my framework queues and rely entirely on the async dispatch/send that is implemented in ActiveMQ. Is this an approach that you would recommend? At the same time, my framework does offer me control as to how many threads are processing the messages in these two receive and send queues. If I am to replace my framework queues with the async functionality of ActiveMQ, i would like to know the answer to the following two related questions; Q1: When using async send, is this doing the message sending in another thread context? If so, is there any configuration options for limiting the number of threads processing the sending of messages? What is the default algorithm for the number of sending threads - one per session, producer??? Q2: In line with Q1, if i am using async dispatch, is this doing the message dispatching in another thread context? If so, is there any configuration options for limiting the number of threads processing the dispatching of messages? What is the default algorithm for the number of dispatchin threads - one per session, consumer??? Thanks in advance. -- View this message in context: http://www.nabble.com/Message-queue-is-filled-up.-tf1898400.html#a5209682 Sent from the ActiveMQ - User forum at Nabble.com.