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

Claus Ibsen commented on CAMEL-14596:
-------------------------------------

Got a prototype working with toD and it avoids circulating 1000 endpoints in 
the global endpoint registry when dynamic endpoints are unique and not 
reusable, which would be the point when you disable the cache by setting it to 
-1.

Pascals demo app can now run with 27mb vs 54mb heap

> ToD and RecipientList with no cache can avoid caching endpoints
> ---------------------------------------------------------------
>
>                 Key: CAMEL-14596
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14596
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.2.0
>
>
> When using dynamic EIPs like toD and Recipient List with disable cache (cache 
> size = -1) we can optimize to avoid using the endpoint registry/cache on 
> camel context. As these endpoints are short-lived and because the end user 
> have declared the cache size = -1. Currently that cache size is for the 
> producer of the endpoints.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to