public void Receive(string Message) { byte[] bytes = Encoding.Default.GetBytes(Message); _mysqlDB.MessageInsert(Convert.ToBase64String(bytes)); if (Message.Contains("<code>2000</code>")) { _rabbitMqDB.Send("oamessagereceive", Message); } }
public void Receive(string Message) { byte[] bytes = Encoding.Default.GetBytes(Message); _mysqlDB.MessageInsert(Convert.ToBase64String(bytes)); if (Message.Contains("<code>2000</code>")) { _rabbitMqDB.Send("oamessagereceive", Message); } }