Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 64886 invoked from network); 9 Jan 2007 22:56:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2007 22:56:26 -0000 Received: (qmail 75107 invoked by uid 500); 9 Jan 2007 22:56:32 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 75092 invoked by uid 500); 9 Jan 2007 22:56:31 -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 75083 invoked by uid 99); 9 Jan 2007 22:56:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 14:56:31 -0800 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 (herse.apache.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; Tue, 09 Jan 2007 14:56:21 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H4Psv-0003Kc-3j for activemq-users@geronimo.apache.org; Tue, 09 Jan 2007 14:56:01 -0800 Message-ID: <8248579.post@talk.nabble.com> Date: Tue, 9 Jan 2007 14:56:01 -0800 (PST) From: nlif To: activemq-users@geronimo.apache.org Subject: Re: How to Pause/Resume a MessageListener? In-Reply-To: <8214682.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: naaman@dbnet.co.il References: <8108249.post@talk.nabble.com> <8198792.post@talk.nabble.com> <45A1A673.4020903@exist.com> <8214166.post@talk.nabble.com> <8214262.post@talk.nabble.com> <8214566.post@talk.nabble.com> <8214682.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Well, it took some time but I've got it to work. What needs to be done is calling destroy() and afterPropertiesSet() respectively for all the JCAConnectors in the ApplicationContext. This kills/creates the internal worker-thread of the JCA resourceAdapter. And there is no need to touch the JCAContainer at all. Just the connectors. Thanks for the moral support :-) -- View this message in context: http://www.nabble.com/How-to-Pause-Resume-a-MessageListener--tf2902158.html#a8248579 Sent from the ActiveMQ - User mailing list archive at Nabble.com.