Affinity fields
Affinities can be defined for any messages that have unique processing characteristics.
These affinities are used by the Affinity Manager component in selecting the datastores that can process the message. The affinity fields in the following table are used to add/define affinities to Energizer:
Field | Description |
---|---|
Affinity Type | Specifies one of the following resource association types to an affinity:
|
Value | Specifies one of the following values that are associated with the affinity type:
|
Value Type | Applies only to STRING - Message ID transaction types The field is used to specify whether Value should be interpreted as a readable 1-8 EBCDIC string, a readable 1-8 ASCII string, or a 2-16 hexadecimal string |
Active | Specifies whether this affinity is Active or Inactive The default is Active. The Affinity Manager ignores inactive affinities. |
Data Offset 1 | (Numeric) Specifies the offset within the message data, which further qualifies an affinity If this field is specified, the Data Operator 1 and Data Value 1 must also be specified. |
Data Operator 1 | Specifies which operator to use when comparing the message data (Data Offset 1 data) to the Data Value 1 If the Data Offset 1 field is specified, this field must be specified. Valid operators are as follows:
|
Data Value 1 | Specifies an actual data value to use for the comparison against the Data Offset 1 message data value If the Data Offset 1 field is specified, this field must be specified. |
Data Value Type 1 | Applies only to STRING - Message ID affinity types Specifies whether Data Value 1 should be interpreted as a readable 1-8 EBCDIC string, a readable 1-8 ASCII string, or a 2-16 hexadecimal string |
Data Operator | Specifies which logical operator to use when the two qualifying values are specified |
Data Offset 2 | (Numeric) Specifies the offset within the message data, which further qualifies an affinity If this field is specified, the Data Operator 2, and Data Value 2 must be specified. |
Data Operator 2 | Specifies the operator to use when comparing the message data (Data Offset 2 data) with the Data Value 2 Valid operators are as follows:
If the Data Offset 2 field is specified, this field must be specified. |
Data Value 2 | Specifies the actual data value to use for the comparison against the Data Offset 2 message data value If the Data Offset 2 field is specified, this field must be specified. |
Data Value Type 2 | Applies only to STRING - Message ID affinity types Specifies whether Data Value 2 should be interpreted as a readable 1-8 EBCDIC string, a readable 1-8 ASCII string, or a 2-16 hexadecimal string |
Destinations | Specifies the assigned affinity destination(s) The destination must be one or more datastores that are defined to the DataStore Router. |
Related topic