Skip to content

Commit ab97ab5

Browse files
4.0.1 release notes: wording
(cherry picked from commit 2eeac4b)
1 parent 89a2ac0 commit ab97ab5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

release-notes/4.0.1.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,14 @@ accidentally sacrificed.
7070
### AMQP 0.9.1 x-death header
7171

7272
Up to RabbitMQ 3.13, when an AMQP 0.9.1 client (re-)published a message to RabbitMQ, RabbitMQ interpreted the
73-
AMQP 0.9.1 [x-death](https://www.rabbitmq.com/docs/dlx#effects) header in the published message's `basic_message.content.properties.headers` field.
73+
AMQP 0.9.1 [`x-death`](https://www.rabbitmq.com/docs/dlx#effects) header in the published message's `basic_message.content.properties.headers` field.
7474

7575
RabbitMQ 4.x will not interpret this `x-death` header anymore when clients (re-)publish a message.
7676
Note that RabbitMQ 4.x will continue to set and update the `x-death` header every time a message is dead-lettered, including when a client **rejects** the message.
7777

78-
If you have a use case where you relied on RabbitMQ incrementing the `count` fields within the `x-death` header array elements for new messages **(re-)published**
79-
(instead of existing messages being rejected), consider introducing and incrementing [your own custom non `x-` header](https://github.com/rabbitmq/rabbitmq-server/issues/10709#issuecomment-1997083246) instead.
78+
Applications that rely on RabbitMQ incrementing the `count` fields within the `x-death` header array elements for new messages **(re-)published**
79+
(instead of existing messages being rejected), should introduce and increment [a separate `x-` header](https://github.com/rabbitmq/rabbitmq-server/issues/10709#issuecomment-1997083246),
80+
with a name that would not be updated by RabbitMQ itself.
8081

8182
### CQv1 Storage Implementation was Removed
8283

0 commit comments

Comments
 (0)