예제 #1
0
 static void Main(string[] args)
 {
     MQHelperFactory.Default().Receive("EasyNetQ_Default_Error_Queue", item =>
     {
         MQHelperFactory.Default().SendMsg <string>("fanout_queue_default", item);
     });
     Console.ReadKey();
 }
예제 #2
0
 static void Main(string[] args)
 {
     MQHelperFactory.Default().Receive("DirectQueue", item =>
     {
         MQHelperFactory.Default().SendMsg <string>("DirectQueue", item);
     });
     Console.ReadKey();
 }