Class MassTransitDiscoveryClientBuilder
Provides the builder class for a Discovery
Inheritance
Namespace: Copper.Discovery.MassTransit.Common.V1
Assembly: Copper.Discovery.MassTransit.Common.dll
Syntax
public class MassTransitDiscoveryClientBuilder
Constructors
View SourceMassTransitDiscoveryClientBuilder(DiscoveryClientBuilder)
Initializes a new instance of the Mass
Declaration
public MassTransitDiscoveryClientBuilder(DiscoveryClientBuilder discoveryClientBuilder)
Parameters
Type | Name | Description |
---|---|---|
Discovery |
discoveryClientBuilder | The discovery client builder. |
Methods
View SourceUseBusControlSettings(BusControlSettings, String)
Configures the discovery client to use the provided bus control settings.
Declaration
public MassTransitDiscoveryClientBuilder UseBusControlSettings(BusControlSettings busControlSettings, string responseQueueName)
Parameters
Type | Name | Description |
---|---|---|
Bus |
busControlSettings | The bus control settings. |
System. |
responseQueueName | The response queue name. |
Returns
Type | Description |
---|---|
Mass |
The same instance of Mass |
UseDefaultAzureServiceBus(String, String)
Configures the discovery client to use the default Azure Service Bus bus control settings.
Declaration
public MassTransitDiscoveryClientBuilder UseDefaultAzureServiceBus(string connectionString, string responseQueueName)
Parameters
Type | Name | Description |
---|---|---|
System. |
connectionString | The connection string. |
System. |
responseQueueName | The response queue name. |
Returns
Type | Description |
---|---|
Mass |
The same instance of Mass |
UseDefaultRabbitMq(String, String)
Configures the discovery client to use the default RabbitMQ bus control settings.
Declaration
public MassTransitDiscoveryClientBuilder UseDefaultRabbitMq(string connectionString, string responseQueueName)
Parameters
Type | Name | Description |
---|---|---|
System. |
connectionString | The connection string. |
System. |
responseQueueName | The response queue name. |
Returns
Type | Description |
---|---|
Mass |
The same instance of Mass |
UseInMemoryBus(InMemoryBusControlSettings, String)
Configures the discovery client to use the provided in-memory bus control settings.
Declaration
public MassTransitDiscoveryClientBuilder UseInMemoryBus(InMemoryBusControlSettings inMemoryBusControlSettings, string responseQueueName)
Parameters
Type | Name | Description |
---|---|---|
In |
inMemoryBusControlSettings | The in-memory bus control settings. |
System. |
responseQueueName | The response queue name. |
Returns
Type | Description |
---|---|
Mass |
The same instance of Mass |