C# Class SevenDigital.Messaging.MessageSending.PersistentQueueFactory

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

Méthodes publiques

Свойство Type Description
StoragePath string

Méthodes publiques

Méthode 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 méthode

Do any cleanup after queue is disposed.
public Cleanup ( ) : void
Résultat void

PrepareQueue() public méthode

Ensure queue exists on disk and return a locked instance
public PrepareQueue ( ) : IPersistentQueue
Résultat 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
Résultat string