C# Class DotNetWorkQueue.Transport.PostgreSQL.Basic.PostgreSqlMessageQueueInit

Registers the implementations for the queue into the IoC container.
Inheritance: DotNetWorkQueue.Configuration.TransportInitDuplex
Exibir arquivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
RegisterImplementations ( IContainer container, RegistrationTypes registrationType, string connection, string queue ) : void

Registers the implementations.

SetDefaultsIfNeeded ( IContainer container, RegistrationTypes registrationType, ConnectionTypes connectionType ) : void

Allows the transport to set default configuration settings or other values

Private Methods

Method Description
DefaultQueueDelay ( ) : IEnumerable

Gets the default queue delay time spans

ExceptionDelay ( ) : IEnumerable

Gets the default fatal exception delay time spans

SetupHeartBeat ( IContainer container ) : void

Setup the heart beat.

SetupMessageExpiration ( IContainer container ) : void

Setup the message expiration.

Method Details

RegisterImplementations() public method

Registers the implementations.
public RegisterImplementations ( IContainer container, RegistrationTypes registrationType, string connection, string queue ) : void
container IContainer The container.
registrationType RegistrationTypes Type of the registration.
connection string The connection.
queue string The queue.
return void

SetDefaultsIfNeeded() public method

Allows the transport to set default configuration settings or other values
public SetDefaultsIfNeeded ( IContainer container, RegistrationTypes registrationType, ConnectionTypes connectionType ) : void
container IContainer The container.
registrationType RegistrationTypes Type of the registration.
connectionType ConnectionTypes Type of the connection.
return void