Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1433

Camel component is missing dependency on package org.infinispan.query.api.continuous

XMLWordPrintable

      The integration tests fail with the following exception:

      java.lang.ClassNotFoundException: org.infinispan.query.api.continuous.ContinuousQueryListener not found by org.apache.camel.camel-jbossdatagrid [306]
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.apache.camel.component.infinispan.InfinispanEndpoint.createConsumer(InfinispanEndpoint.java:54)
      	at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:69)
      	at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:103)
      	at org.apache.camel.impl.RouteService.warmUp(RouteService.java:158)
      	at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3496)
      	at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3426)
      	at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3203)
      	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3059)
      	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2854)
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2850)
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2873)
      	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2850)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2819)
      	at org.apache.camel.test.junit4.CamelTestSupport.startCamelContext(CamelTestSupport.java:545)
      	at org.apache.camel.test.junit4.CamelTestSupport.doSetUp(CamelTestSupport.java:335)
      	at org.apache.camel.test.junit4.CamelTestSupport.setUp(CamelTestSupport.java:239)
      	at org.apache.camel.component.infinispan.InfinispanTestSupport.setUp(InfinispanTestSupport.java:45)
      

      After some investigation it appears that the jboss-datagrid bundle is missing a package in the Import-Package section.

              mgencur Martin Gencur
              mgencur Martin Gencur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: