190 IMS Connectivity in an On Demand Environment: A Practical Guide to IMS Connectivity
The following list describes these options:
Datastore Groups
A datastore group is a logical collection of datastores. Typically, datastore groups are
constructed to reflect the development life cycle: development, testing, and production.
A datastore can only be a member of one datastore group. Datastore groups are useful
during the construction of transaction routing rules for either transactions or datastores
and for the setting of pacing thresholds.
Affinity Lists
An affinity list is another logical group of datastores. Typically, affinity lists are constructed
on the basis of workload (transactions). A datastore can be included in more than one
affinity list. It is useful to define affinity lists when constructing transaction routing rules for
either transactions or datastores.
Applications
An application is a logical collection of transactions. A transaction can only belong to a
single application.
Applications are useful in the construction of transaction routing rules. They simplify the
definition of transaction routing rules by providing default options for all transactions
belonging to the application. If required, transaction routing options can override the
default application routing options.
11.3.1 Transaction routing
Transaction routing allows IMS Connect Extensions to alter the target IMS datastores that
process incoming transaction requests by dynamically changing the target datastore used for
IMS OTMA communication. This improves availability and performance.
An identifier within the incoming transaction request header sent by the client application
normally determines the target IMS datastore for processing. However, IMS Connect
Extensions provides routing by transaction that allows the target IMS datastore to be
substituted with an alternative. IMS Connect Extensions does not route all incoming message
requests. Table 11-1 shows which message types can be routed.
Table 11-1 Routing options for message types
Message type Routing option
Conversational The first message of a conversational transaction can be routed. All
subsequent messages of a conversational transaction will be routed to the
datastore that processed the first message in the conversation.
Non-conversational A non-conversational transaction can be routed.
Send Only A Send Only message can be routed.
Note: If the output from a Send Only is retrieved using RTPIPE then
transaction routing should not be active for these Send Only transactions.
RESUME TPIPE A RTPIPE message
cannot be routed. It will always be directed to the
datastore as defined in the incoming message request.
Ensure transaction routing is inactive for all transactions that create the
asynchronous output or change RTPIPE processing and send RTPIPEs to
all datastores that may have output.
ACK/NAK/DEALLOC All ACKs, NAKs and DEALLOCs will be routed to the datastore that
processed the first message.