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] <
ml-node+s465427n5794219...@n5.nabble.com> 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
> 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=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> 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.

Reply via email to