JBoss Community

Re: Async service task questions

created by Maciej Swiderski in jBPM - View the full discussion

If you don't have any state kept in the session (facts or timers) you can use any session to complete your process. That means in your MDB instead of loading same session you could create new session and complete your process with it. Please keep in mind that loading same session in two different threads can cause optimitic locking errors when both threads will make changes to it.

 

HTH

Reply to this message by going to Community

Start a new discussion in jBPM at Community