Available as of Camel 2.3
The camel-eclipse is a component which allows you to run Camel with Eclipse RCP. This component is needed due Eclipse classloading challenges. The component is a specialized Camel Pluggable Class Resolvers to remedy this.
The resolver is provided in the class
org.apache.camel.component.eclipse.EclipsePackageScanClassResolver in the
camel-eclipse jar file.
Using with Java DSL
You need to configure the resolver on the CamelContext which is done like this:
Using with Spring XML
When using Spring XML its just a matter of defining a spring bean with the Eclipse class resolver as shown:
Maven users will need to add the following dependency to their pom.xml for this component: