[
https://issues.apache.org/jira/browse/CAMEL-7965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281691#comment-14281691
]
Claus Ibsen commented on CAMEL-7965:
------------------------------------
This also requires us to find a solution to the issue when people remove
routes, which has endpoints that before would not be removed either from the
cache.
We should try to figure out if an endpoint is only in use by the route, and
thus safe to be removed.
> EndpointCache - Should keep endpoints from routes in the cache
> --------------------------------------------------------------
>
> Key: CAMEL-7965
> URL: https://issues.apache.org/jira/browse/CAMEL-7965
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.14.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.15.0
>
>
> See
> http://camel.465427.n5.nabble.com/camelContext-hasEndpoint-returns-null-when-endpoint-apparently-exists-tp5757907.html
> The endpoint cache is a LRU based. But endpoints created from the routes may
> not be looked up in the cache for a while, and could potential be evicted
> from the cache.
> We should keep those endpoints from the routes in the cache at all times.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)