camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" <claus.ib...@gmail.com>
Subject Re: Multiple Running Context
Date Tue, 16 Dec 2008 05:07:50 GMT
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.usa@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/

Mime
View raw message