The parameters available to configure the Cache mediator are as follows.
|Cache ID||The ID of the cache configuration. If you have multiple cache mediators within your Synapse configuration, define Cache IDs to map the corresponding collector and finder. |
The scope of the cache. Possible values are as follows.
- Per-Host: The cache is kept only for the current host in a cluster.
- Per-Mediator: The cache is kept once for the whole cluster.
This parameter specifies whether the mediator should be in the incoming path (to check the request) or in the outgoing path (to cache the response). Possible values are as follows.
- Finder: If this is selected, the mediator is used to search for the request hash of incoming messages.
- Collector: If this is selected, the mediator is used to collect response messages in the cache.