Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9749

Missing qpid-amqp-1-0-client-jms dependency in the camel-amqp feature

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.16.2
    • Fix Version/s: 2.16.3
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      Java 8

    • Estimated Complexity:
      Unknown

      Description

      There is error exception when trying to install camel-amqp feature install karaf OSGi container with command: feature:install camel-amqp

      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)))"]]
      

      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):

      <bundle>wrap:mvn:org.apache.qpid/qpid-amqp-1-0-client-jms/0.28$Bundle-SymbolicName=qpid-amqp-1-0-client-jms&amp;Bundle-Version=0.28&amp;Export-Package=org.apache.qpid.amqp_1_0.jms.*;version=0.28</bundle>
      

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              xldai Xilai Dai
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: