sharyak [http://community.jboss.org/people/sharyak] created the discussion
"Duplicate tasks in the scheduler" To view the discussion, visit: http://community.jboss.org/message/635369#635369 -------------------------------------------------------------- In our application we have a requirement to expire tasks that are not completed in 30 days after creation. Emails need to be send. I used DeadlineHandler to implement it. However, I have following issues now: 1. TaskService can be created a first time. Since code in the TaskService running query every time that it is instanciated and queue allows for duplicates, I have multiple threads for the same task. 2. The second question. Out tasks have expiration ser to 30 days. There will be quite a lot of entries in the queue. I am running in the clustered enviroment wihout distributed cache. If I create TaskService once then, I will different cache entries on different servers. My question is : What will be your recommendation in this case? How did you guys envision it ? -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/635369#635369] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
