Invalidate Cache
The policy configures how the cached values should be purged from the cache. The data matching the key specified will be purged. This policy provides an option to purge the cache populated using the Populate Cache policy based on conditions.
Configuration
The properties that have to be configured to use this policy are described below.
Figure 1: Invalidate Cache Policy Configuration attributes
Property | Description |
Cache Name | The name of the cache in which the entry resides. |
Key | The part of the message or a constant which identifies the key whose value has to be made unavailable from the cache. |
Delete Cache | Enable this property to delete a cache entirely. |
Example
Refer to the example Invoking OAuth and Caching Access Tokens for a Use Case where this policy has been used.