C# Class MassTransit.BusFactoryConfiguratorExtensions

Datei anzeigen Open project: MassTransit/MassTransit

Public Methods

Method Description
Host ( this configurator, Uri hostAddress, Action configure ) : IServiceBusHost

Adds a service bus host using the MassTransit style URI host name

Host ( this configurator, string connectionString, Action configure ) : IServiceBusHost

Adds a Service Bus host using a connection string (Endpoint=...., etc.).

ReceiveEndpoint ( this configurator, IServiceBusHost host, Action configure ) : void

Declare a ReceiveEndpoint using a unique generated queue name. This queue defaults to auto-delete and non-durable. By default all services bus instances include a default receiveEndpoint that is of this type (created automatically upon the first receiver binding).

SharedAccessSignature ( this configurator, Action configure ) : void

Method Details

Host() public static method

Adds a service bus host using the MassTransit style URI host name
public static Host ( this configurator, Uri hostAddress, Action configure ) : IServiceBusHost
configurator this The bus factory configurator
hostAddress System.Uri The host address, in MassTransit format (sb://namespace.servicebus.windows.net/scope)
configure Action A callback to further configure the service bus
return IServiceBusHost

Host() public static method

Adds a Service Bus host using a connection string (Endpoint=...., etc.).
public static Host ( this configurator, string connectionString, Action configure ) : IServiceBusHost
configurator this The bus factory configurator
connectionString string The connection string in the proper format
configure Action A callback to further configure the service bus
return IServiceBusHost

ReceiveEndpoint() public static method

Declare a ReceiveEndpoint using a unique generated queue name. This queue defaults to auto-delete and non-durable. By default all services bus instances include a default receiveEndpoint that is of this type (created automatically upon the first receiver binding).
public static ReceiveEndpoint ( this configurator, IServiceBusHost host, Action configure ) : void
configurator this
host IServiceBusHost
configure Action
return void

SharedAccessSignature() public static method

public static SharedAccessSignature ( this configurator, Action configure ) : void
configurator this
configure Action
return void