Replies: 5 comments 8 replies
-
|
@zlepper a client library can decide to use an Other client libraries are not forced to use it in any way, so I'm not sure what kind of opinion you are looking for. |
Beta Was this translation helpful? Give feedback.
-
|
Looks like the issue is that this client does not handle a header value serialized as The .NET client writes it as a UInt64 and this client fails to deserialize it. Since the way to reproduce is known and @zlepper even has a libpcap/Wireshark traffic capture, it's reasonable to just file an issue. In every discussion of AMQP 0-9-1 data types, headers and tables (it's a data type in AMQP 0-9-1) in general we must mention this AMQP 0-9-1 errata document. |
Beta Was this translation helpful? Give feedback.
-
|
Despite rabbitmq/rabbitmq-dotnet-client#1806, the scenarios where a header value is set to an unsigned 32 or 64-bit integer should be handled by this library. Neither of those are common scenarios, and in some programming languages you cannot really express an unsigned integer, so it's not something urgent but still. Here are both Java and .NET client implementations for reference, plus the AMQP 0-9-1 errata document from the RabbitMQ core team. @gftea I hope this summarizes the problem for you. I can file an issue if you'd like me to |
Beta Was this translation helpful? Give feedback.
-
|
rabbitmq/rabbitmq-dotnet-client#1806 There isn't anything strictly necessary for this library to do. I'm treating the Having said that, the RabbitMQ Java client encodes and decodes strings in UTF-8. The .NET client has never done so, and of course, the AMQP 0.9.1 spec says nothing about how strings should be encoded (link). |
Beta Was this translation helpful? Give feedback.
-
|
Hi, this client does assume utf8 for str encode/decode. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have started a discussion in the
rabbitmq-dotnet-clientrepo about some strange header that that library seems to be emitting. I thought you might want a chance to weight in from the amqprs perspective: rabbitmq/rabbitmq-dotnet-client#1805In an attempt to keep all information in one place i have not copied the entire main question here for now. I will do that if requested :)
Beta Was this translation helpful? Give feedback.
All reactions