[
https://issues.apache.org/jira/browse/CAMEL-25070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-25070:
--------------------------------
Fix Version/s: 4.23.0
> camel-core - Stream caching strategy is not stopped after a CamelContext
> restart
> --------------------------------------------------------------------------------
>
> Key: CAMEL-25070
> URL: https://issues.apache.org/jira/browse/CAMEL-25070
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.23.0
>
>
> Follow-up from CAMEL-25004 (https://github.com/apache/camel/pull/26862).
> The stream caching strategy is registered as an internal service of the
> CamelContext, and the internal services are cleared when the context stops.
> After a restart the same strategy instance is used but no longer tracked, so
> it is not stopped again the next time the context stops, and its spool
> directory is then left behind.
> This needs a look at how lazily created internal services are re-registered
> on restart.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)