-
Notifications
You must be signed in to change notification settings - Fork 3.9k
AMQP 1.0 Application Properties lost when shovelling to an AMQP 0.9.1 broker #13957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As explained in #11729 (comment), the solution for RabbitMQ 4.x should use the Advantages:
|
Hi @ansd, my apologies I misunderstood your prior message. I thought you were referring to a different method of fixing the bug, not that there already exists different functionality to achieve this. Can you please direct me to the documentation on how to set this up as I have searched the RabbitMQ docs and tried a few different configurations with no success. Below is my setup:
I was initially doing the conversion using the shovel (Source protocol AMQP 1.0 & destination AMQP 0.9.1) and getting no properties. I have just attempted to shovel with both source and destination AMQP 1.0 and still getting no properties other than delivery_mode: 2 being added. As mentioned, conversion using the shovel successfully retains the properties for RabbitMQ V3.12.11+ and V3.13.5+. |
@DHoskin-Aurizon David is describing a different implementation for What exists is a set of internal API elements that should be used in all |
@michaelklishin thanks for the clarification. If I understand your comment correctly, the functionality I am seeking is indeed a bug in the |
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
Expected behavior
The message received from the shovel contains the converted Properties/Headers.
Additional context
Refer to #7508 and #11729
The text was updated successfully, but these errors were encountered: