[jboss-user] [JBoss jBPM] - Re: async pain

ax666 do-not-reply at jboss.com
Thu Jun 28 05:01:15 EDT 2007


Ronald, you're absolutely right, but there's nothing I can do now.
Our hacks are not of a quality for a patch. I can quickly describe what we did:
- new job executor who is starting 1 job reader thread
- job reader thread uses java executor service for thread pool
- reads jobs from db and starts new single job execution thread for each job
- synchronize on "exclusive" and on process id/node
- wait 1 second in each single job execution thread to not interfere with other jobs still running, this is the worst part, but it works
- changes are extensions, no patches. new job executor configured in jbpm config

too bad above doesn't work with 3.2.1

how many is "many people" ?

alex

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058616#4058616

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058616



More information about the jboss-user mailing list