Camel returns `NoSuchMethodError` exception when a Camel jBPM component is used in a route
Issue
- The following exception is thrown when a jBPM Camel component is used in a route:
ERROR | ExtenderThread-4 | ContextLoaderListener | 210 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=CamelCMSOrchestration, config=osgibundle:/META-INF/spring/*.xml))
java.lang.NoSuchMethodError: org.kie.services.client.api.RemoteRuntimeEngineFactory.newRestBuilder()Lorg/kie/remote/client/api/RemoteRestRuntimeEngineBuilder;
at org.apache.camel.component.jbpm.JBPMEndpoint.createProducer(JBPMEndpoint.java:50)
at org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:439)
at org.apache.camel.impl.ProducerCache.acquireProducer(ProducerCache.java:160)
Route configuration:
<route id="myRoute">
...
<to uri="jbpm:URL”/>
</route>
Environment
- Red Hat JBoss Fuse
- Version: 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.