6.7.2. Declaring a Priority Queue
To declare a priority queue, specify a value for
qpid.priorities
in the x-declare
arguments of the node declaration. For example:
- Python
sender = session.sender('my-queue; {create: always, node:{x-declare:{arguments:{qpid.priorities:10}}}}')
Using
qpid-config
:
qpid-config add queue 'my-queue; {create: always, node:{x-declare:{arguments:{qpid.priorities:10}}}}'