Simple Camel run goal with blueprint gives exception

I have a simple maven project created based on camel blueprint archetype.When I do "mvn camel:run" I see this error Caused by: java.lang.RuntimeException: Gave up waiting for service (objectClass=org.apache.camel.CamelContext)at org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(CamelBlueprintHelper.java:295)at org.apache.camel.test.blueprint.CamelBlueprintHelper.getOsgiService(CamelBlueprintHelper.java:256)at org.apache.camel.test.blueprint.Main.doStart(Main.java:110)at org.apache.camel.support.ServiceSupport.start(ServiceSupp...Read more

opendaylight - Does Blueprint replace Activator class when implementing a OSGi bundle?

I'm new to Opendaylight and I'm currently trying to develop an app to get packet-in, analyse them and then dispatch them to other app.Does the blueprint replace the need for creating an Activator class to register the component with the OSGi framework? Or do we still need the activator to instantiate and set the dependencies?As far as I can tell, the blueprint already does that, am I correct?Any help would be extremely appreciated!...Read more

how to import osgi blueprint xml

I am trying to import an OSGI blueprint XML file in to another OSGi blueprint XML file.e.g.:blueprint1.xml:<?xml version="1.0" encoding="UTF-8"?><blueprint ....> <bean id="myBean1" class="com.company.Class1"/> <bean id="myBean2" class="com.company.Class2"/></blueprint></xml>blueprint2.xml:<?xml version="1.0" encoding="UTF-8"?><blueprint ....> <!-- DOES NOT WORK --> <import resource="blueprint1.xml" /></blueprint>The <import> works for spring but not for blueprin...Read more

Blueprint, Spring DM and DS

I am a little bit confused about Blueprint, Spring DM and DS (Declarative Services).Form what I think it is:Spring DM came first.OSGi like the idea and defined the Blueprint standard based on Spring DM.Spring DM became the reference implementation of Blueprint.No?And how does DS (Declarative Services) fit into the picture?...Read more