AMQP1.0 - QPID Proton python sending message to RabbitMQ 3.13.1 Queue. #11148
-
Hi all, I want to use the plugin rabbitmq_amqp1_0
The QPID Proton python receiver works well. I can consume message from a Queue in RabbitMQ. On the sender side I have some error on the rabbitMQ logs. trace: python client
trace: RabbitMQ log
I already tried with these prefixes, I have the same problem. https://github.com/rabbitmq/rabbitmq-amqp1.0?tab=readme-ov-file#routing-and-addressing
More detail.
I use the "AMQP default" exchange. I create 2 queues for testing. Sylvain |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Please see this comment in your other discussion. We need more information when you report issues. Also, please make a note of how I used |
Beta Was this translation helpful? Give feedback.
-
Hi luke please find the information in the attachment file. You can clone from https://github.com/sylvainrichardcool/amqp1.0-qpid-proton-python You can reproduce the issue in each queue. PN_TRACE_FRM=1 python3 sender-amqp_rabbitmq.py --address amqp://myhost.com:5676/exampleQueue -m 1 #durable queue Sylvain |
Beta Was this translation helpful? Give feedback.
-
@sylvainrichardcool thank you for providing your code. I forked your repository here and made everything a bit easier to work with: https://github.com/lukebakken/rabbitmq-server-11148-11151 I can reproduce this error, but I have no idea what is going on. I'm hoping that @ansd can assist. @ansd - please see the following repo with everything needed to reproduce: |
Beta Was this translation helpful? Give feedback.
-
The issue is on closer inspection to do with the message id - currently it is set to an integer type in the sender, if you try setting it to a string type it may work better. |
Beta Was this translation helpful? Give feedback.
-
Thanks to both of you. I noticed some problems in this version 3.13.1:
I hope the 4.0 implementation will fix these shortcomings Have a good day. |
Beta Was this translation helpful? Give feedback.
cc @sylvainrichardcool
Thanks @kjnilsson, indeed, if you change the code to this:
lukebakken/rabbitmq-server-11148-11151@5b9be59
...it works.
Though, the QPID proton docs state that an integer should work:
https://qpid.apache.org/releases/qpid-proton-0.39.0/proton/python/docs/proton.html#proton.Message.id