Use of message groups for FIN messages
- Column AM_MSG_GRP_ID of the message audit table
- Column MWH_MSG_GRP of the message warehouse table
For FIN messages, the message group can be used to correlate a request message with its corresponding acknowledgment, or with other, unsolicited SWIFTNet system messages. This is often simpler than correlating messages and acknowledgments by other means, such as by parsing each message to obtain its session sequence number and using that. The use of message groups also makes it possible to store, in the message warehouse, only index data, not the message body, yet still be able to retrieve the message contents and all other related records from the message audit table.
For an ISN message that is created locally, the message group is set either by the creating application or, if not set by the creating application, by the FIN service. When the SIPN FIN service receives an acknowledgment from the SIPN, it uses the session sequence number to determine the message group of the corresponding request message, and assigns the same group to the acknowledgment.
The SIPN FIN service generates message group for each OSN message it receives from the SIPN, and assigns the same message group to the acknowledgment it sends to the SIPN.