public void Dispose() { var connection = new Connection <MyCommand>(); _channelFactory.DeleteQueue(connection); _channelFactory.DeleteTopic(connection); }
public void Dispose() { //Clean up resources that we have created var connection = new Connection <MyCommand>(); _channelFactory.DeleteQueue(connection); _channelFactory.DeleteTopic(connection); }