diff --git a/src/NServiceBus.AzureFunctions.ServiceBus/Serverless/ServerlessEndpointConfiguration.cs b/src/NServiceBus.AzureFunctions.ServiceBus/Serverless/ServerlessEndpointConfiguration.cs index 662b068d..1927949a 100644 --- a/src/NServiceBus.AzureFunctions.ServiceBus/Serverless/ServerlessEndpointConfiguration.cs +++ b/src/NServiceBus.AzureFunctions.ServiceBus/Serverless/ServerlessEndpointConfiguration.cs @@ -20,8 +20,6 @@ protected ServerlessEndpointConfiguration(string endpointName) { EndpointConfiguration = new EndpointConfiguration(endpointName); - EndpointConfiguration.Recoverability().Delayed(c => c.NumberOfRetries(0)); - recoverabilityPolicy.SendFailedMessagesToErrorQueue = true; EndpointConfiguration.Recoverability().CustomPolicy(recoverabilityPolicy.Invoke);