Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 51306 invoked from network); 10 Feb 2010 12:47:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 12:47:13 -0000 Received: (qmail 85477 invoked by uid 500); 10 Feb 2010 12:47:13 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 85436 invoked by uid 500); 10 Feb 2010 12:47:13 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 85423 invoked by uid 99); 10 Feb 2010 12:47:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 12:47:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gnodet@gmail.com designates 209.85.220.216 as permitted sender) Received: from [209.85.220.216] (HELO mail-fx0-f216.google.com) (209.85.220.216) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 12:47:02 +0000 Received: by fxm8 with SMTP id 8so7823268fxm.6 for ; Wed, 10 Feb 2010 04:46:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=4dMjFWxe96ImN7PDSULTiYwXgjt4QsxwZwFFNDKaPwU=; b=bhmMY/5sxsbgnW90+DohAG8or6ncw1VtnUVP++GDseFOrAR9FGIJqPW/NVQeu0FNTM jlA4c3cbZ0JHPORhY+bI8MX1OLRhXhIfMWi9MjNBH5DHGt2E7JQp8wNcoY57NnmQvGpm HTckJjsus9j1AIRA/cvs6KH0oTpZ1kOxhc9VQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=p6bvp+r+8HfSkz73Yn5wckcY/YRXDQFd7XUt+cu3rGIBNARj/7mFJ4LyrNndeCaDlh iajLqjyrKJN2fDxdQvWk5nnXAVvt46cVTS264+D5xMs5xWw6Jo90asqjoB3Z2+nfRTB/ qafnLXNBmLWR9eP8LrmktY4lZiiUPfDBIo2NU= MIME-Version: 1.0 Received: by 10.102.248.30 with SMTP id v30mr143269muh.98.1265806002324; Wed, 10 Feb 2010 04:46:42 -0800 (PST) In-Reply-To: <27530587.post@talk.nabble.com> References: <36e91d9d0906100731s52659f0dy2984da9ad574e25c@mail.gmail.com> <27530587.post@talk.nabble.com> Date: Wed, 10 Feb 2010 13:46:42 +0100 Message-ID: Subject: Re: OSGi Integration From: Guillaume Nodet To: dev@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Could you try to run the following command: features:install spring-dm then restart (to make sure all optional imports on spring are wired correct= ly). On Wed, Feb 10, 2010 at 13:40, srinidandi wrote: > > Hi, > > I am trying to make ActiveMQ + camel work with Apache Felix Karaf 1.2.0, = and > for this have deployed activemq and its dependencies in Karaf. > > I have set up a simple camel route using spring dsl that reads a queue an= d > writes it to a bean as below. > > > =A0 =A0 =A0 > =A0 =A0 =A0 > > > and have also defined the activemq bean in the same xml as below > > class=3D"org.apache.activemq.camel.component.ActiveMQComponent"> > =A0 > > > On deploying the application bundle (the bundle has the activenmq related > package in the import) I get the following exception at run time. > > > karaf@root> Exception in thread "SpringOsgiExtenderThread-4" > org.springframework > .beans.factory.BeanCreationException: Error creating bean with name > 'activemq' d > efined in URL [bundle://384.0:0/META-INF/spring/camelContext.xml]: Error > setting > =A0property values; nested exception is > org.springframework.beans.PropertyBatchUpd > ateException; nested PropertyAccessExceptions (1) are: > PropertyAccessException 1: > org.springframework.beans.MethodInvocationException: > Property 'brokerURL' threw exception; nested exception is > java.lang.NoClassDefFo > undError: org/springframework/context/Lifecycle > > > Can you please let me know if I am missing anything? > > Thanks > > > Dejan Bosanac wrote: >> >> Hi all, >> >> just put up an article explaining how to deploy and run ActiveMQ broker >> and >> web console in Apache Karaf and ServiceMix. >> >> http://www.nighttale.net/activemq/activemq-osgi-integration.html >> >> Cheers >> -- >> Dejan Bosanac >> >> Open Source Integration - http://fusesource.com/ >> ActiveMQ in Action - http://www.manning.com/snyder/ >> Blog - http://www.nighttale.net >> >> >> ----- >> Dejan Bosanac >> >> Open Source Integration - http://fusesource.com/ >> ActiveMQ in Action - http://www.manning.com/snyder/ >> Blog - http://www.nighttale.net >> > > -- > View this message in context: http://old.nabble.com/OSGi-Integration-tp23= 963942p27530587.html > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. > > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com