Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 19117 invoked from network); 25 Oct 2007 20:43:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2007 20:43:56 -0000 Received: (qmail 73549 invoked by uid 500); 25 Oct 2007 20:43:42 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 73530 invoked by uid 500); 25 Oct 2007 20:43:42 -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 73521 invoked by uid 99); 25 Oct 2007 20:43:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 13:43:42 -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 (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; Thu, 25 Oct 2007 22:44:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Il9Y4-0002uQ-Dq for users@activemq.apache.org; Thu, 25 Oct 2007 13:43:24 -0700 Message-ID: <13415697.post@talk.nabble.com> Date: Thu, 25 Oct 2007 13:43:24 -0700 (PDT) From: mrh To: users@activemq.apache.org Subject: Stop Thread / Stop Listening MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mrhaygood@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org With the threading capabilities provided by ActiveMQ-CPP, is it possible to stop a thread? For example, if one thread starts listening for messages, is it possible for a second thread, say a command prompt to stop and shutdown the listener thread when the user types "quit" or "exit"? Thanks, mrh -- View this message in context: http://www.nabble.com/Stop-Thread---Stop-Listening-tf4693571s2354.html#a13415697 Sent from the ActiveMQ - User mailing list archive at Nabble.com.