having a simple FIS 2.0 Karaf project using camel-netty that worked on 630254
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/blueprint" xsi:schemaLocation=" http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"> <camelContext id="fabric-camel-demo" xmlns="http://camel.apache.org/schema/blueprint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://camel.apache.org/schema/blueprint "> <endpoint id="netty3" uri="netty-http:http://0.0.0.0:8182/"/> <route id="netty3-route"> <from uri="ref:netty3"/> <transform> <simple>netty3</simple> </transform> </route> </camelContext> </blueprint>
on recent Fuse rollup 630283 (6.3.0.R4) fails during startup with
2017-08-30 13:44:47,595 | ERROR | FelixStartLevel | BlueprintContainerImpl | 11 - org.apache.aries.blueprint.core - 1.8.0 | Unable to start blueprint container for bundle com.example.camel-netty/1.0.0.SNAPSHOT org.osgi.service.blueprint.container.ComponentDefinitionException: Error when instantiating bean netty3 of class org.apache.camel.Endpoint at org.apache.aries.blueprint.container.BeanRecipe.wrapAsCompDefEx(BeanRecipe.java:361)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromFactory(BeanRecipe.java:297)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:278)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:830)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[11:org.apache.aries.blueprint.core:1.8.0] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_141] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:186)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:725)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:412)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:277)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.Felix.startBundle(Felix.java:2100)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)[org.apache.felix.framework-4.4.1.jar:] at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.4.1.jar:] at java.lang.Thread.run(Thread.java:748)[:1.8.0_141] Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: netty-http://http://0.0.0.0:8182/ due to: timer must be specified at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:589) at org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean.getObject(AbstractCamelEndpointFactoryBean.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_141] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_141] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_141] at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_141] at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:980)[11:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromFactory(BeanRecipe.java:295)[11:org.apache.aries.blueprint.core:1.8.0] ... 28 more Caused by: java.lang.IllegalArgumentException: timer must be specified at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:308) at org.apache.camel.component.netty.NettyEndpoint.doStart(NettyEndpoint.java:112) at org.apache.camel.component.netty.http.NettyHttpEndpoint.doStart(NettyHttpEndpoint.java:233) at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3251)[89:org.apache.camel.camel-core:2.17.0.redhat-630283] at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1219)[89:org.apache.camel.camel-core:2.17.0.redhat-630283] at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1180)[89:org.apache.camel.camel-core:2.17.0.redhat-630283] at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1176)[89:org.apache.camel.camel-core:2.17.0.redhat-630283] at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:585)[89:org.apache.camel.camel-core:2.17.0.redhat-630283] ... 36 more