Hi yeah, Was about to update the solution here too, thanks Claus.
On 31 August 2013 10:54, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > Okay found the thread on jboss forum where this was posted first > https://community.jboss.org/thread/232058 > > And Tom posted a solution on this forum. > > On Fri, Aug 30, 2013 at 8: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> > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen