Specify Endpoint Name

Component: NServiceBus
NuGet Package NServiceBus (8-pre)
This page targets a pre-release version. Pre-releases are subject to change and samples are not guaranteed to be fully functional.

Define the endpoint name at initialization time:

var endpointConfiguration = new EndpointConfiguration("MyEndpoint");

See also:

Input queue

By default, the endpoint's input queue name is the same as endpoint's name.

The input queue name can be overridden:

endpointConfiguration.OverrideLocalAddress("MyEndpoint.Messages");
Changing the input queue may also require adjusting the routing configuration for senders to send messages to the renamed queue. See routing configuration.

Last modified