C# Class NServiceBus.ErrorQueueSettings

Utility class used to find the configured error queue for an endpoint.
Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
ErrorQueueAddress ( this settings ) : string

Finds the configured error queue for an endpoint. The error queue can be configured in code using 'EndpointConfiguration.SendFailedMessagesTo()', via the 'Error' attribute of the 'MessageForwardingInCaseOfFaultConfig' configuration section, or using the 'HKEY_LOCAL_MACHINE\SOFTWARE\ParticularSoftware\ServiceBus\ErrorQueue' registry key.

Method Details

ErrorQueueAddress() public static method

Finds the configured error queue for an endpoint. The error queue can be configured in code using 'EndpointConfiguration.SendFailedMessagesTo()', via the 'Error' attribute of the 'MessageForwardingInCaseOfFaultConfig' configuration section, or using the 'HKEY_LOCAL_MACHINE\SOFTWARE\ParticularSoftware\ServiceBus\ErrorQueue' registry key.
When the configuration for the endpoint is invalid.
public static ErrorQueueAddress ( this settings ) : string
settings this The configuration settings of this endpoint.
return string