Esempio n. 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("QueueTasker started...");

            //QueueClientDemo.SendItem(true);

            QueueClientDemo.SendMulti(true, 10000);


            Console.WriteLine("QueueTasker finished...");
            Console.ReadLine();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Console.WriteLine("QueueTasker started...");

            //QueueClientDemo.PublishItem();
            QueueClientDemo.PublishMulti(100);

            //QueueClientDemo.SendItem(false);
            //QueueClientDemo.SendMulti(false,10000);

            //var host = QueueHost.Parse("tcp:127.0.0.1:15000?NC_Quick");
            //QueueApi q = new QueueApi(host);
            //q.IsAsync = false;

            //SendItem(q,1);

            //SendMulti(q,100);

            Console.ReadLine();
            Console.WriteLine("QueueTasker finished...");
        }