Savorboard пре 5 година
родитељ
комит
9703b4964d
2 измењених фајлова са 3 додато и 3 уклоњено
  1. +1
    -1
      src/DotNetCore.CAP/IConsumerHandler.Default.cs
  2. +2
    -2
      src/DotNetCore.CAP/ISubscribeExecutor.Default.cs

+ 1
- 1
src/DotNetCore.CAP/IConsumerHandler.Default.cs Прегледај датотеку

@@ -130,7 +130,7 @@ namespace DotNetCore.CAP
}
catch (Exception e)
{
_logger.LogError(e, "An exception occurred when storage received message. Message:'{0}'.", messageContext);
_logger.LogError(e, "An exception occurred when store received message. Message:'{0}'.", messageContext);

client.Reject();



+ 2
- 2
src/DotNetCore.CAP/ISubscribeExecutor.Default.cs Прегледај датотеку

@@ -70,8 +70,8 @@ namespace DotNetCore.CAP
/// <summary>
/// Execute message consumption once.
/// </summary>
/// <param name="message">the message rececived of <see cref="CapReceivedMessage"/></param>
/// <returns>Item1 is need still restry, Item2 is executed result.</returns>
/// <param name="message">the message received of <see cref="CapReceivedMessage"/></param>
/// <returns>Item1 is need still retry, Item2 is executed result.</returns>
private async Task<(bool, OperateResult)> ExecuteWithoutRetryAsync(CapReceivedMessage message)
{
if (message == null)


Loading…
Откажи
Сачувај