diff --git a/doc/content/3.documentation/5.configuration/0.index.md b/doc/content/3.documentation/5.configuration/0.index.md index 1982c20c439..e937a2fcc1c 100755 --- a/doc/content/3.documentation/5.configuration/0.index.md +++ b/doc/content/3.documentation/5.configuration/0.index.md @@ -186,7 +186,7 @@ _ConfigureEndpoints_ uses an `IEndpointNameFormatter` to format the queue names The endpoint name formatters can also be customized by constructing a new instance and configuring MassTransit to use it. ```csharp -x.SetEndpointNameFormatter(new KebabCaseEndpointNameFormatter(prefix: "Dev")); +x.SetEndpointNameFormatter(new KebabCaseEndpointNameFormatter(prefix: "Dev", includeNamespace: false)); ``` By specifying a prefix, the endpoint name would be `dev-submit-order`. This is useful when sharing a single broker with multiple developers (Amazon SQS is account-wide, for instance). @@ -197,7 +197,7 @@ When using MultiBus with different endpoint name formatters for each bus... #content Specify the endpoint name formatter when calling `ConfigureEndpoints` as shown. ```csharp -cfg.ConfigureEndpoints(context, new KebabCaseEndpointNameFormatter(prefix: "Mobile")); +cfg.ConfigureEndpoints(context, new KebabCaseEndpointNameFormatter(prefix: "Mobile", includeNamespace: false)); ``` ::