Hi Claus, I just tested the routes in our apps. Even with two separate running contexts I am able to see messages flowing between them! Whether this is a actual camel issue or jconsole issue (or even possibly, the MBean part of Camel issue) I don't know.
Thanks Doug Claus Ibsen-2 wrote: > > Hi > > I guess you might have found an issue there, or at least in the jconsole. > > Does the endpoints/consumers etc. work, but it's only the jconsole not > showing the correct picture? > I guess we need some unit tests with multiple context in the same > spring xml file. > > > > On Mon, Dec 15, 2008 at 11:04 PM, dougly <dmly....@gmail.com> wrote: >> >> 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. >> >> > > > > -- > > /Claus Ibsen > Apache Camel Committer > Blog: http://davsclaus.blogspot.com/ > > -- View this message in context: http://www.nabble.com/Multiple-Running-Context-tp21022918s22882p21035441.html Sent from the Camel - Users mailing list archive at Nabble.com.