I have a simple question, but I can't find evidence on the internet.
I'm connecting to RabbitMQ
with MassTransit
, and I just wanted to know if Consumer Acknowledgements and Publisher Confirms is active by default if a connection has been made to the broker using MassTansit
?
If active by default: Where can I find evidence about this?
If not active by default: How can I enable these functionalities?
PublisherConfirmation is active by default, and always has been that way. This means that a call to Publish, when awaited, will not complete until the message is confirmed by the broker (ack'd).
Consumers do not ack
messages until they are processed by the consumer. If the consumer completes, the ack
removes the message. If an exception was thrown, the message is moved to the _error
queue and a Fault<T>
is published.
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