You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2022. It is now read-only.
_logger.LogWarning($"DeadLetterExchange has not been configured for an exchange \"{eventArgs.Exchange}\". The message won't be re-queued.");
205
202
return;
206
203
}
204
+
205
+
if(exchange.Options.RequeueTimeoutMilliseconds<1)
206
+
{
207
+
_logger.LogWarning($"The value RequeueTimeoutMilliseconds for an exchange \"{eventArgs.Exchange}\" less than 1 millisecond. Configuration is invalid. The message won't be re-queued.");
208
+
return;
209
+
}
207
210
208
-
// TODO: Проверять параметры.
209
-
// TODO: добавить методы расширения для delayed сообщений.
210
-
// TODO: перепроверить, как будут создаваться очереди для delayed сообщений - переделать на milliseconds в именовании.
211
-
// TODO: Закинуть это дальше.
211
+
if(exchange.Options.RequeueAttempts<1)
212
+
{
213
+
_logger.LogWarning($"The value RequeueAttempts for an exchange \"{eventArgs.Exchange}\" less than 1. Configuration is invalid. The message won't be re-queued.");
0 commit comments