We have a problem with Time-To-Reach-Queue being too long in Microsoft Message Queuing on some servers running Windows Server 2008 R2 .

How can we change the default time on the servers from 4 days to a lower value?

(Copy of: https://stackoverflow.com/questions/14957867/how-to-change-default-msmq-time-to-reach-queue-time)


If you are talking about servers that belong to a domain AND have MSMQ installed in AD-integrated mode, a default setting for "MaxTimeToReachQueue" can be changed in the "sites and services" MMC snapin. Expand the services folder, right click the "msmqServices" object and set the value on the "general" tab.

Set the default lifetime for messages

Any workgroup-mode installations of MSMQ need to specify the value in the code when sending a message.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.