Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 77414 invoked from network); 17 Aug 2010 13:54:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Aug 2010 13:54:18 -0000 Received: (qmail 46718 invoked by uid 500); 17 Aug 2010 13:54:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 46427 invoked by uid 500); 17 Aug 2010 13:54:16 -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 46416 invoked by uid 99); 17 Aug 2010 13:54:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Aug 2010 13:54:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL 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; Tue, 17 Aug 2010 13:54:09 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OlMbs-0008P4-Db for users@activemq.apache.org; Tue, 17 Aug 2010 06:53:48 -0700 Message-ID: <29449265.post@talk.nabble.com> Date: Tue, 17 Aug 2010 06:53:48 -0700 (PDT) From: BenXS To: users@activemq.apache.org Subject: How to let ONE bean listen on MULTIPLE Topics? SpringXML config in activemq.xml MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bxstover@yahoo.co.uk I setup a Bean which currently listens successfully to exactly ONE Topic "montopic20". The SpringXML setup for this bean in activemq.xml is as shown below. How can I let the same Bean listen to multiple different topics in parallel? In other words: Which minimal changes do I have to apply to the SpringXML config below to listen e.g. to a second topic "montopic35" as well? Can I simply add a second ? Or do I really have to setup a bean twice with full SpingXML declaration again? Ben -- View this message in context: http://old.nabble.com/How-to-let-ONE-bean-listen-on-MULTIPLE-Topics--SpringXML-config-in-activemq.xml-tp29449265p29449265.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.