Class BusControlSettingsResolver
Provides the capability to resolve bus control settings based on a message bus connection string.
Inheritance
System.Object
BusControlSettingsResolver
Namespace: Copper.Conventions.Method.Common.V1.MassTransit
Assembly: Copper.Conventions.Method.Common.dll
Syntax
public static class BusControlSettingsResolver
Methods
View SourceResolve(IConfiguration)
Resolves bus control settings from a message bus connection string defined in configuration.
Declaration
public static BusControlSettings Resolve(IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | configuration | The configuration. |
Returns
Type | Description |
---|---|
BusControlSettings | The bus control settings. |
Remarks
Message bus connection string must be configured under MessageBusConnectionString.
Exceptions
Type | Condition |
---|---|
BusControlSettingsResolverException |
Resolve(String)
Resolves bus control settings from a message bus connection string.
Declaration
public static BusControlSettings Resolve(string messageBusConnectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageBusConnectionString | The message bus connection string. |
Returns
Type | Description |
---|---|
BusControlSettings | The bus control settings. |
Exceptions
Type | Condition |
---|---|
BusControlSettingsResolverException |