Skip to content

Commit 214761b

Browse files
[ISSUE #919] Add transaction message retry attempt for C# client Producer (#921)
1 parent 1f49ca5 commit 214761b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

csharp/rocketmq-client-csharp/Producer.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,6 @@ private async Task<SendReceipt> Send0(PublishingMessage message, List<MessageQue
254254
throw;
255255
}
256256

257-
if (MessageType.Transaction == message.MessageType)
258-
{
259-
Logger.LogError(e, "Failed to send transaction message, run out of attempt times, " +
260-
$"topic={message.Topic}, maxAttempt=1, attempt={attempt}, " +
261-
$"endpoints={endpoints}, messageId={message.MessageId}, clientId={ClientId}");
262-
throw;
263-
}
264-
265257
if (!(exception is TooManyRequestsException))
266258
{
267259
// Retry immediately if the request is not throttled.

0 commit comments

Comments
 (0)