예제 #1
0
        public static void Queue(string name, Action <IQueueDeclareContext> configure)
        {
            var queueDeclareInfo = new QueueDeclareInfo(name);

            configure(queueDeclareInfo);
            DeclareQueue(queueDeclareInfo);
        }
예제 #2
0
		public static void Queue(string name, Action<IQueueDeclareContext> configure)
		{
			var queueDeclareInfo = new QueueDeclareInfo(name);
			configure(queueDeclareInfo);
			DeclareQueue(queueDeclareInfo);
		}