/AWS1/CL_GMLROUTINGSTRATEGY¶
The routing configuration for a fleet alias.
Related actions
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_type TYPE /AWS1/GMLROUTINGSTRATEGYTYPE /AWS1/GMLROUTINGSTRATEGYTYPE¶
The type of routing strategy for the alias.
Possible routing types include the following:
SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.
TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the message embedded.
iv_fleetid TYPE /AWS1/GMLFLEETID /AWS1/GMLFLEETID¶
A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
iv_message TYPE /AWS1/GMLFREETEXT /AWS1/GMLFREETEXT¶
The message text to be used with a terminal routing strategy.
Queryable Attributes¶
Type¶
The type of routing strategy for the alias.
Possible routing types include the following:
SIMPLE - The alias resolves to one specific fleet. Use this type when routing to active fleets.
TERMINAL - The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the message embedded.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
FleetId¶
A unique identifier for the fleet that the alias points to. This value is the fleet ID, not the fleet ARN.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FLEETID() |
Getter for FLEETID, with configurable default |
ASK_FLEETID() |
Getter for FLEETID w/ exceptions if field has no value |
HAS_FLEETID() |
Determine if FLEETID has a value |
Message¶
The message text to be used with a terminal routing strategy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MESSAGE() |
Getter for MESSAGE, with configurable default |
ASK_MESSAGE() |
Getter for MESSAGE w/ exceptions if field has no value |
HAS_MESSAGE() |
Determine if MESSAGE has a value |