public void SendSelfWorkLocalJson(string loginName, Guid clientId, string json) { if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty) { return; } _mq.BasicPublish( routingKey: WsMqKeyword.SelfWorkLocalJsonRoutingKey, basicProperties: CreateBasicProperties(loginName, clientId), body: OperationMqBodyUtil.GetSelfWorkLocalJsonMqSendBody(json)); }
public void SendSelfWorkLocalJson(string loginName, Guid clientId, string json) { if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty) { return; } _serverConnection.MqChannel.BasicPublish( exchange: MqKeyword.NTMinerExchange, routingKey: WsMqKeyword.SelfWorkLocalJsonRoutingKey, basicProperties: CreateBasicProperties(loginName, clientId), body: OperationMqBodyUtil.GetSelfWorkLocalJsonMqSendBody(json)); }