Return value
The return value contains an updated route detail list and any message that should be processed using the route detail list:
- If multiple messages are returned, then the messages are processed in sequence by the returned list of route details.
- If no message is returned, then the translation of the source message ends. The source message that is given to the procedure is not moved to the protocol thread or post-translation queue. This stops the translation. Messages that are generated by previous route details can still be delivered.
- In some instances, one or more
messages and a route detail list containing one or more details are returned. In
these instances, each message is given in sequence to the route details.
If the routine returns no messages and a non-empty route detail list, then it is considered an error.
- If a route detail list is not returned but one or more messages are, then the translation of the source message ends. The message that is returned by the procedure are moved to the partial queue.
Note: The route detail list that is returned
applies only to the current message and any subsequent messages that are derived from
the current message. When a new message is removed from the pre-translation queue, the
route detail list that is defined in the NetConfig file is used.