Integration Server 10.3 | Built-In Services Reference Guide | Cache Folder | Summary of Elements in this Folder | pub.cache.admin:enableCache
 
pub.cache.admin:enableCache
WmPublic. Enables a cache.
Input Parameters
cacheManagerName
String Name of the cache manager that manages the cache. This parameter is case sensitive.
cacheName
String Name of the cache to enable. This parameter is case sensitive.
Output Parameters
status
String The status indicating either Error or Success.
message
String The status message.
Usage Notes
Note:
Only users with administrator privileges can execute this service.
You cannot enable caches managed by system cache managers.
When you disable a cache, the cached elements are unavailable but still present in the cache. Use pub.cache.admin:enableCache to make the cached elements available again.
Integration Server returns a status of Error in the following cases:
*If the cache is managed by a system cache manager.
*If you do not specify all required input parameters.
*If Integration Server cannot find the specified cache manager or cache.
*If a cache operation fails.