IBM App Connect Enterprise, Version 11.0.0.2 Operating Systems: Windows, Linux


Cache Remove

You can use the Cache Remove transform to remove a key-value pair from the global cache.

Overview

The Cache Remove transform accepts only input connections, which provide values for the parameters in the nested mapping.

You can assign or map only single values of type simple value to the key. If a mapped element is not of the appropriate data type, you can use the Cast type (xs:type) transform to assign the data type. If the element can contain multiple values, set the Cardinality property to ensure that a single value is mapped to the key; see Configuring the cardinality of a user-defined element.

You can add a Cache Return transform to your Cache Remove transform group if you want to perform some mapping after a successful Cache Remove transform. The Cache Remove transform provides the value of the entry that has been removed. You can then map this value in the Cache Return transform; see Cache Return.

You can add a Cache Failure transform to your Cache Remove transform group if you want to handle exceptions that might occur if the Cache Remove transform fails; see Cache Failure.

Parameters

The Cache Remove nested mapping has a number of parameters that you configure by mapping values or assigning fixed values. The following table describes the parameters that you can set when you use the Cache Remove transform:

Parameter Mandatory Description Result if no value is configured
Key Yes The name of the key in the key-value pair that is contained in the global cache map. Error
MapName You must specify a value for this parameter if you specify a value for the CacheName parameter. The name of the global cache map that contains the key-value pair. The default map in the cache is used. If you are using the embedded cache, the default map is SYSTEM.BROKER.DEFAULTMAP.

br26104_.htm | Last updated 2018-11-02 14:46:33