Priority (-P)

Use the Priority adapter command (-P) to set the priority level of a message for data targets.

-P level_number
Option
Description
level_number
The priority can be any number including negative numbers. The lower the number is, the higher is its priority.

When messages with the same priority are placed on a queue, the message enqueued earlier is dequeued first. However, when messages have different priorities, the message assigned the highest priority (lowest number) is dequeued first, regardless of when it was enqueued.