Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 40887 invoked from network); 22 Jun 2006 10:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2006 10:40:54 -0000 Received: (qmail 10408 invoked by uid 500); 22 Jun 2006 10:40:53 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 10391 invoked by uid 500); 22 Jun 2006 10:40:53 -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 10382 invoked by uid 99); 22 Jun 2006 10:40:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jun 2006 03:40:53 -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, 22 Jun 2006 03:40:51 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FtMbv-0001DD-Ix for activemq-users@geronimo.apache.org; Thu, 22 Jun 2006 03:40:31 -0700 Message-ID: <4990783.post@talk.nabble.com> Date: Thu, 22 Jun 2006 03:40:31 -0700 (PDT) From: Gregw To: activemq-users@geronimo.apache.org Subject: Re: Message sending in ajax client In-Reply-To: <4990054.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: gregw@mortbay.com X-Nabble-From: Gregw References: <4937157.post@talk.nabble.com> <4937607.post@talk.nabble.com> <4937769.post@talk.nabble.com> <4950011.post@talk.nabble.com> <4956383.post@talk.nabble.com> <4956729.post@talk.nabble.com> <4964793.post@talk.nabble.com> <4971376.post@talk.nabble.com> <4989965.post@talk.nabble.com> <4990054.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 Imran, can you try trunk now? I have improved _amq.js so that it will only have a single outstanding send at any given time. This prevents two connections being used and some messages overtaking other messages. The side effect of this is that you get much better batching of messages.... eg if you send 10 messages in a loop, the first will be sent immediately and the other 9 will be batched and sent together when the first message is confirmed. -- View this message in context: http://www.nabble.com/Message-sending-in-ajax-client-t1811609.html#a4990783 Sent from the ActiveMQ - User forum at Nabble.com.