locked
Any better suggesstion (MessageQueue)? RRS feed

  • Question

  • Hello,

    I have a queue that new message comes in once or twice every month. (the day is kina random..that could be one day of first week...or third day of second week..something like those)

    Each message(size varies) contains scheduled day information when it needs to be processed.

    For example, let's say one message came in today(2/12/2013). The scheduled day of this message, say, (3/19/2013)...This means that this message needs to be processed on 3/19/2013.

    What I am doing is that I created a service that has a thread. In that thread, I loop through the queue for each message to check the scheduled day to pick up and process...

    Is there any better approach you could think of?

    Want to hear some if there is any suggestion.

    Thanks,

    Tuesday, February 12, 2013 4:31 PM

All replies

  • What is the format of the message?  Have you consider making the message XML to make it easier to extract the fields of the message?

    jdweng

    Tuesday, February 12, 2013 5:36 PM
  • Yes...that message is XML.

    Tuesday, February 12, 2013 6:35 PM