I am a beginning with Flex and MSMQ. I am trying to use WebOrb's messaging component with MSMQ for my new Flex application.. I would like my server to send real time notifications to a specific client, such as "You got mail!" if that client is logged in at that time. I want to keep 10 messages per user at all time so they don't get a flooded if they don't logged on for a week.
1) What would be the best way to setup the queues for web application in general? Assuming that my app will have thousands of users a day, should I be creating a queue for each user so they have their own private queues?
2) How can I maintain the number of messages in each queue(if I am creating a queue per user?) so it would only keep the last 10 messages?