Skip to content

Allow control over the proxy name used for an endpoint #804

@davecluderaythinventory

Description

Problem

It is not possible to control the name of the proxy for an endpoint. This means that properly routing messages is not possible in some scenarios.

Our topology

We want to route messages between endpoints in two Azure Service Bus namespaces, as follows:

NServiceBus Messaging Bridge - Multi-Environment Topology

On the right-hand side, there are three distinct endpoints, in different namespaces, but all with the same name.

It's not possible to bridge more than one of these endpoints with the shared namespace on the left-hand side, because the proxy queue names would collide.

Ideally, we would like to have a way to configure an alias name for the proxy queue, for example: other-endpoint.ci, other-endpoint.qa etc.

This would allow us to bridge between all endpoints with no ambiguity.

Proposed feature

Introduce a way to specify an alias for each endpoint. The proxies in other transports would then all be created with the specified alias. For example:

// Register the three endpoints with an alias...
ciTransport.HasEndpoint("other-endpoint", alias: "other-endpoint.ci");
qaTransport.HasEndpoint("other-endpoint", alias: "other-endpoint.qa");
uatTransport.HasEndpoint("other-endpoint", alias: "other-endpoint.uat");

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions