Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 68600 invoked from network); 28 Jul 2006 03:35:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2006 03:35:43 -0000 Received: (qmail 95683 invoked by uid 500); 28 Jul 2006 03:35:43 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 95664 invoked by uid 500); 28 Jul 2006 03:35:42 -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 95655 invoked by uid 99); 28 Jul 2006 03:35:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 20:35:42 -0700 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 (asf.osuosl.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; Thu, 27 Jul 2006 20:35:41 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1G6J8D-00012F-6T for activemq-users@geronimo.apache.org; Thu, 27 Jul 2006 20:35:21 -0700 Message-ID: <5533222.post@talk.nabble.com> Date: Thu, 27 Jul 2006 20:35:21 -0700 (PDT) From: jcarreira To: activemq-users@geronimo.apache.org Subject: Re: ActiveMQ with Spring 2.0? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: jcarreira@gmail.com X-Nabble-From: jcarreira References: <5527075.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Want to share? ;-) Sanjiv Jivan wrote: > > I'm using Active MQ 4.0.1 with Spring 2.0 but have my own java bean > wrapper > for ActiveMQ configuration instead of XBean configuration. > > > > On 7/27/06, jcarreira wrote: >> >> >> Anyone using ActiveMQ 4.0.1 with Spring 2.0 ? >> >> I've found that the XBean configuration isn't usable, since it apparently >> depends on an old version of Spring. Here's the error: >> >> org.springframework.beans.factory.BeanCreationException: Error creating >> bean >> with name 'broker' defined in class path resource [jmsContext.xml]: >> Invocation of init method failed; nested exception is >> java.lang.NoClassDefFoundError: >> org/springframework/beans/factory/xml/DefaultXmlBeanDefinitionParser >> Caused by: >> java.lang.NoClassDefFoundError: >> org/springframework/beans/factory/xml/DefaultXmlBeanDefinitionParser >> at >> >> org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions >> (ResourceXmlApplicationContext.java:87) >> at >> >> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory >> (AbstractRefreshableApplicationContext.java:89) >> at >> org.springframework.context.support.AbstractApplicationContext.refresh( >> AbstractApplicationContext.java:283) >> at >> org.apache.xbean.spring.context.ResourceXmlApplicationContext.( >> ResourceXmlApplicationContext.java:64) >> at >> org.apache.xbean.spring.context.ResourceXmlApplicationContext.( >> ResourceXmlApplicationContext.java:52) >> >> Now, since I can't directly bind the "peer://" protocol on a >> BrokerService, >> and the BrokerFactoryBean only takes a config location to find the Xbean >> XML >> configuration, I'm stuck I guess... Probably have to build my own >> FactoryBean or something, which means more delays getting set up... >> -- >> View this message in context: >> http://www.nabble.com/ActiveMQ-with-Spring-2.0--tf2011356.html#a5527075 >> Sent from the ActiveMQ - User forum at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/ActiveMQ-with-Spring-2.0--tf2011356.html#a5533222 Sent from the ActiveMQ - User forum at Nabble.com.