Just out of interest - why do you want 2 CamelContext instances? The idea in Camel is that there is only one per Spring XML
2008/12/15 dougly <dmly....@gmail.com>: > > Hi riders, > Is Camel 1.5 supporting multiple running context? I am trying to setup two > contexts in the same web application and it's not functioning properly. > Here is the config: > > <camelContext xmlns="http://activemq.apache.org/camel/schema/spring" > id="camel_email_context"> > <routeBuilderRef ref="mailRoute" /> > <routeBuilderRef ref="emailMessageRoute" /> > </camelContext> > > <bean id="mailRoute" class="..." /> > <bean id='mailConfigure' class="..." /> > > <camelContext xmlns="http://activemq.apache.org/camel/schema/spring" > id="memoCreationContext"> > <routeBuilderRef ref="memoCreationRoute" /> > </camelContext> > > <bean id="memoCreationRoute" class="..." /> > > I use jconsole to view the consumer/endpoints. The 2 contexts are created > OK. But their endpoints/consumers are all messed up: > > http://www.nabble.com/file/p21022918/ScreenShot001.jpg > > As you can see in the screenshot: only one consumer is created. The > "memoCreationContext" is not. > Also the endpoints of that "memoCreationContext" doesn't contain anything > except the Spring event. > > Thanks guys > -- > View this message in context: > http://www.nabble.com/Multiple-Running-Context-tp21022918s22882p21022918.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/