Hello. I'd like to make a bundle using both Blueprint and spring, with these reasons : 1) Blueprint : using the OSGi configuration for a property place-holder based on OSGi configuration service, exposing services and referencing, set Camel routes, etc. 2) Spring : using the framework's DI : autowiring of components, values injection, for building plain java code, like the services implementations.
First problem : Blueprint seems to start before the Spring context is detected in META-INF/spring/, and thus beans defined in Spring seem not to be available for Blueprint services. Is it true ? Second problem : The Spring context doesn't see the Blueprint property place holder (I've tried to make a reference on the same id and implicitly), and it seems we need to declare twice : once in Blueprint (cm:property-placeholder) and once in Spring (osgix:cm-properties and context:property-placeholder). Any advice or help ? Thanks. Regards. -- View this message in context: http://servicemix.396122.n5.nabble.com/Mix-blueprint-and-spring-in-the-same-bundle-tp5723320.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
