0 Replies Latest reply on Mar 31, 2016 6:24 AM by Allan Cheong

    JBoss Fuse 6.2.1: Deploy OSGI bundle custom component "No component found with scheme: cust"

    Allan Cheong Newbie

      Hello all,

       

      I am trying to create a custom component "cust". In my bundle, I already have "org.apache.camel.spi.ComponentResolver;component=cust" in the manifest and the file "\META-INF\services\org\apache\camel\component\cust" with the content "class=com.package.CustomComponent". However, when I deploy the bundle, it seems the BlueprintContainerRegistry is still unable to find my component.

       

      What am I missing here? Appreciate your response. Thanks.

       

      EDIT:

      Below is the XML original configuration:

          <camelContext id="camelContext" xmlns="http://camel.apache.org/schema/blueprint">

       

              <endpoint id="endpoint" uri="cust://host:port" />

              <route id="route">

                  <from uri="ref:endpoint" />

              </route>

          </camelContext>

       

      It works now after I moved the endpoint into the route:

          <camelContext id="camelContext" xmlns="http://camel.apache.org/schema/blueprint">

              <route id="route">

                  <from uri="cust://host:port" />

              </route>

          </camelContext>


      I am using this approach as a workaround for now.

       

      Message was edited by: Allan Cheong