2. MULE CACHE SCOPE
• The Cache Scope saves on time and processing load by storing and reusing frequently called data. You
can put any number of message processors into a cache scope and configure the caching strategy to
store the responses (which contain the payload of the response message) produced by the processing
that occurs within the scope. Mule’s default caching strategy defines how data are stored and reused,
but if you want to adjust cache behavior, you can customize a global caching strategy in Mule and make
it available for use by all cache scopes in your application.
4. MULE CACHE SCOPE – CONFIGURATION WIZARD
(GENERAL TAB)
• Following are the options on general tab –
• Display Name – Name of the component to be displayed in Mule flow.
• Use default caching strategy – Use this radio button to use default caching mechanism.
• Reference to a Strategy – Use this radio button to refer to global caching strategy.
• Process all messages – Filter mechanism to process all messages.
• Filter messages using an expression – Use this to filter messages according an expression.
• Filter messages using a global filter – Use this to filter messages according a global filter strategy.
6. MULE CACHE SCOPE – STRATEGY CONFIGURATION
WIZARD (GENERAL TAB)
• Following are the options on general tab –
• Name – Name of the cache strategy.
• Object Store – Reference to the object store configuration.
• Default – Default mechanism to generate object keys according to events.
• Key Expression – Special key expression to generate object keys according to events.
• Key Generator – Reference to key generator configuration to create object keys according to events.
8. MULE CACHE SCOPE – STRATEGY CONFIGURATION
WIZARD (ADVANCED TAB)
• Following are the options on advanced tabs –
• Response Generator – Configuration for response generator.
• Consumable Message Filter – Configuration to detect if message is consumable payload.
• Simple event copy strategy – Use this to radio button for simple event copy strategy. The data will be
immutable.
• Serializable event copy strategy – Use this for serialized event copy strategy. Data will be mutable.
9. MULE CACHE SCOPE – NOTES TAB
• Notes Tab is used to add special notes for Mule Cache Scope component.