To load additional spring configurations from the servicemix
container, you can just import them from the main
servicemix.xml config file.
You should be able to register any mbeans you need by using
spring jmx support.

On 11/15/06, fordan <[EMAIL PROTECTED]> wrote:

Hi !

Ok, sorry. I want to initialize spring-beans defined in xml.  Have an
existing application, trying to
migrate existing configuration into a standalone SM instance.  Just don't
know any good way to that.
Earlier  the configs was loaded by JBoss MBeanserver. There were a lot of
lightweigth configurations, we know decided to use the standard way of using
JBI components. With the ApplicationContextIntilizer its possible to load
servel configs, but i want to create an MBean, which will be loaded at SM
startup. There is jmx.xml in the conf directory. I did'nt find any leading
doc howto. Did you get my question?

Thanks Daniel



fordan wrote:
>
> Hi !
>
> I am tryiing to figure out how the best way is to initialize
> springconfigurations/spring-xbeans at startup of servicemix.
> I see some options from a webapplication, from a shared library or Mbean.
>
> I think the Mbean way is the best. Whats the best way? How to setup an
> MBean that loads the springconfiguration.
>
> I don“nt want to use lightweigtht components and run in SpringJbiConatiner
> if not necessary.
> Can anyone help ?
> Thanks Daniel
>

--
View this message in context: 
http://www.nabble.com/Best-way-to-load-ordinary-sprinconfiguration-in-Servicemix-tf2637510s12049.html#a7362954
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to