Response messages are messages returned by the destination to be delivered to the originator of
the request. A message without a destination address is assumed to be a response message.
Generic message will assign a request-sequence-number to all request messages before raising
GENERICMESSAGE_EGRESS event. The details of the originating flow (TMM and flow_id) of the request
will be stored in a pending request table on the outgoing connection.
Each response message is initially assigned the oldest request-sequence-number in the pending
request queue before raising GENERICMESSAGE_INGRESS event. Upon completion of the event the
message will be forward to stored connection from the pending request table using the
If the pending request table is empty, the response message will be routed via the route
The default response routing implementation assumes that responses will arrive in the order
that the requests were forwarded. If response message can arrive out of order, the script author
will need to set the appropriate request-sequence-number during GENERICMESSAGE_INGRESS event.