How can MassTransit pull messages from a RabbitMQ when the messages were sent from a different message sending source(RabbitMQ Client in this case)?
The messages share the same C# message contract and serialized as json.
The current error I receive is masstransit parsing error...
MassTransit uses a number of conventions and there are additional details you that would probably need to add to the payload if publishing from a non-MassTransit publisher. If you're getting a parsing error you are probably missing the messageType information below.
Payload:
{
"destinationAddress": "rabbitmq://localhost/<exchange>",
"headers": {},
"message": {
"property": "value"
},
"messageType": [
"urn:message:<TYPE>",
"urn:message:<PARENT_TYPE>"
],
"sourceAddress": "rabbitmq://localhost/queue"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With