Skip to main content
Version: 2.20.x

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_configLocation you can find the default EhCache configuration file here

Hazelcast

To enable Hazelcast:

  • add the library to the classpath
  • set environment variable cache_type="PLUGIN"
  • you can override the default config by setting the environment variable cache_configLocation you can find the default Hazelcast configuration file here