public delegate ConsumerShutdownEventHandler

public delegate void ConsumerShutdownEventHandler(object sender, ShutdownEventArgs e)

Return type void
Parameters
Name Type
sender object
e ShutdownEventArgs

Summary

Callback for events relating to consumer shutdown.

Remarks

Note that shutdown is different from cancellation: this delegate is invoked on IBasicConsumer's HandleModelShutdown method, not on the HandleBasicCancelOk method.