Table of contents
Any message sent via Turbo Exchange can request a receipt of delivery (_receiptIndex).
Turbo Dispatch has only ever provided a receipt on Job messages, which is the MTS-ACK message, sent automatically by the recipient. Included in that message is the job number, and optionally agent number.
Turbo Dispatch compatibility mode
Firstly switch this on during initializtion of your application.
turboExchange.TurboDispatch.clsTDConverter.Simulate_MTSACK = true;
When a job is received by the recipient, a message containing the MTS-ACK will appear as any other message would.
What actually happens here, is the DLL keeps a record of the jobs sent, and builds an MTS-ACK message on reception of a Turbo Exchange receipt message.
Turbo Exchange mode
When you send a Turbo Dispatch compatible message, you can add an optional receipt index. This is a unique number that you generate (e.g. an incremental uInt number). When the message is received, the client will return a message with that unique number as conformation. This will appear in the MessageMill class. Using this method allows you to ask for a receipt for any message sent.
if (wrap._messageFormat == MessageWrapper.MessageFormat.ReturnReceipt)
