You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/02/25 06:56:00 UTC
[jira] [Reopened] (CAMEL-16238) Registry is not released after
camelcontext calls the shutdown method
[ https://issues.apache.org/jira/browse/CAMEL-16238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reopened CAMEL-16238:
---------------------------------
Assignee: Claus Ibsen
In Camel 3 we now have a fallback registry which is an internal map - and yeah it can benefit when stopping to clear that map, and null the registry reference, to cleanup nicely.
> Registry is not released after camelcontext calls the shutdown method
> ---------------------------------------------------------------------
>
> Key: CAMEL-16238
> URL: https://issues.apache.org/jira/browse/CAMEL-16238
> Project: Camel
> Issue Type: Bug
> Components: came-core
> Affects Versions: 3.7.0
> Reporter: fly
> Assignee: Claus Ibsen
> Priority: Major
>
> I found that when I called the shutdown method on camelcontext, the registry on camelcontext was not released and still held the bean instance. This can lead to a memory leak.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)