我可以在毒物队列中看到消息,但它们会在一段时间后被清除。我不确定这是怎么发生的。
如何将它们保留在毒物队列中,然后手动删除它们?
这是我在 WCF 服务中的 netMsmqBinding:
<-netMsmqBinding
<-binding name="MsmqBindingNonTransactionalNoSecurity" exactlyOnce="true" maxReceivedMessageSize="2147483647"
closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
receiveRetryCount="5"
maxRetryCycles="1"
retryCycleDelay="00:00:20"
receiveErrorHandling="Move">
<-readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" maxNameTableCharCount="2147483647" />
<-security mode="None"/>
<-/binding>
<-/netMsmqBinding>