8.3 Sending and acknowledging CDM messages
The transfer of CDM messages defined in accordance with the various parts of the CDM standard should take place using cloud-based storage.
The message sender and the message recipient may use the following approach to exchanging (and acknowledging) the CDM messages created in accordance with the various parts of the CDM standard:
The message sender, shall upload the file containing the CDM message to a mutually-agreed folder on a mutually-agreed cloud-based server;
Once the CDM message has been uploaded completely, the message sender, shall place a zero-byte semaphore file into the folder containing the uploaded CDM message;
The semaphore file shall have the same file name as the CDM message, except that:
The prefix shall be
ACK_
instead of the value in theMessageType
Cell of the CDM message; andThe file extension shall be
.ctrl
instead of.tsv
;
The message recipient shall download the uploaded CDM message once it has seen the semaphore file;
Once the message recipient has successfully downloaded the CDM message it shall delete the semaphore file from the cloud-based server;
The message recipient may also delete the uploaded CDM message from the cloud-based server at this stage; and
Should message sender and message recipient agree to communicate acknowledgements for CDM messages, the message recipient, shall place an acknowledgement message file into the folder containing the uploaded CDM message.