Getting Started
Architecture
NServiceBus
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

Transactions and delivery guarantees

NuGet Package: NServiceBus.RabbitMQ (8.x)
Target Version: NServiceBus 8.x

The RabbitMQ transport supports the following transport transaction modes:

  • Transport transaction - receive only

Transport transaction - receive only

When running in ReceiveOnly mode, messages are consumed in manual acknowledgment mode. Successfully processed messages are acknowledged via the AMQP basic.ack method, at which point the broker will remove them from the queue. Failed messages that need to be retried are re-queued via the AMQP basic.reject method.

If the connection to the broker is lost for any reason before a message can be acknowledged, even if the message was successfully processed, the message will automatically be re-queued by the broker. This will result in the endpoint processing the same message multiple times.