You can configure your embedded global cache to use different
locking strategies for different cache maps, and you can configure
the use of replica shards of a cache map for read access.
About this task
The embedded global cache in
IBM App Connect Enterprise supports the configuration
of the following properties:
Procedure
If you want to configure locking strategies or read access
to replica shards of a cache map, you must complete the following
steps:
- Create a copy of the following files from the InstallDir\server\sample\globalcache directory
where InstallDir is the IBM App Connect Enterprise installation directory:
- objectgrid.xml
- deployment.xml
- Open the objectgrid.xml file and add
or edit the
backingMap name
entries in the <objectGrid
name="WMB">
section with patterns that match the names of
your cache maps.
- Open the deployment.xml file and
add or edit the
map ref
entries in the <objectgridDeployment
objectgridName="WMB">
section with patterns that match the
names of your cache maps. Note:
- You must not remove the entry that matches the default cache map
for the IBM App Connect Enterprise embedded global
cache (
SYSTEM.BROKER.*
).
- The
backingMap name
entries in the objectgrid.xml file
must be the same as the map ref
entries in the deployment.xml file.
- Optional: If you want to configure locking
strategies for cache maps in the embedded global cache, see Configuring locking strategies for the embedded global cache.
- Optional: If you want to configure the embedded
global cache to read data from a replica shard of a cache map, see Configuring the embedded global cache to read data from replica shards of a cache map.