The Class of Service has different semantics for direct and guaranteed messages. For direct messaging, it determines the WRR weight for the message. For guaranteed messaging, it indicates the discard eligibility of the message if the endpoint is congested (see LowPriorityMsgCongestion)
public enum UserCos
Cos1 | 0 | The Default class of service for published messages, it represents the lowest value. |
Cos2 | 1 |
The middle class of service value.
For guaranteed messaging, it is reserved for future use and is treated these same as Cos1. |
Cos3 | 2 | The highest class of service value. |