❔ Losing bytes when delivering dynamic object via RabbitMQ
Hey there got a bit of a complex problem.
Got this code:
Before when i tried to send the ExpandoObj itself all worked well.
Now Im sending a lift of objects the above methods produces using rabbitmq.
when i seralize i got a 1500 bytes messege size, when i recive the messege its only 120 bytes.
Any ideas what could be wrong?
7 Replies
In addition all the properties get lost, literally get "Dynamic Type" at the UI layer with nothing in it
The data loss occurs during transit somehow
what object are you using to deserialize this
well its a BaseDTO that contains a List<objecT> and those are located in it
The above code works, but if i add a line of
and send that list, all breaks
no c# gods to help out on this?
have you tried using a dictionary instead of expando
did you look at the serialized object in the rabbit ui
did you try sending a message using rabbit ui to check deserialization of problematic fields
expando uses dictionary under the hood, what u mean seralize in rabbitui?
i reverted to using custom json converters, still working on it
i mean reading (and eventually sending) the message from the queue in the ui
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.