Accessing a global cache by using a Mapping node
You can use a Mapping node to interact with a map in an embedded cache or external WebSphere® eXtreme Scale grid.
Before you begin
- Read the concept information in Data caching overview.
- Ensure that the embedded cache or external grid is available. The embedded cache is disabled by default. To use the cache, select an integration node level cache policy; see Configuring the embedded global cache.
- If you are connecting to an external grid, create a configurable service to define how the connection is made. For more information, see mqsicreateconfigurableservice command (deprecated).
About this task
You can use a Cache Get transform in a Mapping node to retrieve data from the cache for processing or routing; see Retrieving a value from the global cache by using a Mapping node.
You can use a Cache Remove transform in a Mapping node to remove a key-value pair from the cache; see Removing a key-value pair from the global cache by using a Mapping node.
If you want to handle any exceptions that are returned by the Cache transform, you can add a Cache Failure transform to the Cache transform group; see Handling global cache exceptions in a graphical data map.