Knowledge base

rabbitmq-maxpriority verifiedWritten by the Hub

Priority levels on the queue

in the configuration this is a linerabbitmq-maxpriority: 0

How many priority levels the consumed queue supports; zero means priorities are not used at all.

Values

Values
0 or a small positive integer
Default
0 · taken from the build
applying
restart required
where it can be set
in the config file · with a startup flag · as an environment variable

In detail

A message may carry a priority, but it is only honoured if the queue was declared with priority support — and a queue's priority setting cannot be changed after it exists, only recreated. So this is a decision made before the first message, not after: ship with zero and the priority property in a job is quietly ignored.