Skip to content

Commit 9cd4ac3

Browse files
Expand #2191 by @pvladMQ and @MirahImage
1 parent 7935989 commit 9cd4ac3

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

docs/parameters.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,12 +349,14 @@ of matching queues (exchanges).
349349
**At most one policy matches** a queue or exchange. Since multiple policies can match a single
350350
name, a mechanism is needed to resolve such policy conflicts. This mechanism is called policy priorities.
351351
Every policy has a a numeric priority associated with it. This priority can be specified when declaring
352-
a policy. If not explicitly provided, the priority of 0 will be used.
352+
a policy. If not explicitly provided, the priority of 0 (a very low one) will be used.
353353

354354
:::important
355355
**At most one policy matches** a queue or exchange. Matching policies are then sorted by priority
356-
and the one with the highest priority will take
357-
effect.
356+
and the one with the highest priority will take effect.
357+
358+
Higher values indicate higher priority: a policy with priority 10 will overrule a policy with priority 8,
359+
and both will overrule the default priority of 0.
358360
:::
359361

360362
:::danger

versioned_docs/version-3.13/parameters.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,12 +349,14 @@ of matching queues (exchanges).
349349
**At most one policy matches** a queue or exchange. Since multiple policies can match a single
350350
name, a mechanism is needed to resolve such policy conflicts. This mechanism is called policy priorities.
351351
Every policy has a a numeric priority associated with it. This priority can be specified when declaring
352-
a policy. If not explicitly provided, the priority of 0 will be used.
352+
a policy. If not explicitly provided, the priority of 0 (a very low one) will be used.
353353

354354
:::important
355355
**At most one policy matches** a queue or exchange. Matching policies are then sorted by priority
356-
and the one with the highest priority will take
357-
effect.
356+
and the one with the highest priority will take effect.
357+
358+
Higher values indicate higher priority: a policy with priority 10 will overrule a policy with priority 8,
359+
and both will overrule the default priority of 0.
358360
:::
359361

360362
:::danger

versioned_docs/version-4.0/parameters.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,12 +349,15 @@ of matching queues (exchanges).
349349
**At most one policy matches** a queue or exchange. Since multiple policies can match a single
350350
name, a mechanism is needed to resolve such policy conflicts. This mechanism is called policy priorities.
351351
Every policy has a a numeric priority associated with it. This priority can be specified when declaring
352-
a policy. If not explicitly provided, the priority of 0 will be used.
352+
a policy. If not explicitly provided, the priority of 0 (a very low one) will be used.
353353

354354
:::important
355355
**At most one policy matches** a queue or exchange. Matching policies are then sorted by priority
356356
and the one with the highest priority will take
357-
effect. Higher values indicate higher priority (e.g. a policy with priority 10 will overrule a policy with priority 8).
357+
effect.
358+
359+
Higher values indicate higher priority: a policy with priority 10 will overrule a policy with priority 8,
360+
and both will overrule the default priority of 0.
358361
:::
359362

360363
:::danger

0 commit comments

Comments
 (0)