public void SendUpdateUserRSAKey(string loginName, RSAKey key) { if (string.IsNullOrEmpty(loginName) || key == null) { return; } _mq.BasicPublish( routingKey: MqKeyword.UpdateUserRSAKeyRoutingKey, basicProperties: CreateBasicProperties(loginName), body: UserMqBodyUtil.GetUpdateUserRSAKeyMqSendBody(key)); }
public void SendUpdateUserRSAKey(string loginName, RSAKey key) { if (string.IsNullOrEmpty(loginName) || key == null) { return; } _serverConnection.MqChannel.BasicPublish( exchange: MqKeyword.NTMinerExchange, routingKey: MqKeyword.UpdateUserRSAKeyRoutingKey, basicProperties: CreateBasicProperties(loginName), body: UserMqBodyUtil.GetUpdateUserRSAKeyMqSendBody(key)); }