Ognian wrote:
> I'm trying to use camel with activemq on karaf 1.2
> 
> I've loaded the following features:
> features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.2.0/xml/features
> features:addUrl
> mvn:org.apache.activemq/activemq-karaf/5.4-SNAPSHOT/xml/features
> 
> 
> installing camel-osgi and/or camel-spring-osgi goes ok.
> BUT installing activemq gives unresolved classes.

I just ran into this issue while deploying to Karaf.  My bundle consists of a 
couple of activemq:// routes that use the embedded broker.  I've found that I 
need to install the following additional bundles to get running in Karaf 1.2.0:

features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.2.0/xml/features
features:install spring
features:install spring-dm
features:install camel-spring-osgi
features:install camel-jms
osgi:install 
http://www.springsource.com/repository/app/bundle/version/download?name=org.springframework.jms&version=2.5.6.SEC01&type=binary
osgi:install 
http://www.springsource.com/repository/app/bundle/version/download?name=com.springsource.javax.annotation&version=1.0.0&type=binary
osgi:install 
mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1
osgi:install mvn:org.apache.activemq/kahadb/5.4-SNAPSHOT
osgi:install mvn:org.apache.activemq/activemq-core/5.4-SNAPSHOT
osgi:install mvn:org.apache.activemq/activemq-pool/5.4-SNAPSHOT
osgi:install mvn:org.apache.activemq/activemq-camel/5.4-SNAPSHOT

ActiveMQ is working on a features descriptor to make life easier 
(http://activemq.apache.org/osgi-integration.html), but it specifies some 
bundles from Karaf 1.3.0, which is not released yet.

Hope this helps!

p.

Reply via email to