>From the karaf prompt I do a "list" and get the following: 237 | Active | 80 | 0.32 | qpid-amqp-1-0-client-jms 238 | Active | 80 | 0.32 | qpid-amqp-1-0-common 239 | Active | 80 | 0.32 | qpid-amqp-1-0-client
Then I try and install karaf@root>feature:install camel-amqp/2.16.2 Error executing command: Can't install feature camel-amqp/2.16.2: Can not resolve feature: Unsatisfied requirement(s): --------------------------- package:(&(package=org.apache.qpid.amqp_1_0.jms.impl)(version>=0.20.0)(!(version>=1.0.0))) camel-amqp When I download the camel-amqp bundle from mvnrepository.com and drop it in the servicemix/deploy folder I see the following in the servicemix log file: 2017-02-21 21:20:21,981 | INFO | mix-6.1.1/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.5.2 | Installing bundle org.apache.camel.camel-amqp / 2.16.2 2017-02-21 21:20:21,992 | WARN | mix-6.1.1/deploy | fileinstall | 7 - org.apache.felix.fileinstall - 3.5.2 | Error while starting bundle: file:/Users/xxx/temp/apache-servicemix-6.1.1/deploy/camel-amqp-2.16.2.jar org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-amqp [261]: Unable to resolve 261.0: missing requirement [261.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.qpid.amqp_1_0.jms.impl)(version>=0.20.0)(!(version>=1.0.0))) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)[org.apache.felix.framework-4.2.1.jar:] at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)[org.apache.felix.framework-4.2.1.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.2.1.jar:] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1243)[7:org.apache.felix.fileinstall:3.5.2] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1215)[7:org.apache.felix.fileinstall:3.5.2] at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:506)[7:org.apache.felix.fileinstall:3.5.2] at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:355)[7:org.apache.felix.fileinstall:3.5.2] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:307)[7:org.apache.felix.fileinstall:3.5.2] On Tue, Feb 21, 2017 at 4:55 PM, souciance <souciance.eqdam.ras...@gmail.com > wrote: > Just to be clear did you install the qpid jar first? Something like the > below in the karaf prompt. > > bundle:install wrap:mvn:org.apache.qpid/qpid-amqp-1-0-client/0.20 > > Run a bundle list to ensure the bundle is properly installed. Can verify in > the logs. Only then add the camel-amqp. > > On Tue, Feb 21, 2017 at 10:49 PM, Mark Webb [via Camel] < > ml-node+s465427n579422...@n5.nabble.com> wrote: > > > Thanks for that link. That's where I first found a list of dependencies > > that I need. I've also gone through the camel-amqp component source code > > for both 2.16.x and 2.18.x to try and figure out the differences. Below > > is the output when trying to install camel-amqp version 2.16.2 > > > > karaf@root>feature:install camel-amqp/2.16.2 > > Error executing command: Can't install feature camel-amqp/2.16.2: > > Can not resolve feature: > > Unsatisfied requirement(s): > > --------------------------- > > package:(&(package=*org.apache.qpid.amqp_1_0.jms.impl* > > )(version>=0.20.0)(!(version>=1.0.0))) > > camel-amqp > > > > > > > > Below is the bundle that contains the "unsatisfied requirement" > > > > > > > > qpid-amqp-1-0-client-jms (237) > > ------------------------------ > > Ant-Version = Apache Ant 1.8.4 > > Originally-Created-By = 1.7.0_55-mockbuild_2014_04_16_06_38-b00 (Oracle > > Corporation) > > Created-By = 1.8.0_91 (Oracle Corporation) > > Manifest-Version = 1.0 > > Bnd-LastModified = 1487705842802 > > Generated-By-Ops4j-Pax-From = > > wrap:file:/home/mark/temp/apache-servicemix-6.1.1/ > > deploy/qpid-amqp-1-0-client-jms-0.28.jar$Bundle- > > SymbolicName=qpid-amqp-1-0-client-jms&Bundle-Version=0.28 > > Tool = Bnd-2.3.0.201405100607 > > > > Bundle-ManifestVersion = 2 > > Bundle-SymbolicName = qpid-amqp-1-0-client-jms > > Bundle-Version = 0.28 > > Bundle-Name = qpid-amqp-1-0-client-jms > > > > Require-Capability = > > osgi.ee;filter:=(&(osgi.ee=JavaSE)(version=1.6)) > > > > Export-Package = > > org.apache.qpid.amqp_1_0.jms;uses:="javax.jms,org.apache. > > qpid.amqp_1_0.messaging,org.apache.qpid.amqp_1_0.type", > > *org.apache.qpid.amqp_1_0.jms.impl*; > > uses:="javax.jms, > > javax.net.ssl, > > org.apache.qpid.amqp_1_0.client, > > org.apache.qpid.amqp_1_0.jms, > > org.apache.qpid.amqp_1_0.messaging, > > org.apache.qpid.amqp_1_0.type, > > org.apache.qpid.amqp_1_0.type.messaging", > > org.apache.qpid.amqp_1_0.jms.jndi;uses:="javax.naming,javax.naming.spi" > > Import-Package = > > javax.jms;resolution:=optional, > > javax.naming;resolution:=optional, > > javax.naming.spi;resolution:=optional, > > javax.net.ssl;resolution:=optional, > > org.apache.qpid.amqp_1_0.client;resolution:=optional, > > org.apache.qpid.amqp_1_0.messaging;resolution:=optional, > > org.apache.qpid.amqp_1_0.transport;resolution:=optional, > > org.apache.qpid.amqp_1_0.type;resolution:=optional, > > org.apache.qpid.amqp_1_0.type.messaging;resolution:=optional, > > org.apache.qpid.amqp_1_0.type.messaging.codec;resolution:=optional, > > org.apache.qpid.amqp_1_0.type.transport;resolution:=optional > > > > > > > > > > > > > > On Tue, Feb 21, 2017 at 4:38 PM, souciance <[hidden email] > > <http:///user/SendEmail.jtp?type=node&node=5794224&i=0> > > > wrote: > > > > > This should give you some indication of what dependencies are > required.. > > > https://mvnrepository.com/artifact/org.apache.camel/camel-amqp/2.18.2 > > > > > > On Tue, Feb 21, 2017 at 10:35 PM, Mark Webb [via Camel] < > > > [hidden email] <http:///user/SendEmail.jtp? > type=node&node=5794224&i=1>> > > wrote: > > > > > > > The problem I'm running in to is figuring out what the dependency and > > > > version I'm missing is. The dependency that is being reported is in > > > > ServiceMix. My guess its a dependency of a dependency and its not > > > getting > > > > reported all the way back. I turned up the logging and don't see > > > anything > > > > there either. > > > > > > > > > > > > > > > > On Tue, Feb 21, 2017 at 4:32 PM, souciance <[hidden email] > > > > <http:///user/SendEmail.jtp?type=node&node=5794222&i=0> > > > > > wrote: > > > > > > > > > https://servicemix.apache.org/docs/7.x/users-guide/deployer.html > > > > > > > > > > Somewhere in the middle sections there is documentation on the > > wrapper. > > > > > > > > > > So I think you need to deploy the dependency as a wrapper and then > > the > > > > > camel-amqp as a feature. > > > > > > > > > > On Tue, Feb 21, 2017 at 10:10 PM, Mark Webb [via Camel] < > > > > > [hidden email] <http:///user/SendEmail.jtp? > > > type=node&node=5794222&i=1>> > > > > wrote: > > > > > > > > > > > I believe you are correct. The problem with the wrapping of a > jar > > > > into a > > > > > > bundle is that you often lose the dependencies and the wrapped > > bundle > > > > > > always shows as active even if there are missing dependencies. > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Feb 21, 2017 at 4:06 PM, souciance <[hidden email] > > > > > > <http:///user/SendEmail.jtp?type=node&node=5794219&i=0> > > > > > > > wrote: > > > > > > > > > > > > > I have not worked with ServiceMix but with Karaf if the thing > > you > > > > are > > > > > > > deploying is not a osgi bundle you need to use the "wrap" > > command > > > to > > > > > > wrap > > > > > > > it which will instruct Karaf to add some OSGI stuff to it. Must > > be > > > > > > > something similar for ServiceMix. > > > > > > > > > > > > > > Something like wrap:mvn:org.apache.qpid/qpid- > amqp-1-0-client-jms > > > > > > > > > > > > > > > > On Tue, Feb 21, 2017 at 7:27 PM, Mark Webb [via Camel] < > > > > > > > [hidden email] <http:///user/SendEmail.jtp? > > > > > type=node&node=5794219&i=1>> > > > > > > wrote: > > > > > > > > > > > > > > > Not sure if this should be posted here or the servicemix > users > > > > forum, > > > > > > but > > > > > > > > I'm trying to install camel-amqp in ServiceMix 6.1.1, which > > uses > > > > > Camel > > > > > > > > 2.16.2, and I'm seeing the following error in the > > > ServiceMix/Karaf > > > > > > > > console: > > > > > > > > > > > > > > > > karaf@root>feature:install camel-amqp > > > > > > > > Error executing command: Can't install feature > > camel-amqp/0.0.0: > > > > > > > > Can not resolve feature: > > > > > > > > Unsatisfied requirement(s): > > > > > > > > --------------------------- > > > > > > > > > > > > > > > > package:(&(package=org.apache.qpid.amqp_1_0.jms.impl) > > > > > > > > (version>=0.20.0)(!(version>=1.0.0))) > > > > > > > > camel-amqp > > > > > > > > > > > > > > > > I installed the qpid-amqp-1-0-client-jms-0.28.jar in > > ServiceMix > > > > and > > > > > I > > > > > > > > still > > > > > > > > get the same problem. I followed what Tomohisa suggested in > > the > > > > > camel > > > > > > > > user > > > > > > > > thread here: > > > > > > > > > > > > > > > > http://camel.465427.n5.nabble.com/Camel-2-16-2-No-org- > > > > > apache-qpid-jms- > > > > > > > > JmsConnectionFactory-td5794045.html > > > > > > > > > > > > > > > > And I'm getting no where. Any ideas on how to get camel-amqp > > > > 2.16.2 > > > > > > > > working in OSGi. > > > > > > > > > > > > > > > > Thanks, > > > > > > > > Mark > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > If you reply to this email, your message will be added to the > > > > > > discussion > > > > > > > > below: > > > > > > > > http://camel.465427.n5.nabble.com/Installing-camel-amqp-in- > > > > > > > > ServiceMix-6-1-1-tp5794214.html > > > > > > > > To start a new topic under Camel - Users, email > > > > > > > > [hidden email] <http:///user/SendEmail.jtp? > > > > > type=node&node=5794219&i=2> > > > > > > > > To unsubscribe from Camel - Users, click here > > > > > > > > <http://camel.465427.n5.nabble.com/template/ > > > NamlServlet.jtp?macro= > > > > > > > unsubscribe_by_code&node=465428&code= > > > c291Y2lhbmNlLmVxZGFtLnJhc2h0aU > > > > > > > BnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > > > > > > > > . > > > > > > > > NAML > > > > > > > > <http://camel.465427.n5.nabble.com/template/ > > > > > > NamlServlet.jtp?macro=macro_ > > > > > > > viewer&id=instant_html%21nabble%3Aemail.naml&base= > > > > > nabble.naml.namespaces. > > > > > > > > > > > > > BasicNamespace-nabble.view.web.template.NabbleNamespace- > > > > > > > nabble.view.web.template.NodeNamespace&breadcrumbs= > > > > > > > notify_subscribers%21nabble%3Aemail.naml-instant_emails% > > > > > > > 21nabble%3Aemail.naml-send_instant_email%21nabble% > 3Aemail.naml> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > View this message in context: http://camel.465427.n5.nabble. > > > > > > > com/Installing-camel-amqp-in-ServiceMix-6-1-1- > > > tp5794214p5794218.html > > > > > > > > > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > If you reply to this email, your message will be added to the > > > > discussion > > > > > > below: > > > > > > http://camel.465427.n5.nabble.com/Installing-camel-amqp-in- > > > > > > ServiceMix-6-1-1-tp5794214p5794219.html > > > > > > To start a new topic under Camel - Users, email > > > > > > [hidden email] <http:///user/SendEmail.jtp? > > > type=node&node=5794222&i=2> > > > > > > To unsubscribe from Camel - Users, click here > > > > > > <http://camel.465427.n5.nabble.com/template/ > NamlServlet.jtp?macro= > > > > > unsubscribe_by_code&node=465428&code= > c291Y2lhbmNlLmVxZGFtLnJhc2h0aU > > > > > BnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > > > > > > . > > > > > > NAML > > > > > > <http://camel.465427.n5.nabble.com/template/ > > > > NamlServlet.jtp?macro=macro_ > > > > > viewer&id=instant_html%21nabble%3Aemail.naml&base= > > > nabble.naml.namespaces. > > > > > > > > > BasicNamespace-nabble.view.web.template.NabbleNamespace- > > > > > nabble.view.web.template.NodeNamespace&breadcrumbs= > > > > > notify_subscribers%21nabble%3Aemail.naml-instant_emails% > > > > > 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > View this message in context: http://camel.465427.n5.nabble. > > > > > com/Installing-camel-amqp-in-ServiceMix-6-1-1- > tp5794214p5794221.html > > > > > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > ------------------------------ > > > > If you reply to this email, your message will be added to the > > discussion > > > > below: > > > > http://camel.465427.n5.nabble.com/Installing-camel-amqp-in- > > > > ServiceMix-6-1-1-tp5794214p5794222.html > > > > To start a new topic under Camel - Users, email > > > > [hidden email] <http:///user/SendEmail.jtp? > type=node&node=5794224&i=2> > > > > To unsubscribe from Camel - Users, click here > > > > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro= > > > unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aU > > > BnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > > > > . > > > > NAML > > > > <http://camel.465427.n5.nabble.com/template/ > > NamlServlet.jtp?macro=macro_ > > > viewer&id=instant_html%21nabble%3Aemail.naml&base= > nabble.naml.namespaces. > > > > > BasicNamespace-nabble.view.web.template.NabbleNamespace- > > > nabble.view.web.template.NodeNamespace&breadcrumbs= > > > notify_subscribers%21nabble%3Aemail.naml-instant_emails% > > > 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > > > > > > > > > > > > > > > -- > > > View this message in context: http://camel.465427.n5.nabble. > > > com/Installing-camel-amqp-in-ServiceMix-6-1-1-tp5794214p5794223.html > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > > > > > > ------------------------------ > > If you reply to this email, your message will be added to the discussion > > below: > > http://camel.465427.n5.nabble.com/Installing-camel-amqp-in- > > ServiceMix-6-1-1-tp5794214p5794224.html > > To start a new topic under Camel - Users, email > > ml-node+s465427n465428...@n5.nabble.com > > To unsubscribe from Camel - Users, click here > > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro= > unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aU > BnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > > . > > NAML > > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_ > viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces. > BasicNamespace-nabble.view.web.template.NabbleNamespace- > nabble.view.web.template.NodeNamespace&breadcrumbs= > notify_subscribers%21nabble%3Aemail.naml-instant_emails% > 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Installing-camel-amqp-in-ServiceMix-6-1-1-tp5794214p5794225.html > Sent from the Camel - Users mailing list archive at Nabble.com. >