TipcMsgSetDeliveryMode set the delivery mode of a message
msg
message to set delivery mode for
delivery_mode
message delivery mode (T_IPC_DELIVERY_BEST_EFFORT, T_IPC_DELIVERY_ORDERED, T_IPC_DELIVERY_SOME, or T_IPC_DELIVERY_ALL)
TRUE
if the delivery mode was successfully set for the message, FALSE
otherwise.
If TipcMsgSetDeliveryMode fails, it returns FALSE
and sets the global SmartSockets error number to one of:
TipcMsgSetDeliveryMode sets the delivery mode of a message. The delivery mode of a message controls what level of guarantee is used when the message is sent through a connection with TipcConnMsgSend. Valid delivery mode values are:
TipcMsgSetDeliveryMode overwrites the default value of the delivery mode property set by TipcMtSetDeliveryMode. See TipcMsgGetDeliveryMode for more information on message delivery modes.
If you are sending messages to JMS clients, set the delivery mode to T_IPC_DELIVERY_ORDERED.
TipcMsgGetDeliveryMode, TipcMtSetDeliveryMode
This example sets the delivery mode of a message:
TIBCO SmartSockets™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |