How do I configure the maximum endpoint cache size for CamelContextPage added by Claus IbsenHow do I configure the maximum endpoint cache size for CamelContext?CamelContext will by default cache the last 1000 used endpoints (based on a LRUCache). Configuring cache sizeAvailable as of Camel 2.8 You can configure the default maximum cache size by setting the Exchange.MAXIMUM_ENDPOINT_CACHE_SIZE property on CamelContext.
getCamelContext().getProperties().put(Exchange.MAXIMUM_ENDPOINT_CACHE_SIZE, "500");
Change Notification Preferences
View Online
|
Add Comment
|
