This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

I have a great interest to see OSGi being fully integrated with Spring, and have follow the online documentation and various forum to try to get Mule to run spring 2.1 with OSGi support, but after hitting 1 wall against another, I am really frustrated with my progress so far. So I came here to ask the development community. Is Spring-OSGi ready to be integrated with mule yet? If so can you provide me with some hint on how to go about it.

What I have Done so far:
1) created 2 simple UMO in mule using spring container, and added osgi service and reference tags to them to see if they can be dynamically loaded and unloaded
2) copy and hosted the spring-osgi.xsd schema on my local machine, to get the spring binding xml file to pass sax validation
3) added spring-osgi-core, spring-osgi-extender, spring-osgi-lib, framework jar to the mule\lib\opt directory

Right now i am stuck on the error given to me by mule start up:
-Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.osgi.service.exporter.OsgiSer viceFactoryBean': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: required property 'bundleContext' has not been set

Has anyone else try to get Spring-OSGi working with mule yet? Is this the right forum to ask this question?