Hi, I have a question regarding task assignment. If I set a pool of actors to a task means that several people can have the same task in their tasklist. When a user decide to work on a task the API suggests you to immediately assign the task to the user removing the task from the other actors task list.
This work fine but in a web application we show the list of tasks in a page and is quite easy that 2 users click on the same task so we can control that tha task is un-assigned before assigning it. This will solve a lot of cases but because it's not an atomic process it could fail the same. Does anybody knows a possible solution to avoid this? Consider that we are working on a cluster and this means we can't use "synchronized" blocks. Many thanks for any idea Claudio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919794#3919794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919794 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user