Any way to time delay an MSMQ message RRS feed

  • Question

  • I have an application that has been heavily written around using message queues to process various jobs. Works awesome and it's never broken once since launch!

    We are now developing a related add-on to the application, which is going to introduce the idea of regular/scheduled jobs that can be set up to run on a changeable basis depending on various factors. I'd like to limit any design of new windows services to do this if possible - which had me wondering if i could just leverage the existing system.

    So, is there any way to delay the visibility of MSMQ messages (as you can do with Azure) so i can have a message appear to the queue in the future (say, visible in 5 minutes time) after which time it can perform various operations and then create another instance of the message for five minutes after processing ... thus achieving a 'scheduled' task.


    Friday, July 13, 2012 4:13 PM

All replies

  • Where does the message originate from?  Couldn't you just have the sender control the delay and send it only when needed?
    Thursday, July 19, 2012 1:52 AM