Class AzureServiceBusControlSettings
Represents the settings for an Azure Service Bus message broker.
Namespace: Copper.MassTransit.Interface
Assembly: Copper.MassTransit.dll
Syntax
public class AzureServiceBusControlSettings : BusControlSettings
Constructors
View SourceAzureServiceBusControlSettings()
Initializes a new instance of the AzureServiceBusControlSettings class.
Declaration
public AzureServiceBusControlSettings()
AzureServiceBusControlSettings(String)
Initializes a new instance of the AzureServiceBusControlSettings class.
Declaration
public AzureServiceBusControlSettings(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string to use for connecting to the Service Bus namespace. |
Properties
View SourceAutoDeleteOnIdle
Gets or sets the System.TimeSpan idle interval after which the queue/topic is automatically deleted. The minimum duration is 5 minutes.
Declaration
public TimeSpan AutoDeleteOnIdle { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The auto delete on idle time span for the queue/topic. |
ConnectionString
Gets or sets the connection string to use for connecting to the Service Bus namespace.
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
System.String | The connection string to use for connecting to the Service Bus namespace. |
PrefetchCount
Gets or sets the number of messages to prefetch from the RabbitMQ message broker.
Declaration
public int PrefetchCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | the number of messages to prefetch from the RabbitMQ message broker. |
Serializer
Gets or sets the serializer used.
Declaration
public AzureServiceBusBusControlSerializer Serializer { get; set; }
Property Value
Type | Description |
---|---|
AzureServiceBusBusControlSerializer | the serializer type applied to the BusControl on creation. |