trq_set_soft_mark()
#
trq_set_soft_mark()
sets or clears a soft mark on a given queue message.
Prototype
uint64_t trq_set_soft_mark(
q_msg msg,
uint64_t soft_mark,
BOOL set
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The queue message on which the soft mark is to be set or cleared. |
|
|
The soft mark value to be applied to the message. |
|
|
If |
Return Value
Returns the updated soft mark value of the message.
Notes
Soft marks are used for temporary message state tracking and do not persist across queue restarts.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples