Class RabbitMqBusControlSettings
Represents the settings for an RabbitMQ message broker.
Namespace: Copper.MassTransit.Interface
Assembly: Copper.MassTransit.dll
Syntax
public class RabbitMqBusControlSettings : BusControlSettings
Constructors
View SourceRabbitMqBusControlSettings()
Initializes a new instance of the RabbitMqBusControlSettings class.
Declaration
public RabbitMqBusControlSettings()
RabbitMqBusControlSettings(String)
Initializes a new instance of the RabbitMqBusControlSettings class.
Declaration
public RabbitMqBusControlSettings(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string to use for connecting to the RabbitMQ host. |
Properties
View SourceAutoDelete
Gets or sets a value indicating whether the queue/exchange should be created as auto-delete.
Declaration
public bool AutoDelete { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ConnectionString
Gets or sets the connection string to use for connecting to the RabbitMQ host.
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
System.String | The connection string to use for connecting to the RabbitMQ host. |
Durable
Gets or sets a value indicating whether the queue/exchange should be durable (survives broker restart) or in-memory.
Declaration
public bool Durable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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 RabbitMqBusControlSerializer Serializer { get; set; }
Property Value
Type | Description |
---|---|
RabbitMqBusControlSerializer | the serializer type applied to the BusControl on creation. |