[
https://issues.apache.org/jira/browse/CAMEL-9749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-9749.
--------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Just test with snapshot and you can install camel-amqp now
> Missing qpid-amqp-1-0-client-jms dependency in the camel-amqp feature
> ---------------------------------------------------------------------
>
> Key: CAMEL-9749
> URL: https://issues.apache.org/jira/browse/CAMEL-9749
> Project: Camel
> Issue Type: Bug
> Components: karaf
> Affects Versions: 2.16.2
> Environment: Java 8
> Reporter: Xilai Dai
> Assignee: Claus Ibsen
> Fix For: 2.16.3
>
>
> There is error exception when trying to install camel-amqp feature install
> karaf OSGi container with command: feature:install camel-amqp
> {code}
> 13:45:39,884 | ERROR | nsole user karaf | he.karaf.shell.support.ShellUtil
> 149 | 52 - org.apache.karaf.shell.core - 4.0.4 | Exception caught while
> executing command
> org.osgi.service.resolver.ResolutionException: Unable to resolve root:
> missing requirement [root] osgi.identity; osgi.identity=camel-amqp;
> type=karaf.feature; version="[2.16.2,2.16.2]";
> filter:="(&(osgi.identity=camel-amqp)(type=karaf.feature)(version>=2.16.2)(version<=2.16.2))"
> [caused by: Unable to resolve camel-amqp/2.16.2: missing requirement
> [camel-amqp/2.16.2] osgi.identity; osgi.identity=org.apache.camel.camel-amqp;
> type=osgi.bundle; version="[2.16.2,2.16.2]"; resolution:=mandatory [caused
> by: Unable to resolve org.apache.camel.camel-amqp/2.16.2: missing requirement
> [org.apache.camel.camel-amqp/2.16.2] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.apache.qpid.amqp_1_0.jms.impl)(version>=0.20.0)(!(version>=1.0.0)))"]]
> {code}
> the camel-amqp 2.16.2 bundle introduce a new qpid-amqp-1-0-client-jms
> dependency, it should be also added into camel-amqp feature definition.
> Fix proposal (tested):
> {code}
> <bundle>wrap:mvn:org.apache.qpid/qpid-amqp-1-0-client-jms/0.28$Bundle-SymbolicName=qpid-amqp-1-0-client-jms&Bundle-Version=0.28&Export-Package=org.apache.qpid.amqp_1_0.jms.*;version=0.28</bundle>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)