Re: one context or multiple contexts?

2014-08-13 Thread peter_mine...@skycreek.com
In doing research about implementing multiple CamelContexts within a single JVM, I have seen the information on this page pop up in several different places. http://camel.apache.org/why-use-multiple-camelcontext.html "In general, you don't tend to want multiple camel contexts in your application,

Re: Camel Context shutdown by Spring Child Context

2014-05-28 Thread peter_mine...@skycreek.com
After much digging around, I agree this can be tricky to get right. Since I am working with a legacy monolithic application, the only solution I see is to create a separate Application Context for just Camel and the Messaging. This will keep it separate from the other Contexts and allow us, at so

Camel Context shutdown by Spring Child Context

2014-05-27 Thread peter_mine...@skycreek.com
I have a couple of Questions: I have a standalone (legacy) application that creates a Spring Parent Context which is where the CamelContext is created. Spring Batch is, also, created in the Parent Context. What this application does is create a Child Context for each of the Spring Batch Jobs when