[rules-users] Problem with Collection

mohanm mohanm.eee at gmail.com
Sat Apr 12 23:26:54 EDT 2014


Hi Laune,

Drools is integrated to an application A which is communicating to another
application B through webservice. Based on the facts in the working memory
we are going to do send an request to Application B to do some action either
create,update or delete existing events. All the calls to the Application B
is synchronous. If we have more and more requests going to Application B
through synchronous calls, Application B is taking time to process those
requests. we need to limit these calls as low as possible, Any faults at
device can generate more than 100 events which in turn converted in to facts
and inserted into working memory. For each facts, I don't want to create 100
requests to Application B. I need to send only one request to Application B
for all the facts together, So we are using collection to control this.

While using collection we were facing the problem as mentioned below.

Hope I made you understand 





--
View this message in context: http://drools.46999.n3.nabble.com/Problem-with-Collection-tp4029219p4029227.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list