trq_set_soft_mark()

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

msg

q_msg

The queue message on which the soft mark is to be set or cleared.

soft_mark

uint64_t

The soft mark value to be applied to the message.

set

BOOL

If TRUE, the soft mark is set; if FALSE, the soft mark is cleared.


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