Reputation: 6363
Do I have to instantiate the RabbitMqServer inside of my hosting process in order to use the ServiceStack IMessageQueueClient?
Thank you, Stephen
Upvotes: 0
Views: 82
Reputation: 143339
Nope, you don't need to use RabbitMqServer
, clients can create clients using RabbitMqMessageFactory
, e.g:
var mqFactory = new RabbitMqMessageFactory();
var mqClient = mqFactory.CreateMessageQueueClient();
Upvotes: 2