I have written a test based as much as possible on the Drools Flow 5.1 Persistence Documentation. You can see the code here:
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