camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: what is best way to manage multiple camel contexts
Date Wed, 23 Jan 2008 17:48:41 GMT
On 23/01/2008, tieying Liu <tieying@gmail.com> 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

Mime
View raw message