Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Docs Required, Release Notes Required
Description
Currently the stream libs only support camel 2.x. When camel 3.x is used errors come up.
Here is an example:
Caused by: java.lang.NoClassDefFoundError: org/apache/camel/util/CamelContextHelper at org.apache.ignite.stream.camel.CamelStreamer.start(CamelStreamer.java:95) at com.example.ignite.CamelKafkaIgniteApplicationTest$Config.camelStreamer(CamelKafkaIgniteApplicationTest.java:158) at com.example.ignite.CamelKafkaIgniteApplicationTest$Config$$EnhancerBySpringCGLIB$$dd8ac36c.CGLIB$camelStreamer$2(<generated>) at com.example.ignite.CamelKafkaIgniteApplicationTest$Config$$EnhancerBySpringCGLIB$$dd8ac36c$$FastClassBySpringCGLIB$$5a773dea.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) at com.example.ignite.CamelKafkaIgniteApplicationTest$Config$$EnhancerBySpringCGLIB$$dd8ac36c.camelStreamer(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ... 108 more Caused by: java.lang.ClassNotFoundException: org.apache.camel.util.CamelContextHelper at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 120 more
The org/apache/camel/util/CamelContextHelper class has been moved in camel 3.x per the camel 3.x migration doc
Attachments
Issue Links
- links to