This content has been marked as final.
Show 2 replies
-
1. Re: how to avoid racing in asynchronize call in jboss
jaikiran Jan 29, 2006 4:33 AM (in response to ravuthakumar)I want to delay the starting time of asynchronize process to let the current transacation finish.
So that in Async process i want see records inserted as part of parent/current transaction.
I would suggest, you trigger the asynchronous process, once the transaction is complete. Dont do the triggering as part of the transaction. -
2. Re: how to avoid racing in asynchronize call in jboss
ravuthakumar Jan 29, 2006 4:51 AM (in response to ravuthakumar)At the end of method call(as a part of current transaction) i am triggering three async process. so it is very much possible that one of the consumer will get prcedence over the current calling thread.