Hi, there,

After karaf 4.1.2, the spring-dm has been removed. but we had lots of spring 
xml configuration which highly depends on org.springframework.* classes, they 
are not easy to be transfered to "blueprint" based configuration. on the other 
hand, the osgix:... (OSGi service/reference configuration) have to be 
transfered to blueprint. so for now, we have bundle which has 
/META-INF/spring/*.xml and /OSGI-INF/blueprint/*.xml co-existing, when deploy 
it into karaf 4.1.2, only the blueprint is loaded, the spring is ignored.


If remove the /OSGI-INF/blueprint/*.xml from the bundle, and install 
"aries-blueprint-spring" as boot feature, then the spring configuration is 
loaded as expected after deploy the bundle.


Any suggestions if there is a way to get both spring and blueprint loaded from 
one bundle without spring-dm? or using DI annotations than spring xml?


(A project created for testing: 
https://github.com/xldai/test/tree/master/test-spring-blueprint )


Thanks!

Xilai

Reply via email to