Class MassTransitRequestReceiverBuilder
Provides the builder class for a RequestReceiverBuilder that uses the MassTransit transport.
Inheritance
Namespace: Copper.Remoting.MassTransit.Common.V1
Assembly: Copper.Remoting.MassTransit.Common.dll
Syntax
public class MassTransitRequestReceiverBuilder
Constructors
View SourceMassTransitRequestReceiverBuilder(RequestReceiverBuilder)
Initializes a new instance of the MassTransitRequestReceiverBuilder class.
Declaration
public MassTransitRequestReceiverBuilder(RequestReceiverBuilder requestReceiverBuilder)
Parameters
Type | Name | Description |
---|---|---|
RequestReceiverBuilder | requestReceiverBuilder | The request receiver builder. |
Methods
View SourceUseBusControlSettings(BusControlSettings, String)
Configures the request receiver to use the provided bus control settings.
Declaration
public MassTransitRequestReceiverBuilder UseBusControlSettings(BusControlSettings busControlSettings, string queueName)
Parameters
Type | Name | Description |
---|---|---|
BusControlSettings | busControlSettings | The bus control settings. |
System.String | queueName | The queue name. |
Returns
Type | Description |
---|---|
MassTransitRequestReceiverBuilder | The same instance of MassTransitRequestReceiverBuilder for chaining. |
UseDefaultAzureServiceBus(String, String)
Configures the request receiver to use the default Azure Service Bus bus control settings.
Declaration
public MassTransitRequestReceiverBuilder UseDefaultAzureServiceBus(string connectionString, string queueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
System.String | queueName | The queue name. |
Returns
Type | Description |
---|---|
MassTransitRequestReceiverBuilder | The same instance of MassTransitRequestReceiverBuilder for chaining. |
UseDefaultRabbitMq(String, String)
Configures the request receiver to use the default RabbitMQ bus control settings.
Declaration
public MassTransitRequestReceiverBuilder UseDefaultRabbitMq(string connectionString, string queueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
System.String | queueName | The queue name. |
Returns
Type | Description |
---|---|
MassTransitRequestReceiverBuilder | The same instance of MassTransitRequestReceiverBuilder for chaining. |
UseInMemoryBus(InMemoryBusControlSettings, String)
Configures the request receiver to use the provided in-memory bus control settings.
Declaration
public MassTransitRequestReceiverBuilder UseInMemoryBus(InMemoryBusControlSettings inMemoryBusControlSettings, string queueName)
Parameters
Type | Name | Description |
---|---|---|
InMemoryBusControlSettings | inMemoryBusControlSettings | The in-memory bus control settings. |
System.String | queueName | The queue name. |
Returns
Type | Description |
---|---|
MassTransitRequestReceiverBuilder | The same instance of MassTransitRequestReceiverBuilder for chaining. |