コード例 #1
0
        /// <summary>
        /// Add message to queue
        /// </summary>
        /// <param name="message">MSMQ message</param>
        public void SendMessage(IMessage message)
        {
            IMessageAdapter <T> adpt = msgAdapterFactory.GetAdapter(message.QueueName, message.QueueRootpath);

            adpt.PushMessage(message);
        }