Delegate SingleActiveConsumerStateHandler
Notifies that this consumer's single-active-consumer role on a quorum queue may have changed,
using the broker's rabbitmq:active link-state property delivered on AMQP 1.0 FLOW.
public delegate void SingleActiveConsumerStateHandler(IConsumer consumer, bool isActive)
Parameters
consumerIConsumerThe consumer whose SAC state was reported.
isActivebooltruewhen this consumer is the active SAC consumer; otherwisefalse.
Remarks
The delegate is invoked on AMQP.Net Lite's I/O thread. Keep work non-blocking; offload to Run(Action) or a channel if you need heavier processing.
Requires RabbitMQ 4.3+ with quorum single-active-consumer flow notifications.