public void Handle(AccountRemovedLastStepMessage message) { _log.InfoFormat("Removing account {0}", message.AccountName); _collection.Remove(message.AccountName); if (_msmqTransport.RoutableTransportMode == RoutableTransportMode.OnDemand) { _msmqTransport.TryDeleteQueue(message.AccountName); } }
public void Handle(AccountRemovedLastStepMessage message) { _log.InfoFormat("Removing account {0}", message.AccountName); _collection.Remove(message.AccountName); _msmqTransport.TryDeleteQueue(message.AccountName); }