Class MassTransitRequestSubmitterBuilder
Provides the builder class for a RequestSubmitterBuilder that uses the MassTransit transport.
Inheritance
Namespace: Copper.Remoting.MassTransit.Common.V1
Assembly: Copper.Remoting.MassTransit.Common.dll
Syntax
public class MassTransitRequestSubmitterBuilder
Constructors
View SourceMassTransitRequestSubmitterBuilder(RequestSubmitterBuilder)
Initializes a new instance of the MassTransitRequestSubmitterBuilder class.
Declaration
public MassTransitRequestSubmitterBuilder(RequestSubmitterBuilder requestSubmitterBuilder)
Parameters
Type | Name | Description |
---|---|---|
RequestSubmitterBuilder | requestSubmitterBuilder | The request submitter builder. |
Methods
View SourceUseBusControlSettings(BusControlSettings, String)
Configures the request submitter to use the provided bus control settings.
Declaration
public MassTransitRequestSubmitterBuilder UseBusControlSettings(BusControlSettings busControlSettings, string queueName)
Parameters
Type | Name | Description |
---|---|---|
BusControlSettings | busControlSettings | The bus control settings. |
System.String | queueName | The queue name. |
Returns
Type | Description |
---|---|
MassTransitRequestSubmitterBuilder | The same instance of MassTransitRequestSubmitterBuilder for chaining. |
UseDefaultAzureServiceBus(String, String)
Configures the request submitter to use the default Azure Service Bus bus control settings.
Declaration
public MassTransitRequestSubmitterBuilder UseDefaultAzureServiceBus(string connectionString, string queueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
System.String | queueName | The queue name. |
Returns
Type | Description |
---|---|
MassTransitRequestSubmitterBuilder | The same instance of MassTransitRequestSubmitterBuilder for chaining. |
UseDefaultRabbitMq(String, String)
Configures the request submitter to use the default RabbitMQ bus control settings.
Declaration
public MassTransitRequestSubmitterBuilder UseDefaultRabbitMq(string connectionString, string queueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
System.String | queueName | The queue name. |
Returns
Type | Description |
---|---|
MassTransitRequestSubmitterBuilder | The same instance of MassTransitRequestSubmitterBuilder for chaining. |
UseInMemoryBus(InMemoryBusControlSettings, String)
Configures the request submitter to use the provided in-memory bus control settings.
Declaration
public MassTransitRequestSubmitterBuilder 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 |
---|---|
MassTransitRequestSubmitterBuilder | The same instance of MassTransitRequestSubmitterBuilder for chaining. |
UseRequestSubmitterOptions(Action<RequestSubmitterOptions>)
Configures the request submitter's RequestSubmitterOptions instance.
Declaration
public MassTransitRequestSubmitterBuilder UseRequestSubmitterOptions(Action<RequestSubmitterOptions> configureRequestSubmitterOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Action<RequestSubmitterOptions> | configureRequestSubmitterOptions | A delegate that configures a RequestSubmitterOptions instance. |
Returns
Type | Description |
---|---|
MassTransitRequestSubmitterBuilder | The same instance of MassTransitRequestSubmitterBuilder for chaining. |