Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EE40701F for ; Mon, 7 Nov 2011 14:54:25 +0000 (UTC) Received: (qmail 77528 invoked by uid 500); 7 Nov 2011 14:54:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 77503 invoked by uid 500); 7 Nov 2011 14:54:24 -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 77495 invoked by uid 99); 7 Nov 2011 14:54:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 14:54:24 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of baetz.alexander@googlemail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2011 14:54:18 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RNQaD-0001Ks-UE for users@activemq.apache.org; Mon, 07 Nov 2011 06:53:57 -0800 Date: Mon, 7 Nov 2011 06:53:57 -0800 (PST) From: Laures To: users@activemq.apache.org Message-ID: <1320677637924-3998892.post@n4.nabble.com> Subject: destroy-method not executed on ActiveMQ shutdown MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, i have embedded an additional component into activemq by adding a bean configuration to the activemq.xml config. now when activemq is started a bean for my component is created and initialized with the configured init-method. BUT when activemq is stopped the destroy-method is not executed. my config: ...broker config... -- View this message in context: http://activemq.2283324.n4.nabble.com/destroy-method-not-executed-on-ActiveMQ-shutdown-tp3998892p3998892.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.