Try this way:

karaf@root()> feature:repo-add camel 2.18.0
Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.18.0/xml/features
karaf@root()> install -s wrap:mvn:junit/junit/4.12
Bundle ID: 52
karaf@root()> feature:install -v camel-rabbitmq 
Adding features: camel-rabbitmq/[2.18.0,2.18.0]
Changes to perform:
Region: root
Bundles to install:
mvn:com.rabbitmq/amqp-client/3.6.5
mvn:org.apache.camel/camel-catalog/2.18.0
mvn:org.apache.camel/camel-commands-core/2.18.0
mvn:org.apache.camel/camel-core/2.18.0
mvn:org.apache.camel/camel-rabbitmq/2.18.0
mvn:org.apache.camel.karaf/camel-karaf-commands/2.18.0
mvn:commons-pool/commons-pool/1.6
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.11_1
mvn:org.codehaus.woodstox/stax2-api/3.1.4
mvn:org.codehaus.woodstox/woodstox-core-asl/4.4.1
Installing bundles:
mvn:com.rabbitmq/amqp-client/3.6.5
mvn:org.apache.camel/camel-catalog/2.18.0
mvn:org.apache.camel/camel-commands-core/2.18.0
mvn:org.apache.camel/camel-core/2.18.0
mvn:org.apache.camel/camel-rabbitmq/2.18.0
mvn:org.apache.camel.karaf/camel-karaf-commands/2.18.0
mvn:commons-pool/commons-pool/1.6
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.11_1
mvn:org.codehaus.woodstox/stax2-api/3.1.4
mvn:org.codehaus.woodstox/woodstox-core-asl/4.4.1
Starting bundles:
org.apache.servicemix.bundles.jaxb-impl/2.2.11.1
stax2-api/3.1.4
woodstox-core-asl/4.4.1
org.apache.camel.camel-core/2.18.0
org.apache.camel.camel-catalog/2.18.0
org.apache.camel.camel-commands-core/2.18.0
com.rabbitmq.client/3.6.5
org.apache.commons.pool/1.6.0
org.apache.camel.camel-rabbitmq/2.18.0
org.apache.camel.karaf.camel-karaf-commands/2.18.0
Done.

 --
Andrea Cosentino 
----------------------------------
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix Committer
Email: ancosen1...@yahoo.com
Twitter: @oscerd2
Github: oscerd



On Friday, October 28, 2016 7:53 PM, gustavo.maurizio <gmauri...@me.com> wrote:
trying to install camel-rabbitmq under Karaf 4.0.6 fails unable to resolve
com.rabbitmq.client.
Was working fine in 2.17.3
Any ideas or help?


ka...@sis.gt.common()> feature:install  camel-rabbitmq
Error executing command: Unable to resolve root: missing requirement [root]
osgi.identity; osgi.identity=camel-rabbitmq; type=karaf.feature;
version="[2.18.0,2.18.0]";
filter:="(&(osgi.identity=camel-rabbitmq)(type=karaf.feature)(version>=2.18.0)(version<=2.18.0))"
[caused by: Unable to resolve camel-rabbitmq/2.18.0: missing requirement
[camel-rabbitmq/2.18.0] osgi.identity;
osgi.identity=org.apache.camel.camel-rabbitmq; type=osgi.bundle;
version="[2.18.0,2.18.0]"; resolution:=mandatory [caused by: Unable to
resolve org.apache.camel.camel-rabbitmq/2.18.0: missing requirement
[org.apache.camel.camel-rabbitmq/2.18.0] osgi.wiring.package;
filter:="(&(osgi.wiring.package=com.rabbitmq.client)(version>=3.6.0)(!(version>=4.0.0)))"
[caused by: Unable to resolve com.rabbitmq.client/3.6.5: missing requirement
[com.rabbitmq.client/3.6.5] osgi.wiring.package;
filter:="(osgi.wiring.package=junit.framework)"]]]
ka...@sis.gt.common()> 




--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-2-18-0-rabbitmq-component-fails-under-Karaf-tp5789413.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to