NServiceBus.DurableMessagesConfig.EnableDurableMessages C# (CSharp) Method

EnableDurableMessages() public static method

Configures messages to be guaranteed to be delivered in the event of a computer failure or network problem.
public static EnableDurableMessages ( this config ) : void
config this The instance to apply the settings to.
return void
        public static void EnableDurableMessages(this EndpointConfiguration config)
        {
            Guard.AgainstNull(nameof(config), config);
            config.Settings.Set("Endpoint.DurableMessages", true);
        }