Expiration (-E)
Note: The Expiration adapter command (-E)
requires that the queue manager be started.
Use the Expiration adapter command (-E) for data targets to specify the length of time (in seconds) that a message is available on the queue before it expires. If the message is not dequeued within the specified time, the message expires and is moved to the exception queue.
-E exp_time_in_sec
- Option
- Description
- exp_time_in_sec
- This is the length of time (in seconds) that a message is available on the queue before it expires.
If the Delay adapter command (-D) is used to specify a delay time, the expiration time begins after the delay time has lapsed. For example, if a delay time of two seconds is specified with a five-second expiration time, the message expires in seven seconds and is moved to the exception queue.