You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: release-notes/4.0.1.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -70,13 +70,14 @@ accidentally sacrificed.
70
70
### AMQP 0.9.1 x-death header
71
71
72
72
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.
74
74
75
75
RabbitMQ 4.x will not interpret this `x-death` header anymore when clients (re-)publish a message.
76
76
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.
77
77
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.
0 commit comments