Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
 public void SendError(BasicDeliverEventArgs args) => _communication.SendError(args, _option.CountRetry, AmqpCommunication.ResourceErrorQueue);