Configuring locking strategies for the embedded global cache
You can configure your embedded global cache to use locking strategies to suit the types of data that you store in your cache.
Before you begin
Complete the following steps:
- Understand the locking strategies and the data types for which they are appropriate, see Optimizing the embedded global cache for use with different types of cache data.
- Create the objectgrid.xml and deployment.xml files and configure the cache map names, see Optimizing the embedded global cache for use with different types of cache data.
About this task
You define the locking strategy for each cache map in
your embedded global cache by configuring the objectgrid.xml file.
You then configure the embedded global cache by using one of the following
methods:
- Place the objectgrid.xml file in a directory of the IBM® Integration Bus work path.
- Use the mqsichangeproperty command to set a property on the integration node cache manager to point to the objectgrid.xml file.
- Use the mqsichangeproperty command to set a property on the integration server cache manager to point to the objectgrid.xml file.
- Integration server (if no policy is set on the integration node)Note: If a policy is set on the integration node, the integration server inherits the properties of the integration node, and any properties set directly on the integration server are overwritten.
- Integration node
- IBM Integration Bus work path
Note: If you choose to configure the property on more than one
integration server (or integration node) in the same IBM Integration Bus installation, the properties
must result in the same map configuration to ensure consistency.