Priority


Type:
Two-byte integer of C type T_INT2
Default Value:
The message type priority, if set, is used. If the message type priority is unknown, then the message default is Default_Msg_Priority.
Valid Values:
Any integer from 0 to 65535 inclusive

The priority property identifies the level of importance of a message. The greater the number, the higher the importance. Priority determines the order in which a message is processed after it has been received. It does not affect the order in which messages are published. When a message is sent to a process through a connection, it is placed in the connection message queue of the receiving process in priority order. For a discussion of connection message queues, see Message Queue.

Function to set value:

TipcMsgSetPriority. For example:

if (!TipcMsgSetPriority(msg, 10)) { 
  /* error */ 
} 
Function to get value:

TipcMsgGetPriority. For example:

if (!TipcMsgGetPriority(msg, &priority)) { 
  /* error */ 
} 

TIBCO SmartSockets™ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com