How to specify Ehcache options using Play 1.2.4

Is it possible to set the Ehcache properties from application.conf using the Play platform?

i.e. in application.conf, I can specify something like:

timeToLiveSeconds=36000
+3
source share
2 answers

As far as I know, this is not supported. The configuration options supported by Play 1.2.4 are documented here , and there is nothing like this in the list. Ehcache-specific parameters cannot be found in the Play cache API, since it must provide a common interface for caching functions, regardless of the actual implementation (Ehcache, Memcached).

0
source

Gist at https://gist.github.com/oscarrenalias/5063249 ehcache.xml conf/folder, , Play 1.

+2

All Articles