From: "Robert G." <g...@mercon24.de>
> yes exactly what I thought, the timout needs to be suspended too. So it works
> good. What I am wondering why its not possible to have multiple transactions
> paralell. If my hardware recources and maybe my internet connection are good
> enough I could handle thousands of transactions, so the time all together
> would shrink to a minimum (with high ressource ussage).
> 
> With the require-new-transaction="true" I get the results at the end, but
> all transactions will be handled in a row, what in my opinion is ressource
> friendly, but takes long. 

Then, if loop steps don't depend on each other, call the service asynchronously 
rather than synchronously.
Depending of the security you want for each step to be completed, you would 
want to make these async calls persistent (jobs) or not.
To follow jobs use /webtools/control/FindJob

HTH

Jacques

 
> btw. also thanks Deepak, your hints helped me a lot to use Groovy things as
> jobs, great!
> 
> 
> 
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/Groovy-call-a-service-within-a-while-loop-wait-notify-tp4641435p4641451.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to