Caching
The default cache type is DEFAULT which is a simple in-memory cache. You cannot disable caching anymore. To enable caching with overflow to disk, configure the EhCache plugin. To enable distributed caching, configure the Hazelcast plugin. When you are scaling the EbMS Adapter, you should set enable Hazelcast.
EhCache
To enable EhCache:
- add the library to the classpath
- set environment variable
cache_type="PLUGIN" - you can override the default config by setting the environment variable
cache_configLocationyou can find the default EhCache configuration file here
Hazelcast
To enable Hazelcast: