[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Remove Message w/ Selector & list unique prop value
hendra_netm
do-not-reply at jboss.com
Mon Aug 27 05:38:40 EDT 2007
List unique Property value is also used by my colleague for his case.
He has about 1000 users but is only allowed to create about 10 thread of messages consumer to serve them due to resource available.
When a user logs in, the system should check whether there is a message for them or not. if there is, than the messages will be consumed and forwarded to the user.
When the number of user is more than the number of thread available, users will be served one after another using a scheduler algorithm (round robin, FIFO, etc).
His plan was using message consumer with message selector, but he needed to change the selector often. With list unique property, he can see directly which user has messages and change messages selector efficiently.
Best Regards,
Hendra
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078280#4078280
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078280
More information about the jboss-dev-forums
mailing list