public virtual void Dispose() { EventingConsumer.Received -= EventingHandler_Received; RabbitConnection.QueueDelete(BusEndpoint, false, false); EventingConsumer.Model.Close(); EventingConsumer.Model.Dispose(); RabbitConnection.Dispose(); }