Jürgen Schmied [http://community.jboss.org/people/jschmied] created the discussion
"threadsafety of workitems" To view the discussion, visit: http://community.jboss.org/message/641622#641622 -------------------------------------------------------------- Hi! I have a process with two workitems in parallel. In executeWorkItem() I start a callable and execute completeWorkItem from a worker thread. When the flow runns for a while it blocks randomly. It seems the completeWorkItem() is not threadsafe and if different threads call it concurrently sometimes the acknowledging of the workitem gets lost. If I warp the ksession in a object and synchronize all calls it runns fine. I is told to do it this way in chapter 5.8.7.1. of the manual. Isn't the completeWorkItem call not supposed to be threadsafe? Thanks! juergen -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/641622#641622] 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 jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user