Hi,
We have a java code which connects to guvnor and fires all the rules in a
package and gets back the final decision from Guvnor.
The code works fine for single request, if I send multiple request the code
takes more time to return the results. I am just wondering if we are doing
anything wrong which affects the response time for multiple request.
This is what we are doing now for multiple request,
Get multiple request in an request array object
Iterate through each request object and fire all the rules with the
parameters present in that request object and display the final decision for
each request.
For each request object we are invoking the function which creates a
ruleagent (based on guvnor.properties file) and fires all the rules with
corresponding request parameter and sends back the decision.
I am thinking this might be the issue, due to the fact that we are creating
new connection / rule agent everytime when we invoke the function and that
in turn cause more time for returning the results back.
I Just want to know if there is a way to just create a single session with
Guvnor using rule agent and invoke all the rules multiple times based on the
number of request and finally get all the decisions.
Thanks,
BB
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Issue-in-sending-Mult...
Sent from the Drools - User mailing list archive at
Nabble.com.