rabbitmq-server
rabbitmq-server copied to clipboard
AMQP 1.0 Application Properties lost when shovelling to an AMQP 0.9.1 broker
Describe the bug
RabbitMQ Shovel currently does not keep the AMQP 1.0 Application Properties and AMQP 0.9.1 Properties/Headers in sync when copying messages between exchanges or queues when transferring messages between AMQP 1.0 and AMQP 0.9.1 brokers as per https://www.rabbitmq.com/docs/conversions
Properties/Headers are retained when shovelling from AMQP 0.9.1 -> AMQP 1.0 but are lost when shovelling from AMQP 1.0 -> AMQP 0.9.1 in RabbitMQ V4.*.
Properties/Headers are retained in both directions in RabbitMQ V3.12.11+ and V3.13.5+.
Reproduction steps
- Set up a shovel from AMPQ 1.0 to AMQP 0.9.1
- Publish a message to the AMQP 1.0 broker with Application Properties
- The received message on the AMQP 0.9.1 broker has no Properties/Headers
Expected behavior
The message received from the shovel contains the converted Properties/Headers.
Additional context
Refer to https://github.com/rabbitmq/rabbitmq-server/issues/7508 and https://github.com/rabbitmq/rabbitmq-server/pull/11729