Cache Attribute

Contents

Overview

The Cache Attribute filter allows you to configure what part of the message you want to cache. Typically, response messages are cached and so this filter is usually configured after the routing filters in a circuit. In this case the content.body attribute stores the response message body from the Web Service and so this message attribute should be selected in the Attribute Name to Store field.

For more information on how to configure this filter in the context of a "caching circuit", please refer to the Global Caches tutorial.

Configuration

Name:
Enter a name for this filter here.

Select Cache to Use:
The list of currently configured caches will be displayed in the tree. Select the name of the cache to store the attribute value in. Global caches (both local and distributed) can be added from the Caches top level node in the tree view of the Policy Studio.

Attribute Key:
The value of the message attribute entered here acts as the key into the cache. In the context of a "caching circuit", it must be the same as the attribute specified in the Attribute containing key field on the Is Cached? filter.

Attribute Name to Store:
The value of the Oracle message attribute entered here will be cached in the cache specified in the Cache to use field above.