Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 11 Certified Message Delivery : Labeled Messages

Labeled Messages
A labeled message is like an ordinary Rendezvous message, except that it includes supplementary information, which CM transports can use for certified message delivery:
Sending a Labeled Message
Any CM transport can send a labeled message by using the sending calls in the certified message delivery library layer (see Table 27).
Table 27 CM Send Calls 
Receiving a Labeled Message
Two kinds of listening transport can receive labeled messages:
Ordinary Listener Transport
When an ordinary transport receives a labeled message, it presents it to the appropriate callback function as if it were an ordinary message. That is, it ignores the supplementary information that distinguishes a labeled message (the sender’s correspondent name and sequence number).
CM Listener Transport
When a CM transport receives a labeled message, its behavior depends on context:
If a CM listener transport is not registered for certified delivery with the sending CM transport, it presents the sending transport’s correspondent name to the callback function, but omits the sequence number.
In addition, if appropriate, the CM listener transport automatically requests that the sending transport register the listener for certified delivery. (See Discovery and Registration for Certified Delivery.)

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved