rabbitmq-server icon indicating copy to clipboard operation
rabbitmq-server copied to clipboard

AMQP 1.0 Application Properties lost when shovelling to an AMQP 0.9.1 broker

Open DHoskin-Aurizon opened this issue 5 months ago • 4 comments

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

  1. Set up a shovel from AMPQ 1.0 to AMQP 0.9.1
  2. Publish a message to the AMQP 1.0 broker with Application Properties
  3. 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

DHoskin-Aurizon avatar May 27 '25 07:05 DHoskin-Aurizon