You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Bruno Borges <br...@gmail.com> on 2012/06/25 22:23:55 UTC
Shutdown context with dynamically added routes
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*
Re: Shutdown context with dynamically added routes
Posted by Bruno Borges <br...@gmail.com>.
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 <br...@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 <br...@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*
>>
>>
>
Re: Shutdown context with dynamically added routes
Posted by Bruno Borges <br...@gmail.com>.
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 <br...@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*
>
>