Try this In your blueprint.xml, the xsi:schemaLocation add
http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint-2.10.4.xsd and then in the body, <camelContext xmlns="http://camel.apache.org/schema/blueprint"> On Fri, Aug 30, 2013 at 2:32 PM, Tom Ellis <telli...@gmail.com> wrote: > I asked this on the JBoss Fuse forums, but I hope that maybe one of > you have come against this: > > Can anyone tell me why my bundle is entering into GracePeriod here: > > > > camel-blueprint exposes the camel blueprint namespace: > > > > JBossFuse:karaf@root> list | grep 135 > [ 135] [Active ] [Created ] [ ] [ 50] camel-blueprint > (2.10.0.redhat-60024) > JBossFuse:karaf@root> ls 135 > > > camel-blueprint (135) provides: > ------------------------------- > objectClass = org.apache.aries.blueprint.NamespaceHandler > osgi.service.blueprint.namespace = http://camel.apache.org/schema/blueprint > service.id = 353 > > > > But my bundle is in a GracePeriod waiting for it: > > > > 14:07:14,721 | INFO | NAPSHOT-thread-1 | BlueprintContainerImpl > | 22 - org.apache.aries.blueprint.core - 1.0.1.redhat-60024 | > Bundle com.mycompany.mybundle is waiting for namespace handlers > [http://camel.apache.org/schema/blueprint] > 14:07:14,721 | DEBUG | NAPSHOT-thread-1 | BlueprintEventDispatcher > | 22 - org.apache.aries.blueprint.core - 1.0.1.redhat-60024 | > Sending blueprint container event BlueprintEvent[type=GRACE_PERIOD, > dependencies=[(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://camel.apache.org/schema/blueprint))]] > for bundle com.mycompany.mybundle > > > > Definition of the namespace in my bundle's blueprint: > > > > <camelContext id="myRoute" trace="false" > xmlns="http://camel.apache.org/schema/blueprint" > xsi:schemaLocation="http://camel.apache.org/schema/blueprint > http://camel.apache.org/schema/blueprint/camel-blueprint-2.10.0.xsd"> > <routeBuilder ref="myRouteBuilder" /> > </camelContext>