Hello,
We have application contains from 3 separate component. Components communicate with others over MSMQ and now we trying to used ServiceBus (Windows Azure Pack: Service Bus 1.1) on Windows server instead of MSMQ.
We have problem with communication between the first component and the second one over service bus.
The first component reads messages from 3rd party company and then calls methods on the second component.
The Second component contains workflow in IIS. Workflow waits in some state and waits for call method for move to other state. Messages from 3rd party company can be received out of order and then can wait in queue.
And Here is the problem with service bus. Waiting messages in queue are quickly move to dead letter queue. We have set Max delivery count to 720 and lock duration to 1 minute so if messages are not consume must wait in queue at least 12 hours (720 * 1 / 60 = 12) but messages are moved to dead letter queue in 1 hour and report in message says that max delivery count reached.
Can you help me with it?
Thanks.
Jan
Service Bus setting:
MSMQ binding Setting:
<netMsmqBinding><binding name="NetMsmqBinding_IInstructionServices" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" deadLetterQueue="Custom" customDeadLetterQueue="net.msmq://localhost/private/csdinstructionprocessing.deadletter" durable="true" exactlyOnce="true" maxReceivedMessageSize="65536" maxRetryCycles="2" receiveErrorHandling="Move" receiveRetryCount="5" retryCycleDelay="00:30:00" timeToLive="1.00:00:00" useSourceJournal="false" useMsmqTracing="false" queueTransferProtocol="Native" maxBufferPoolSize="524288" useActiveDirectory="false" validityDuration="3.00:00:00"><readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /><security mode="None"><transport msmqAuthenticationMode="None" msmqProtectionLevel="None" /></security></binding></netMsmqBinding>