Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2719

tooling/camel-mqtt: switchyard-mqtt feature is not added to features.xml

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Add switchyard-mqtt feature into features.xml as a dependency manually

      Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      --- features.xml.orig	2015-06-04 17:10:04.856344233 +0900
      +++ features.xml	2015-06-04 16:54:54.949639987 +0900
      @@ -2,6 +2,7 @@
       <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
       	<repository>mvn:org.switchyard.karaf/switchyard/${switchyard.version}/xml/features</repository>
       	<feature name="test-mqtt" version="0.0.1-SNAPSHOT" resolver="(obr)">
      +		<feature version="${switchyard.version}">switchyard-mqtt</feature>
       		<feature version="${switchyard.version}">switchyard-bean</feature>
       		<feature version="${switchyard.version}">switchyard</feature>
       		<bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle>
      
      Show
      Add switchyard-mqtt feature into features.xml as a dependency manually Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml --- features.xml.orig 2015-06-04 17:10:04.856344233 +0900 +++ features.xml 2015-06-04 16:54:54.949639987 +0900 @@ -2,6 +2,7 @@ <features xmlns= "http: //karaf.apache.org/xmlns/features/v1.0.0" > <repository>mvn:org.switchyard.karaf/switchyard/${switchyard.version}/xml/features</repository> <feature name= "test-mqtt" version= "0.0.1-SNAPSHOT" resolver= "(obr)" > + <feature version= "${switchyard.version}" >switchyard-mqtt</feature> <feature version= "${switchyard.version}" >switchyard-bean</feature> <feature version= "${switchyard.version}" >switchyard</feature> <bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle>

      Description

      When I enable "OSGI Bundle" check box and enable Bean impl and MQTT binding in the "SwitchYard Components" in New SwitchYard Project wizard, generated features.xml was:

      <?xml version="1.0" encoding="UTF-8"?>
      <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
              <repository>mvn:org.switchyard.karaf/switchyard/${switchyard.version}/xml/features</repository>
              <feature name="test-mqtt" version="0.0.1-SNAPSHOT" resolver="(obr)">
                      <feature version="${switchyard.version}">switchyard-bean</feature>
                      <feature version="${switchyard.version}">switchyard</feature>
                      <bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle>
              </feature>
      </features>
      

      It doesn't work on karaf as the deployment infinitely waits for namespace handler for urn:switchyard-component-camel-mqtt:config:2.0.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bfitzpat Brian Fitzpatrick
                Reporter:
                igarashitm tomohisa igarashi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: