Closed epgeroy closed 2 years ago
Which version of Rebus.RabbitMq are you using?
Which version of Rebus.RabbitMq are you using?
I'm using 7.3.1-b9
Update. Is not related to the length of the message and is not a competing consumers problem also.
I think you'll need to update to 7.3.1-b11
and I realize now that NuGet might not understand that b11 comes after b9, as it'll probably treat the prerelease portion of the version number as a string...
So.... for now, update to 7.3.1-b11 by going
update-package rebus.rabbitmq -version 7.3.1-b11
OK I've just published version 7.3.2-b01 which will sort properly, and thus if you
update-package rebus.rabbitmq -pre
you'll end up with it.
It has had a bug fixed, which should result in no more mangled message bodies. The problem seemed to be that the RabbitMQ driver would reuse byte arrays (probably from an internal object pool of some kind) too early, and so the Rebus transport needed to clone the data before that happened.
Sorry about any inconvenience this might have caused. 😐
Thank you so much, this was fast. I end up downgrading to 7.3.0 and everything was working. I'll update to the latest version
I have a really weird error in a rebus + rabbitmq project
While deserializing using this really simple implementation
I checked all the pulled messages and they were properly formatted, encoded, and valid JSONs, they even worked after several attempts. I also set the parallelization to 1 in case there were any relation and for debugging purposes
This is my configuration in case that is relevant
The only thing I can think of is that the content of the message is too long. I'll update this issue tomorrow with my findings reducing the length of the message body.
Any ideas on what is going on? Thanks in advance