rebus-org / Rebus.AzureServiceBus

:bus: Azure Service Bus transport for Rebus
https://mookid.dk/category/rebus
Other
33 stars 20 forks source link

OperationTimeout is not parsed from connectionstring by the new Microsoft.Azure.ServiceBus #33

Closed jr01 closed 5 years ago

jr01 commented 5 years ago

The old Azure servicebus lib parsed the OperationTimeout from the connectionstring, the new lib doesn't seem to do that.

https://github.com/rebus-org/Rebus.AzureServiceBus/blob/master/Rebus.AzureServiceBus/AzureServiceBus/AzureServiceBusTransport.cs#L101

https://github.com/Azure/azure-service-bus-dotnet/blob/master/src/Microsoft.Azure.ServiceBus/ServiceBusConnection.cs

https://github.com/Azure/azure-service-bus-dotnet/blob/master/src/Microsoft.Azure.ServiceBus/ServiceBusConnectionStringBuilder.cs

Suggestion: add a Rebus transport setting to set the ReceiveTimeout.

mookid8000 commented 5 years ago

Good idea 😄