[ 
https://issues.apache.org/jira/browse/CAMEL-7965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281330#comment-14281330
 ] 

Claus Ibsen commented on CAMEL-7965:
------------------------------------

A workaround is to set a higher cache size

>From Camel 2.15 onwards the endpoint cache has a static and dynamic part, so 
>we always keep the route endpoints in the static part, and leave the dynamic 
>cache for ad-hoc endpoints.

> 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)

Reply via email to