The eiConsole’s Attribute Population Processor Populates a Transaction Attribute with a Value
The purpose of the eiConsole’s Transaction Attribute Population Processor is to populate a Transaction Attribute based on an expression. The Transaction Attribute Population Processor creates, alters or otherwise populates a Transaction Attribute with a specified name and using a supplied value or value expression. Only a single Transaction Attribute can be populated with each instance of this Processor, so multiple instances or chains are expected / normal for complicated interfaces. As with all the components of the eiConsole, the user is presented with a graphical interface with easy to configure panels.
To use the Processor, you follow these steps:
Identification – The Processor selected in the Add Processor dialog below:
Configuration – The Processor’s configuration panel below:
Transaction Attribute Name:
The name of the Transaction Attribute which will have its contents populated or replaced with the results of an evaluated expression.
The expression to be evaluated to obtain the Transaction Attribute value. This can be a literal, OGNL or an environmental variable.
The Transaction Attribute Population Processor is fairly simple to use in practice, having a small number of configurable items. A Transaction Attribute can be replaced, created or otherwise populated simply by specifying a name in the “Transaction Attribute Name” field and providing some sort of expression, be it literal, OGNL or an environmental property.
The configuration below will populate an attribute named “TEST_ATTRIBUTE” with the results of a literal expression:
An example of a literal value expression
In contrast, the configuration below will populate the same attribute with an OGNL expression which produces the same result:
An example of an OGNL expression