private void SendError(BasicDeliverEventArgs args) { _log.LogTrace($"CorrelationId {args.BasicProperties.CorrelationId ?? "-"}. Send error queue"); _communication.SendError(args, _option.CountRetry, AmqpCommunication.ClientErrorQueue); if (args.DeliveryTag != 0) { _communication.Channel.BasicAck(args.DeliveryTag, false); } }
public void SendError(BasicDeliverEventArgs args) => _communication.SendError(args, _option.CountRetry, AmqpCommunication.ResourceErrorQueue);