> 1. Is the above a good design?

Yes, definitely!

> 2. Can there be mutiple camel contexts within
> a JVM (thread safe?)

Yes, there sure can be...

> 3. What could be a better design for the above case

You might want to consider using Felix Karaf or FUSE ESB to run your
camel routes in, then you just need to focus on writing your Camel
bundles and little else.

On Wed, Feb 24, 2010 at 12:20 PM, sandibh <sdand...@gmail.com> wrote:
>
> Hi,
>
> I am working on an application that has multiple, independent workflows and
> each workflow has atmost two routes (so all the routes in the application
> are inherently independent). At deployment time, the client wants to be
> provided with a facility of deploying few workflows in one JVM, few others
> in another JVM etc.
>
> I am thinking of having a camel context spring xml and a launcher/Main class
> for each workflow and then jar it up so that each workflow can be started
> independently and behaves like a bundle at deployment time.
>
> Following are the questions.
> 1. Is the above a good design? 2. Can there be mutiple camel contexts within
> a JVM (thread safe?) 3. What could be a better design for the above case
>
> Thanks
>
>
>
> --
> View this message in context: 
> http://old.nabble.com/design-of-camel-workflows-tp27714255p27714255.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to