Skip to content

Commit f153b73

Browse files
artembilanmergify[bot]
authored andcommitted
Consistent Hash doc improvement
Mention in the docs that `hash-header` and `hash-property` are mutually exclusive. (cherry picked from commit 8b7ba05)
1 parent 8004c1b commit f153b73

File tree

1 file changed

+2
-1
lines changed
  • deps/rabbitmq_consistent_hash_exchange

1 file changed

+2
-1
lines changed

deps/rabbitmq_consistent_hash_exchange/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,10 +573,11 @@ ok.
573573

574574
### Routing on a Message Property
575575

576-
In addition to a value in the header property, you can also route on the
576+
Instead of a value in the header property, you can route on the
577577
``message_id``, ``correlation_id``, or ``timestamp`` message properties. To do so,
578578
declare the exchange with a string argument called ``"hash-property"`` naming the
579579
property to be used.
580+
The `"hash-header"` and `"hash-property"` are mutually exclusive.
580581

581582
When a `"hash-property"` is specified, the chosen property **must be provided**.
582583
If published messages do not contain the property, they will all get

0 commit comments

Comments
 (0)