C# Class NServiceBus.ConfigurePurging

Configures purging.
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
PurgeOnStartup ( this config, bool value ) : void

Requests that the incoming queue be purged of all messages when the bus is started. All messages in this queue will be deleted if this is true. Setting this to true may make sense for certain smart-client applications, but rarely for server applications.

Private Methods

Method Description
PurgeOnStartup ( this config ) : bool

Method Details

PurgeOnStartup() public static method

Requests that the incoming queue be purged of all messages when the bus is started. All messages in this queue will be deleted if this is true. Setting this to true may make sense for certain smart-client applications, but rarely for server applications.
public static PurgeOnStartup ( this config, bool value ) : void
config this The instance to apply the settings to.
value bool True to purge all message on startup; otherwise False.
return void