protected override void AfterUnbind() { try { if (Endpoint is IDisposable disposable) { disposable.Dispose(); } } catch (Exception ex) { _logger?.LogError(ex, ex.Message); } _binder.AfterUnbindConsumer(_destination, Group, _options); _binder.DestroyErrorInfrastructure(_destination, Group, _options); }
protected override void AfterUnbind() { _binder.AfterUnbindConsumer(_destination, Group, _options); _binder.DestroyErrorInfrastructure(_destination, Group, _options); }