Hi all
I 'm designing multiple process workflow engine. I deploy 4 services on Websphere and finding idea how to wake up them. Current solution is
1 Quartz will wake up process every minute , if last process already running, this process will not run duplicate ( use java's static variable to control) .
2 Process query maximum to 200 record.
2 Process will create concurrence thread maximum to 50 to process job.
3 Process sleep 5 second and check if there are free seat to process more.
4 If there are no record to process, process will fetch data next 200 record
5 if there are no data , process will end , wait quartz to wake up later
What you think about it ? Do you have other idea?