Azure服务总线超时(关闭MessageSender时)
我们在调用messageSender.close()时经常超时 请求操作未在分配的超时00:01:10内完成。分配给此操作的时间可能是较长超时的一部分。有关异常类型和正确异常处理的更多信息,请参阅TrackingId:urn:uuid:8b8aa582-88b9-4ffe-b219-b831f1faf3d0,时间戳:10/5/2016 9:01:22 PM 在[0]处重试异常: 位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果) 位于Microsoft.ServiceBus.Messaging.Sbmp.DuplexRequestBindingElement.DuplexRequestSessionChannel.DuplexCorrelationAsyncResult.End(IAsyncResult结果) 在Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactoryAzure服务总线超时(关闭MessageSender时),azure,azureservicebus,Azure,Azureservicebus,我们在调用messageSender.close()时经常超时 请求操作未在分配的超时00:01:10内完成。分配给此操作的时间可能是较长超时的一部分。有关异常类型和正确异常处理的更多信息,请参阅TrackingId:urn:uuid:8b8aa582-88b9-4ffe-b219-b831f1faf3d0,时间戳:10/5/2016 9:01:22 PM 在[0]处重试异常: 位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult]
1.RequestSessionChannel.RequestAsyncResult.c.b_u9_3(RequestAsyncResult thisPtr,IAsyncResult r)
在Microsoft.ServiceBus.Messaging.IteratorAsyncResult中
1.StepCallback(IAsyncResult结果)
[1]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory1.RequestSessionChannel.EndRequest(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannel工厂
1.RedirectContainerSessionChannel.RequestAsyncResult.c_u显示类8_1.b_u4(RequestAsyncResult thisPtr,IAsyncResult r)
位于Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult结果)
[2]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannel工厂1.RedirectContainerSessionChannel.EndRequest(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory上
位于Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult结果)
[3]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory1.RequestSessionChannel.EndRequest(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.IteratorAsyncResult中
1.StepCallback(IAsyncResult结果)
[4]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.OnEndClose(IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.ClientEntity.EndClose(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.IteratorAsyncResult1.ParallelAsyncResult
1.OnCompleted(IAsyncResult ar)
[5]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult结果)
[6]处的异常重试:
位于Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult结果)
位于Microsoft.ServiceBus.Messaging.SendAvailabilityPairedNamespaceMessageSender.OnEndClose(IAsyncResult结果)
在Microsoft.ServiceBus.Messaging.ClientEntity.EndClose(IAsyncResult结果)您有没有机会共享代码?您是否在关闭接收器之前关闭了用于创建接收器的工厂?或者在多个线程上执行一些操作?我将添加代码。回答你的第二个问题,不,我们不会在关闭接收器之前关闭工厂。事实上,我们在应用程序的整个生命周期中都保持工厂的开放状态。您有机会共享代码吗?您是否在关闭接收器之前关闭了用于创建接收器的工厂?或者在多个线程上执行一些操作?我将添加代码。回答你的第二个问题,不,我们不会在关闭接收器之前关闭工厂。事实上,我们在应用程序的整个生命周期中保持工厂的开放状态。