Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 60703 invoked from network); 5 Sep 2006 04:41:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2006 04:41:45 -0000 Received: (qmail 70901 invoked by uid 500); 5 Sep 2006 04:41:44 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 70885 invoked by uid 500); 5 Sep 2006 04:41:44 -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 70876 invoked by uid 99); 5 Sep 2006 04:41:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 21:41:44 -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; Mon, 04 Sep 2006 21:41:43 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GKSkV-0004MA-Bn for activemq-users@geronimo.apache.org; Mon, 04 Sep 2006 21:41:23 -0700 Message-ID: <6145979.post@talk.nabble.com> Date: Mon, 4 Sep 2006 21:41:23 -0700 (PDT) From: CK To: activemq-users@geronimo.apache.org Subject: C# client slows down when receiveing messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: chk@ridgecrestfinancial.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I have developed a C# windows client which receives messages from a produce= r built using JAVA. I=E2=80=99m using .NET 2.0 and ActiveMQ 4.0. I used a mes= sage listener for asynchronous communication. Client receives byte messages and extracts the =E2=80=9Ccontent=E2=80=9D and converts to string and display t= hem in a text box. That=E2=80=99s how the client works. =09Client works perfectly when message speed is low. But when number of message coming from the producer exceeds 300 per second display speed in th= e text box slows down rapidly after about 10 seconds. Mind you I have run the producer and client in separate machines. When I ran both the producer and the c# client this slowing down doesn=E2=80=99t occur. (Without using a lis= tener I developed the client with a while loop to receive messages. Then this problem was not there. ) =09If anyone can explain me what=E2=80=99s gone wrong and how to overcome t= his problem it is highly appreciated. Chanaka=20 --=20 View this message in context: http://www.nabble.com/C--client-slows-down-wh= en-receiveing-messages-tf2218852.html#a6145979 Sent from the ActiveMQ - User forum at Nabble.com.