I didn't work with FUSE ESB 4, but I have an idea.
OSGi framework usually have a framework properties folder. And usually it's folder called "etc".
To check it, just put in "etc" folder any file with ".properties" extension, put in file any property and value and in your bundle call:
Code:
String propValue = bundleContext.getProperty("your.prop.name");
If it didn't work, you can use ConfigAdimn service from OSGi spec.
You have the different task.
Default implamentation of spring osgi can deploy context only from "META-INF/spring" folder or from the "Spring-Context" attribute on manifest. I don't think that you can attach application context to bundle from outside the bundle jar. In this way, you need to start application context manually.