Hi ! Successfully i manged to load and instantiate som springbeans in a global conext. While putting all the depedent libraries and configs into servicmeix classpath, altered the servicmix.xml and servicmix.conf. Added import resource .. or created a Spring Bean with JMX support. So fars so good cause these beans should change that often, so they can be static. But now i want to add sprinbeans to a SU(JSR181). I want to inject beans and its values from the global context on the Impl class. How to accomplish this scenario ? I have tried to put a xml file with spring beans definitions in the classpath of the SU which src\main\resources. And it is included in the root of the jarfile for the SU. When i run the remot debugger from eclispe the variables i thoght i injected are set to null. I think they are not loaded at all. I test webservice with webservicexplorer. I have'nt yet added a setter for the componentcontext and inject that also. But the thing is that none of this injections are reflected. Do have to change the way of testing ? Or ? Can anyone help, please?
Tanks Daniel -- View this message in context: http://www.nabble.com/Problem-wit-spring-in-SU-tf2689828s12049.html#a7500828 Sent from the ServiceMix - User mailing list archive at Nabble.com.
