Create a new MqService instance.
The connection string to the message queue.
The name of the queue to use. Normally this should be your service name. Only needed if you want to consume messages.
The exchange to use.
If true, unhandled messages will be requeued, otherwise they will be discarded.
The logger to use for logging messages.
Readonly
connectionThe connection string to the message queue.
Readonly
exchangeThe exchange to use.
Readonly
loggerThe logger to use for logging messages.
A message queue service for publishing and subscribing to messages.