You could either embed Drools inside your application, or run it as a
separate service, either are probably fine. Note that, if you configure
persistence, it will automatically store the state of your process
instances at "safe points" during the execution of your application.
That means that you
Hello Kris,
Thank you for your reply.
I am currenty doing "test-driven" development outside an application
server to learn the API. I launch processes from within a unit test
method; hence my need to wait in this manner so that I can perform a
final assertion on process state (after the proces
I'm not sure that having a thread wait like this until all processes
have completed is a good idea in general, as in theory processes could
run for a long time (hours/days/weeks/...). Unless of course you are
only using synchronous processes, but in that case the engine will only
return once the p
e use.)
- Original Message
From: Alexandros Karypidis
To: Rules Users List
Sent: Tuesday, September 29, 2009 7:01:56 PM
Subject: [rules-users] Drools Flow: waiting for process to complete without
polling
Hello,
I'm not very experienced in the Drools Flow API so I'm looking into the
bes
Hello,
I'm not very experienced in the Drools Flow API so I'm looking into the
best way to code a simple thing: wait for all processes in a session to
complete without polling.
The only way I could thing of from the javadoc reference I read, is to
synchronize and do a wait()/notify() using a P