For the complete documentation index, see llms.txt. This page is also available as Markdown.

Message Deserializing

The data you receive via RabbitMQ arrives as an array of bytes. Since messages are sent as JSON, decode the bytes as UTF-8 to deserialize them:

string deserializedMessage = Encoding.UTF8.GetString(eventArgs.Body);

Last updated

Was this helpful?