I have written a test based as much as possible on the Drools Flow 5.1 Persistence Documentation. You can see the code here:

 

http://pastebin.com/33QXK4iU

 

And I have attached my eclipse project but without the jars as its too big, if anyone wants a zip of the whole project ready to run, I can put it on an http server for you.

 

My question is why when I change the code from running without persistence to running with persistence does it become “single threaded”? You can see by toggling the persistence variable in the top of the test file that when persistence is enabled each flow will complete before the next one begins yet without persistence they run in parallel.

 

Any advice on what I am doing wrong or whether persistence simply does not support what I want to do is much appreciated.

 

 

Greg

 

 




**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************