Hey guys,
Got a question related to the operation timeout when using Masstransit with AzureServiceBus.
If I configure my bus with an operation timeout, does that apply to all operations I perform against that bus? In my testing that appears to be the case. I've configured the bus like below. Is there any way to get different timeouts for different operations? Mainly to have one timeout for starting the bus and another for publishing messages?
var bus = Bus.Factory.CreateUsingAzureServiceBus(cfg =>
{
cfg.Host(busConnectionString, h =>
{
h.OperationTimeout = TimeSpan.FromSeconds(5);
h.TransportType = TransportType.NetMessaging;
});
});
Thanks,
Jakob