I m doing testing against some software I ve written. The test enqueues messages into MSMQ via WCF at a rate faster than than my software can dequeue and process them. This shouldn t be a problem, since that is MSMQ s intended purpose, but if I enqueue enough messages to where it s taking my software more than 24 hours to process, those messages will get moved to the "Transactional dead-letter messages" queue and have their Class set to "The time-to-be-received has elapsed".
The only configurable that I can find is on the binding itself:
<bindings>
<netMsmqBinding>
<binding timeToLive="7.00:00:00" /> <!-- 7 days -->
...
I use this binding both when enqueuing and dequeuing and it doesn t seem to do the trick. Setting the value 2 seconds does have an effect, but setting it longer than 1 day, including to its max value (24 days) does not.
Is there another way to lengthen this time-to-be-received window? I can t find anything else to configure (when sending the message or creating the queue).