Esempio n. 1
0
        /// <summary>
        /// Read message from queue
        /// </summary>
        /// <param name="queueName">Queue name </param>
        /// <param name="queueRootPath">Queue path</param>
        /// <returns>serialized object</returns>
        public T ReceiveMessage(string queueName, string queueRootPath)
        {
            IMessageAdapter <T> adpt = msgAdapterFactory.GetAdapter(queueName, queueRootPath);

            return(adpt.PopMessage());
        }