C# Class NServiceBus.AuditConfigReader

Utility class to find the configured audit queue for an endpoint.
Mostrar archivo Open project: Particular/NServiceBus

Public Methods

Method Description
TryGetAuditQueueAddress ( this settings, string &address ) : bool

Finds the configured audit queue for an endpoint. The audit queue can be configured using 'EndpointConfiguration.AuditProcessedMessagesTo()', via the 'QueueName' attribute of the 'Audit' config section or by using the 'HKEY_LOCAL_MACHINE\SOFTWARE\ParticularSoftware\ServiceBus\AuditQueue' registry key.

Private Methods

Method Description
GetConfiguredAuditQueue ( ReadOnlySettings settings, System.Result &result ) : bool
ReadAuditQueueNameFromRegistry ( ) : string

Method Details

TryGetAuditQueueAddress() public static method

Finds the configured audit queue for an endpoint. The audit queue can be configured using 'EndpointConfiguration.AuditProcessedMessagesTo()', via the 'QueueName' attribute of the 'Audit' config section or by using the 'HKEY_LOCAL_MACHINE\SOFTWARE\ParticularSoftware\ServiceBus\AuditQueue' registry key.
public static TryGetAuditQueueAddress ( this settings, string &address ) : bool
settings this The configuration settings for the endpoint.
address string The configured audit queue address for the endpoint.
return bool