public void GetConfigTest() { //MQClient.Client grpc = new MQClient.Client("http://192.168.18.190:35672"); MQClient.Client grpc = new MQClient.Client("http://192.168.18.11:35672"); var res = grpc.GetConfig(); }
public void AddOrUpdateQueueAsyncTest() { //MQClient.Client grpc = new MQClient.Client("http://192.168.18.190:35672"); MQClient.Client grpc = new MQClient.Client("http://192.168.18.11:35672"); MQGrpcServer.Protos.MQQueueConfig newConfig = new MQGrpcServer.Protos.MQQueueConfig(); newConfig.BindingKeys.Add("MQtest.Client.#"); newConfig.ExchangeName = "exchangeTopic"; newConfig.QueueName = "Queue10"; newConfig.ThreadCount = 15; grpc.AddOrUpdateQueue(newConfig); }