As I have tried to build the minimum setup, I come to think that it is not JBPM problem.
Let's put it this way: I create a row in DB, send a JMS message, and create another
row. In the end I commit my transaction.
In the meantime my message is processed, and there is a query to the DB for the rows I
have created (but not commited yet - or maybe yes?). Obviously, the same race condition
would still hold, no JBPM involved.
Maybe using JMS is not a good idea here, and maybe I should use database as a synchronizer
(i.e. write a message to my DB and consume it from there by some other thread) rather than
JMS. In this case, all the rows will be in DB.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066654#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...