Hi,
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.
Willem
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.