I have been reviewing the ServiceStack Messaging with Redis documentation here:
https://github.com/ServiceStack/ServiceStack/wiki/Messaging-and-redis
It seems to explain the basics very well. What I don’t quite understand though are differences and applicable use cases when publishing via the MessageFactory:
.CreateMessageProducer.Publish()
and
.CreateMessageQueueClient.Publish()
I plan on reviewing the code but wanted to post this here for an “official” explanation.
Here are the API’s of
IMessageProducerandIMessageQueueClient:Basically a
MessageQueueClientis also aMessageProducer, but contains other fine-grained methods in addition to Publish to Get messages off the queue as well as publish and subscribe to any MQ topics.The typed
Publish<T>API on both the message client and the producer have the same behaviour.