Пример #1
0
        private IMessageQueue InitializeMessageQueue()
        {
            IMessageQueue result = null;

            try
            {
                result = Medium.CreateMessageQueue(QueueName, TopicName);
            }
            catch (Exception ex)
            {
                ex.Data.Add("QueueName", QueueName);
                GlobalConfiguration.Configuration.Logger.Error(ex);
            }
            return(result);
        }