From users-return-19106-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Mon May 18 08:33:23 2009 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 73729 invoked from network); 18 May 2009 08:33:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 May 2009 08:33:22 -0000 Received: (qmail 4141 invoked by uid 500); 18 May 2009 08:33:22 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 4086 invoked by uid 500); 18 May 2009 08:33:22 -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 4076 invoked by uid 99); 18 May 2009 08:33:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 08:33:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DEAR_SOMETHING,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Mon, 18 May 2009 08:33:11 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1M5yHD-0008Bh-56 for users@activemq.apache.org; Mon, 18 May 2009 01:32:51 -0700 Message-ID: <23593255.post@talk.nabble.com> Date: Mon, 18 May 2009 01:32:51 -0700 (PDT) From: JS75 To: users@activemq.apache.org Subject: How to know whether embedded broker is stoped? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jean_su@aboveE.com X-Virus-Checked: Checked by ClamAV on apache.org Dear Sir: Here is my scenario - multi-producers and multi-consumers in the same application. I am sure all consumers and producers are closed before I close the application. And please note that I close the application by terminate JVM. (so I may not close broker properly?) So sometimes I found some messages lost and I am sure my producer has sent to queue. (use asyn send) I try to make thread sleep for 5 minutes and it reduces happening. But I need to know the correct solution of how to close embedded MQ properly (after its internal work). pleasure for your reply :-) -- View this message in context: http://www.nabble.com/How-to-know-whether-embedded-broker-is-stoped--tp23593255p23593255.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.