[jira] [Created] (IGNITE-13406) support for apache camel 3.x

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-13406) support for apache camel 3.x

Anton Vinogradov (Jira)
Scott Feldstein created IGNITE-13406:
----------------------------------------

             Summary: support for apache camel 3.x
                 Key: IGNITE-13406
                 URL: https://issues.apache.org/jira/browse/IGNITE-13406
             Project: Ignite
          Issue Type: Improvement
          Components: streaming
            Reporter: Scott Feldstein


Currently the stream libs only support camel 2.x.  When camel 3.x is used errors come up.

Here is an example:
{code:java}
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
 {code}
The {{org/apache/camel/util/CamelContextHelper}} class has been moved in camel 3.x per the [camel 3.x migration doc|https://camel.apache.org/manual/latest/camel-3-migration-guide.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)