static void Main(string[] args) { Console.WriteLine("Start test..."); string mode = "remote"; //QClient.RuntimeTest(); //QClient.ReadFile(@"D:\Nistec\Services\MQueue\Queues\Queue\Demo\c11e3ce4b53\c11e3ce4b53b0a8bf.mcq"); switch (mode) { case "remote": QClient.Test(); QListener.Test(); break; case "db": break; case "file": break; case "ipc": break; case "tcp": break; case "report": break; } Console.WriteLine("Finished..."); Console.ReadLine(); }
public static void Test() { AdapterProperties ap = new AdapterProperties(queuenmae, "."); QListener listener = new QListener(ap); listener.Start(); }