Ah yes, it stops with the chain in my test loop. How do you stop the route?

Taariq

On Fri, Dec 30, 2011 at 3:50 AM, Willem Jiang <willem.ji...@gmail.com>wrote:

> Hi,
>
> I don't know how you stop the route.
> The ProducerCache is service, it should be stop which the service chain.
> Please use the API stopRoute(String routeId) which is provided by
> CamelContext , instead of stopping the route itself.
>
>
> On 12/30/11 1:42 AM, suman wrote:
>
>> Hello All,
>> Iam using camel 2.8.3 and have an issue regarding ProducerCache objects
>> not
>> being garbage collected.
>> I browsed through this list regarding the same with not much luck.
>> I dynamically start and stop the route throughout my application and when
>> i
>> do that it seems like camel retains lot of SendProcessor and ProducerCache
>> instances(Within camel Spring context).
>> Is there any solution to this problem?
>>
>> Many Thanks
>>
>>
>>
>> --
>> View this message in context: http://camel.465427.n5.nabble.**
>> com/ProducerCache-memory-leak-**tp5108206p5108206.html<http://camel.465427.n5.nabble.com/ProducerCache-memory-leak-tp5108206p5108206.html>
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>
> --
> Willem
> ------------------------------**----
> FuseSource
> Web: http://www.fusesource.com
> Blog:    
> http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English)
>         http://jnn.javaeye.com (Chinese)
> Twitter: willemjiang
> Weibo: willemjiang
>

Reply via email to