/// <summary> /// Stops listening to MSMQ /// </summary> /// <param name="queueName">Queue name </param> /// <param name="queueRootPath">Queue path</param> /// <param name="handler">Message receieved handler</param> public void Stop(string queueName, string queueRootPath, EventHandler <MessageEventArgs <T> > handler) { IMessageAdapter <T> adpt = msgAdapterFactory.GetAdapter(queueName, queueRootPath); adpt.Stop(handler); }