camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Borges <bruno.bor...@gmail.com>
Subject Re: Shutdown context with dynamically added routes
Date Mon, 25 Jun 2012 20:58:29 GMT
Problem solved:

I'm using the ActiveMQ pooled connection factory, so it goes up thanks to
Spring.

So, Spring must shutdown too. :-)


*Bruno Borges*
(21) 7672-7099
*www.brunoborges.com*



On Mon, Jun 25, 2012 at 5:39 PM, Bruno Borges <bruno.borges@gmail.com>wrote:

> I load a camelContext that connects 5 consumers to ActiveMQ, then when I
> stop the context with camelContext.shutdown(),  the number of consumers
> does not decrease, messages continue to be consumed somehow, but with lots
> and lots of exceptions.
>
> Is there something I'm missing?
>
>
>
>
> *Bruno Borges*
> (21) 7672-7099
> *www.brunoborges.com*
>
>
>
> On Mon, Jun 25, 2012 at 5:23 PM, Bruno Borges <bruno.borges@gmail.com>wrote:
>
>> It seems that Camel is not shutting down properly when the context has
>> dynamically created/added routes. These routes keep running.
>>
>>
>> *Bruno Borges*
>> (21) 7672-7099
>> *www.brunoborges.com*
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message