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

The hawtdispatch-version should be 1.22 in the apache-camel-2.17.3-features.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.17.3
    • 2.17.4
    • karaf
    • None
    • Java 8

    • Novice

    Description

      The error is thrown when try to install the camel-mqtt feature into karaf container.

      karaf@root()> feature:install camel-mqtt
      Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-mqtt; typ
      e=karaf.feature; version="[2.17.3,2.17.3]"; filter:="(&(osgi.identity=camel-mqtt)(type=karaf.feature)(version>=2.17.3)(v
      ersion<=2.17.3))" [caused by: Unable to resolve camel-mqtt/2.17.3: missing requirement [camel-mqtt/2.17.3] osgi.identity
      ; osgi.identity=org.apache.camel.camel-mqtt; type=osgi.bundle; version="[2.17.3,2.17.3]"; resolution:=mandatory [caused
      by: Unable to resolve org.apache.camel.camel-mqtt/2.17.3: missing requirement [org.apache.camel.camel-mqtt/2.17.3] osgi.
      wiring.package; filter:="(&(osgi.wiring.package=org.fusesource.hawtdispatch)(version>=1.22.0)(!(version>=2.0.0)))"]]
      

      The reason is mqtt-client expect org.fusesource.hawtdispatch.*;version=1.22, but it define hawtdispatch 1.21 in the apache-camel-2.17.3-features.xml

          <bundle dependency='true'>mvn:org.fusesource.hawtdispatch/hawtdispatch/1.21</bundle>
          <bundle dependency='true'>mvn:org.fusesource.hawtdispatch/hawtdispatch-transport/1.21</bundle>
      

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              xldai Xilai Dai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: