Message expiration (-EXPIRY)

The -EXPIRY command specifies the amount of time that a message can spend on a queue before it becomes eligible for the queue manager to discard it.

-EXPIRY time
Option
Description
time
Expiry time in tenths (0.1) of a second. The default value (-1) specifies no message expiration.