Class AzureEventHubBus<TAuthenticationToken>
A event bus based on AzureEventHub<TAuthenticationToken>.
Inheritance
Inherited Members
Namespace: Cqrs.Azure.ServiceBus
Assembly: Cqrs.Azure.ServiceBus.dll
Syntax
public abstract class AzureEventHubBus<TAuthenticationToken> : AzureEventHub<TAuthenticationToken>
Type Parameters
Name | Description |
---|---|
TAuthenticationToken | The System.Type of the authentication token. |
Constructors
AzureEventHubBus(IConfigurationManager, IMessageSerialiser<TAuthenticationToken>, IAuthenticationTokenHelper<TAuthenticationToken>, ICorrelationIdHelper, ILogger, IAzureBusHelper<TAuthenticationToken>, Boolean)
Instantiate a new instance of AzureEventHubBus<TAuthenticationToken>.
Declaration
protected AzureEventHubBus(IConfigurationManager configurationManager, IMessageSerialiser<TAuthenticationToken> messageSerialiser, IAuthenticationTokenHelper<TAuthenticationToken> authenticationTokenHelper, ICorrelationIdHelper correlationIdHelper, ILogger logger, IAzureBusHelper<TAuthenticationToken> azureBusHelper, bool isAPublisher)
Parameters
Type | Name | Description |
---|---|---|
IConfigurationManager | configurationManager | |
IMessageSerialiser<TAuthenticationToken> | messageSerialiser | |
IAuthenticationTokenHelper<TAuthenticationToken> | authenticationTokenHelper | |
cdmdotnet.Logging.ICorrelationIdHelper | correlationIdHelper | |
cdmdotnet.Logging.ILogger | logger | |
IAzureBusHelper<TAuthenticationToken> | azureBusHelper | |
System.Boolean | isAPublisher |
Properties
AzureBusHelper
Gets the IAzureBusHelper<TAuthenticationToken>.
Declaration
protected IAzureBusHelper<TAuthenticationToken> AzureBusHelper { get; }
Property Value
Type | Description |
---|---|
IAzureBusHelper<TAuthenticationToken> |
DefaultPrivateEventHubName
The default name of the private event hub if no IConfigurationManager value is set.
Declaration
protected override string DefaultPrivateEventHubName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
DefaultPublicEventHubName
The default name of the public event hub if no IConfigurationManager value is set.
Declaration
protected override string DefaultPublicEventHubName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
EventHubConnectionStringNameConfigurationKey
The configuration key for the event hub connection string as used by IConfigurationManager.
Declaration
protected override string EventHubConnectionStringNameConfigurationKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
EventHubStorageConnectionStringNameConfigurationKey
The configuration key for the event hub storage connection string as used by IConfigurationManager.
Declaration
protected override string EventHubStorageConnectionStringNameConfigurationKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
PrivateEventHubConsumerGroupNameConfigurationKey
The configuration key for the name of the consumer group name of the private event hub as used by IConfigurationManager.
Declaration
protected override string PrivateEventHubConsumerGroupNameConfigurationKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
PrivateEventHubNameConfigurationKey
The configuration key for the name of the private event hub as used by IConfigurationManager.
Declaration
protected override string PrivateEventHubNameConfigurationKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
PublicEventHubConsumerGroupNameConfigurationKey
The configuration key for the name of the consumer group name of the public event hub as used by IConfigurationManager.
Declaration
protected override string PublicEventHubConsumerGroupNameConfigurationKey { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
PublicEventHubNameConfigurationKey
The configuration key for the name of the public event hub as used by IConfigurationManager.
Declaration
protected override string PublicEventHubNameConfigurationKey { get; }
Property Value
Type | Description |
---|---|
System.String |