Beispiel #1
0
        static void Main(string[] args)
        {
            RabbitProducer producer = new RabbitProducer();
            producer.Connect();
            producer.SendMessages();
            producer.Disconnect();

            Console.WriteLine("All sent.");
        }
Beispiel #2
0
        static int Main(string[] args)
        {
            RabbitProducer producer = new RabbitProducer();

            producer.Connect();
            producer.SendMessages();
            producer.Disconnect();

            Console.WriteLine("All sent.");
            return(0);
            //Console.ReadLine();
        }