C# Class SevenDigital.Messaging.MessageSending.PersistentQueueFactory

Factory to create a persistent queue in a default location
Inheritance: IOutgoingQueueFactory
Exibir arquivo Open project: i-e-b/SevenDigital.Messaging

Public Properties

Property Type Description
StoragePath string

Public Methods

Method Description
Cleanup ( ) : void

Do any cleanup after queue is disposed.

PrepareQueue ( ) : IPersistentQueue

Ensure queue exists on disk and return a locked instance

Method Details

Cleanup() public method

Do any cleanup after queue is disposed.
public Cleanup ( ) : void
return void

PrepareQueue() public method

Ensure queue exists on disk and return a locked instance
public PrepareQueue ( ) : IPersistentQueue
return IPersistentQueue

Property Details

StoragePath public_oe static_oe property

Storage location for the Persistent queue. Only one process can use each queue location at a time. This is a horrible hack. I need to think of a better way of doing this...
public static string StoragePath
return string