...
There are some key points around the use of priority queues in Qpid, discussed in the sections below.
Defining Priority Queues
Under the covers, a priority queue is an instance of a different class from a vanilla queue. Thus, you You must define a priority queue specifically before you start to use it. You cannot subsequently change a queue to/from a priority queue (without deleting it and re-creating).
You define a queue as a priority queue in the virtualhost configuration file, which the broker loads at startup. When defining the queue, add a <priority>true</priority> element. This will ensure that the queue has 10 distinct priorities, which is the number supported by JMS.
...