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
/// Represents the method that handles a RabbitMQ message that includes an routing key that is obsolete or non relevent from the applicatin perspective
36
+
/// Provides access to the message, its properties, and a confirmation action.
37
+
/// </summary>
38
+
/// <remarks>Use this delegate to process messages received from RabbitMQ queues where the routing key is not
39
+
/// relevant or not provided. The handler is responsible for invoking the confirmation action to ensure proper message
40
+
/// acknowledgment.</remarks>
41
+
/// <param name="transportMessage">The event arguments containing the delivered RabbitMQ message and related metadata.</param>
??RabbitMqMessageAcknowledgementMode.ConfirmAfterMessageProcessingWhenNoManualConfirmMade;// be default choose the safer acknowledgement mode
38
41
@@ -164,6 +167,8 @@ protected override async Task<Exception> OnMessageReceived(Dictionary<string, ob
164
167
else
165
168
{
166
169
Logger.LogDebug("Exchange {Exchange} - Queue {Queue}: No message processor found for routing key {RoutingKey}",transportMessage.Exchange,Path,transportMessage.RoutingKey);
0 commit comments