Documentation modifications
This commit is contained in:
@@ -48,6 +48,15 @@ public class RabbitConsumerErrorHandler(IPublisherService publisherService)
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handles retry processing for a received message, either forwarding it to an error queue when the maximum retry count is exceeded or republishing it to the original queue with an incremented retry counter.
|
||||
/// </summary>
|
||||
/// <param name="receivedInfo">Metadata about the message origin, used to determine the source queue and to build the error message.</param>
|
||||
/// <param name="properties">The current <see cref="MessageProperties"/> of the message; its headers are copied so the retry count can be updated without mutating the original instance.</param>
|
||||
/// <param name="body">The raw message payload that will be resent to the queue or forwarded to the error queue.</param>
|
||||
/// <param name="exception">The <see cref="Exception"/> that triggered the retry, included when building the error message.</param>
|
||||
/// <exception cref="Exception">Thrown when the republish to the original queue fails (i.e. <see cref="publisherService"/>.SendMessage returns <c>false</c>). The exception is caught and logged internally.</exception>
|
||||
/// <!-- aidoc:v1 sig=d9b4e83 body=c5b7128 -->
|
||||
private void HandleRetries(
|
||||
MessageReceivedInfo receivedInfo,
|
||||
MessageProperties properties,
|
||||
|
||||
Reference in New Issue
Block a user