C# Class Westwind.MessageQueueing.QueueControllerMultiple

Inheritance: QueueController
Show file Open project: RickStrahl/Westwind.QueueMessageManager Class Usage Examples

Public Properties

Property Type Description
Controllers List

Public Methods

Method Description
Initialize ( QueueMessageManagerConfiguration configuration = null, Type managerType = null ) : void

Loads configuration settings from configuration file and loads up the Controllers list.

PauseProcessing ( bool pause = true ) : void
QueueControllerMultiple ( ) : System
QueueControllerMultiple ( IEnumerable controllers, string connectionString = null ) : System

Pass in a list of controllers and their configuration to start all of the controllers processing simultaneously

StartProcessingAsync ( ) : void

Starts all of the controllers processing requests on a sepearate thread

StopProcessing ( ) : void

Stops all queue requests from processing and ends the thread holding the queue controllers.

Method Details

Initialize() public method

Loads configuration settings from configuration file and loads up the Controllers list.
public Initialize ( QueueMessageManagerConfiguration configuration = null, Type managerType = null ) : void
configuration QueueMessageManagerConfiguration
managerType System.Type
return void

PauseProcessing() public method

public PauseProcessing ( bool pause = true ) : void
pause bool
return void

QueueControllerMultiple() public method

public QueueControllerMultiple ( ) : System
return System

QueueControllerMultiple() public method

Pass in a list of controllers and their configuration to start all of the controllers processing simultaneously
public QueueControllerMultiple ( IEnumerable controllers, string connectionString = null ) : System
controllers IEnumerable List of pre-configured controllers
connectionString string
return System

StartProcessingAsync() public method

Starts all of the controllers processing requests on a sepearate thread
public StartProcessingAsync ( ) : void
return void

StopProcessing() public method

Stops all queue requests from processing and ends the thread holding the queue controllers.
public StopProcessing ( ) : void
return void

Property Details

Controllers public property

Child Controllers that are actually launched
public List Controllers
return List