Can I consume a raw or empty body message using MassTransit? #4971
-
Saying I am publishing the following message through RMQ console: How can I consume this message using MassTransit? I was receiving a Json related error and I am not sure if JSON format is mandatory for MassTransit.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Serialization is documented. Short answer, string is not a valid message format. Messages are usually serialized into a format such as XML or JSON (or AVRO, etc.). |
Beta Was this translation helpful? Give feedback.
Serialization is documented.
Short answer, string is not a valid message format. Messages are usually serialized into a format such as XML or JSON (or AVRO, etc.).