Trim ASB queue name at 50 characters
This commit is contained in:
parent
134896258a
commit
e70475d1e0
|
|
@ -31,6 +31,9 @@ namespace Elsa.Rebus.AzureServiceBus
|
|||
context.Configurer
|
||||
.Transport(t =>
|
||||
{
|
||||
if (queueName.Length > 50)
|
||||
queueName = queueName.Substring(queueName.Length - 50);
|
||||
|
||||
var transport = t.UseAzureServiceBus(connectionString, queueName, tokenProvider);
|
||||
configureTransport?.Invoke(transport);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue