Static Attribute Map Processor – Stores attributes to, and retrieves them from, a static map.
The Static Attribute Map Processor is basically just a static map used to store and retrieve transaction attributes. It was initially developed to handle synchronous responses requiring multiple Routes (Response Listeners). Values are placed into it by key and by transaction attribute name and retrieved by the same key, with the ability to specify keys using a transaction attribute. Once an item is retrieved it is removed from the map, so concurrent or sequential access is not yet possible. If an item is never retrieved it will stay in the map, which does not use soft references. This can lead to memory leaks, particularly in error conditions for a given Route.
Select the Processor Configuration tab and click on Add Processor.
Select the Static Attribute Map Processor from the drop down.
In the Basic tab you can set Key Name, Attribute Name and Mode (Store or Retrieve).
In the Conditional Execution tab you can set additional processor execution conditions. The Transaction data dependent condition may be specified here as enhanced expression. If this expression returns anything other than TRUE (ignore case) – this processor will be skipped.