Skip to content

Commit

Permalink
Fixes RabbitMQ transport reject function call error. (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-xiaodong committed Nov 5, 2024
1 parent 6f6f057 commit 2f8080e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DotNetCore.CAP.RabbitMQ/RabbitMQConsumerClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void Commit(object? sender)

public void Reject(object? sender)
{
_consumer!.BasicAck((ulong)sender!);
_consumer!.BasicReject((ulong)sender!);
}

public void Dispose()
Expand Down

0 comments on commit 2f8080e

Please sign in to comment.