camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Need help developing camel based application
Date Tue, 06 Apr 2010 10:22:06 GMT

The Spring Main class support to start with multiple ApplicationContext. 
you can pass the ApplicationContext files into it, or use <imports> to 
put all the modules routes together.
But you may not share a single camel context within these routes.


srinidandi wrote:
> Hi,
> I am new to Camel and I am working on a new application that has multiple
> independent modules. Each module has a workflow and there should be an
> ability to start multiple modules / workflows in a single jvm instance. 
> In the above scenarion, if I use camel dsl, each module will have its own
> camel context xml which will have the routes defined and a spring main class
> to start a module in its own jvm instance. But how can the ability to start
> multiple modules in a single jvm instance be provided using a single main
> launcher class? 
> Please help.

View raw message