From 8f54c227e6671d38681e3cce58207232da579acd Mon Sep 17 00:00:00 2001 From: David Boike Date: Fri, 9 Feb 2024 11:49:15 -0600 Subject: [PATCH] Add column names to MoveDueDelayedMessage command (#1291) --- src/NServiceBus.Transport.SqlServer/Queuing/SqlConstants.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NServiceBus.Transport.SqlServer/Queuing/SqlConstants.cs b/src/NServiceBus.Transport.SqlServer/Queuing/SqlConstants.cs index a2393caf1..9b62c4039 100644 --- a/src/NServiceBus.Transport.SqlServer/Queuing/SqlConstants.cs +++ b/src/NServiceBus.Transport.SqlServer/Queuing/SqlConstants.cs @@ -97,7 +97,7 @@ DELETE FROM message NULL, deleted.Headers, deleted.Body -INTO {1}; +INTO {1} (Id, CorrelationId, ReplyToAddress, Recoverable, Expires, Headers, Body); SELECT TOP 1 GETUTCDATE() as UtcNow, Due as NextDue FROM {0} WITH (READPAST)