Thanks James. Yeah, it sounds great to use the OSGi bundle. I assume serviceMix 4 in this case. May I get an idea of how stable is the code right now?
thanks again James.Strachan wrote: > > On 23/01/2008, tieying Liu <[EMAIL PROTECTED]> wrote: >> >> Hi: >> >> I am trying to find a way to dynamically start/stop/deploy/update multi >> camel contexts using a web admin console and maybe groovy. Has anyone >> done >> this already? > > I've done something kinda similar; using the ServiceMix MicroKernel > you can hot deploy OSGi bundles (which are basically jars) and can > contain Camel routing rules, a Spring XML and so forth. > http://servicemix.apache.org/kernel/ > > Using the console you can start/stop bundles; it'd be trivial to add a > Groovy based console for doing the same kinda thing. Or you can just > edit, say a spring.xml or edit classes and have your IDE recompile > them on the fly & update the .class files to have the bundles hot > redeployed etc. > > So kinda similar to what you're suggesting, just implemented a > slightly different way. The nice thing is this approach deals nicely > with classloaders & reloading properly etc. > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/what-is-best-way-to-manage-multiple-camel-contexts-tp15047497s22882p15048076.html Sent from the Camel - Users mailing list archive at Nabble.com.
