Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 26308 invoked from network); 1 May 2008 20:17:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 May 2008 20:17:30 -0000 Received: (qmail 87131 invoked by uid 500); 1 May 2008 20:17:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 87091 invoked by uid 500); 1 May 2008 20:17:29 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 87056 invoked by uid 99); 1 May 2008 20:17:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2008 13:17:29 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2008 20:16:43 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JrfD7-0008FQ-65 for users@activemq.apache.org; Thu, 01 May 2008 13:16:57 -0700 Message-ID: <16995039.post@talk.nabble.com> Date: Thu, 1 May 2008 13:16:57 -0700 (PDT) From: seven_ephors To: users@activemq.apache.org Subject: Publisher can't publish after a certain number of messages are sent MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ching.kong@aero.org X-Virus-Checked: Checked by ClamAV on apache.org I am using the TopicPublisher.java code in the 5.0.0\example\src directory, with slight modifications. It seem to work pretty well, but when I have large number of messages, it always stop working after certain number of messages are published. For a BytesMessage with data size of 256X128, I can only send up to 743 message. After that, the publisher can't send any more message to the broker. In order to get it to work again, I need to ctrl-C on the ActiveMQ DOS window, and restart the broker. Since I need to publish topic continuously, I need to find solution to the problem. My questions are, 1, anyone have similar problem with a publisher? 2, What am I doing wrong? 3, What solution is there? -- View this message in context: http://www.nabble.com/Publisher-can%27t-publish-after-a-certain-number-of-messages-are-sent-tp16995039s2354p16995039.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.