[
https://issues.apache.org/jira/browse/CAMEL-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-6203.
--------------------------------
Resolution: Won't Fix
> Cache configuration using properties file
> -----------------------------------------
>
> Key: CAMEL-6203
> URL: https://issues.apache.org/jira/browse/CAMEL-6203
> Project: Camel
> Issue Type: Improvement
> Components: camel-cache
> Reporter: Piotr Klimczak
> Labels: camel-cache, ehcache, properties
>
> There should be a way to configure camel-cache with properties file using
> DefaultPropertiesResolver#loadPropertiesFromClasspath. So the route might
> look like this:
> {code}
> from("cache://myCache?configurationFile=classpath:com/foo/mycache.properties")...
> {code}
> instead of
> {code}
> from("cache://MyApplicationCache" +
> "?maxElementsInMemory=1000" +
> "&memoryStoreEvictionPolicy=" +
> "MemoryStoreEvictionPolicy.LFU" +
> "&overflowToDisk=true" +
> "&eternal=true" +
> "&timeToLiveSeconds=300" +
> "&timeToIdleSeconds=true" +
> "&diskPersistent=true" +
> "&diskExpiryThreadIntervalSeconds=300")
> {code}
> This improvement was added due to Henryk Konsek request.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)