Camel returns `NoSuchMethodError` exception when a Camel jBPM component is used in a route

Solution Unverified - Updated -

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.

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