private void windowsLoaded(object sender, RoutedEventArgs e)
 {
     mqClient = new RabbitMqUtil("guest", "guest", "TestExchange", "TestQueue1", "routingkey1", false, ExchangeType.Topic, false, "192.168.194.128", 5673);
     mqClient.InitMqCreateExchangeQueue(ReturnHandler, ReceiveHandler, true, false);
 }
Esempio n. 2
0
 public UnitTest1()
 {
     sendMq = new RabbitMqUtil("guest", "guest", "TestExchange", "TestQueue1", "routingkey1", false, ExchangeType.Topic, false, "192.168.194.128", 5673);
     sendMq.InitMqCreateExchangeQueue(ReturnHandler, ReceiveHandler);
     rcvMq = new RabbitMqUtil("guest", "guest", "TestExchange", "TestQueue", "rkey1", false, ExchangeType.Topic, false, "192.168.194.128", 5675);
 }