How to install Camel components which are not shipped with FSW

Solution Verified - Updated -

Issue

  • How can the Camel components which are supported in JBoss Fuse be used in the JBoss FSW ? For example, camel-http and camel-jetty, in Camel URI binding or directly in a Camel route.
  • If SwitchYard application is run with the following Camel URI binding configuration:
<sca:reference name="SampleReference" multiplicity="0..1" promote="SampleComponent/SampleReference">
  <sca:interface.java interface="com.redhat.samples.switchyard.SampleService"/>
  <camel_1:binding.uri configURI="http://localhost:12345">
    <camel_1:contextMapper/>
  </camel_1:binding.uri>
</sca:reference>
  • Following exception is observed:
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: http://localhost:12345
due to: No component found with scheme: http
  • How can the Camel components be installed into the FSW ?

Environment

  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.x
  • Red Hat JBoss Fuse
    • 6.2.1
    • 6.3.0
  • Apache Camel

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content