Makes sense what you are saying. I just installed camel 2.18.2 components and by the looks of it, it is a packaging failure in camel-spring.
1. install camel feature on Karaf 4.0.8 (also tested 4.1.0): feature:repo-add camel 2.18.2 feature:install camel 2. install some route that uses blueprint and camel blueprint schema Looking at http://search.maven.org/remotecontent?filepath=org/apache/camel/camel-spring/2.18.2/camel-spring-2.18.2.jar I can see that file /META-INF/spring.schemas shows following: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with ... http\://camel.apache.org/schema/spring=camel-spring.xsd http\:// camel.apache.org/schema/spring/v${camel.schema.version}=camel-spring-v${camel.schema.version}.xsd Its actually broken in all 2.18.x releases but ok in 2.17.x and 2.16.x I'll file a bug with Camel. Thanks for your thoughts. On Mon, Mar 13, 2017 at 7:43 PM, Guillaume Nodet <gno...@apache.org> wrote: > IIRC, camel blueprint translated the xml in the camel-spring namespace to > be able to leverage jaxb, but clearly a property should have been replaced > by the actual camel version. > Can you explain exactly which bundles / features you installed (with > versions) and the blueprint xml you use ? > > 2017-03-12 14:14 GMT+01:00 Niels Bertram <niels...@gmail.com>: > >> Hi there, >> >> I am trying to implement a very basic CXF / Camel REST service. And >> despite best efforts I am getting below stacktrace when installing by >> bundle. >> >> Disturbing part is, I did not ask for spring, I want a plain blueprint >> instance. >> >> Anyone has seen this before? >> >> >> 2017-03-12 23:00:39,527 | WARN | pool-32-thread-2 | >> NamespaceHandlerRegistryImpl | 12 - org.apache.aries.blueprint.core >> - 1.7.1 | Error registering NamespaceHandler >> java.lang.IllegalArgumentException: Illegal character in path at index >> 40: http://camel.apache.org/schema/spring/v${camel.schema.version} >> at java.net.URI.create(URI.java:852) [?:?] >> at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistr >> yImpl.getNamespaces(NamespaceHandlerRegistryImpl.java:203) >> [12:org.apache.aries.blueprint.core:1.7.1] >> at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistr >> yImpl.registerHandler(NamespaceHandlerRegistryImpl.java:157) >> [12:org.apache.aries.blueprint.core:1.7.1] >> at org.apache.aries.blueprint.namespace.NamespaceHandlerRegistr >> yImpl.addingService(NamespaceHandlerRegistryImpl.java:121) >> [12:org.apache.aries.blueprint.core:1.7.1] >> at >> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) >> [?:?] >> at >> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870) >> [?:?] >> at >> org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) >> [?:?] >> at >> org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) >> [?:?] >> at >> org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901) >> [?:?] >> at org.apache.felix.framework.EventDispatcher.invokeServiceList >> enerCallback(EventDispatcher.java:990) [?:?] >> at >> org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838) >> [?:?] >> at >> org.apache.felix.framework.EventDispatcher.fireServiceEvent(EventDispatcher.java:545) >> [?:?] >> at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557) >> [?:?] >> at org.apache.felix.framework.Felix.registerService(Felix.java:3549) >> [?:?] >> at >> org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348) >> [?:?] >> at >> org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:355) >> [?:?] >> at >> org.apache.aries.blueprint.spring.SpringExtension.start(SpringExtension.java:78) >> [202:org.apache.aries.blueprint.spring:0.2.0] >> at >> org.apache.felix.utils.extender.AbstractExtender$1.run(AbstractExtender.java:265) >> [202:org.apache.aries.blueprint.spring:0.2.0] >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) >> [?:?] >> at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] >> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFu >> tureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?] >> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFu >> tureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?] >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> [?:?] >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> [?:?] >> at java.lang.Thread.run(Thread.java:745) [?:?] >> Caused by: java.net.URISyntaxException: Illegal character in path at >> index 40: http://camel.apache.org/schema/spring/v${camel.schema.version} >> at java.net.URI$Parser.fail(URI.java:2848) ~[?:?] >> at java.net.URI$Parser.checkChars(URI.java:3021) ~[?:?] >> at java.net.URI$Parser.parseHierarchical(URI.java:3105) ~[?:?] >> at java.net.URI$Parser.parse(URI.java:3053) ~[?:?] >> at java.net.URI.<init>(URI.java:588) ~[?:?] >> at java.net.URI.create(URI.java:850) ~[?:?] >> ... 24 more >> > > > > -- > ------------------------ > Guillaume Nodet > >