Re: [rules-users] FW: Drools 5.1.0.M2 - WorkItemNodeInstance --Listeners can't get hold of WorkItem object

2010-07-30 Thread Vijay K Pandey
Kris - I verified it with the latest snapshot and it looks good. Fix is working fine. Thanks Vijay From: Vijay K Pandey Sent: Tuesday, July 27, 2010 11:26 PM To: 'Rules Users List' Subject: RE: [rules-users] FW: Drools 5.1.0.M2 - WorkItemNodeInstance --Listeners can't get hold of WorkItem objec

Re: [rules-users] Accessing spring beans

2010-07-30 Thread OptimusPrime
Hi, indeed I have an error message in Eclipse since the xsd file is not available online (therefore no auto-completion). But it is not a blocking issue: the http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/extensible-xml.html spring namespace handler that parses

Re: [rules-users] How to Iterate list in drools

2010-07-30 Thread Esteban Aliverti
You might be looking for accumulate or collect patterns. You will find all the information you need in the manual. Best, El jul 30, 2010 11:22 a.m., "Dinesh kumar" escribió: Hi, I am facing problems in iterating a list in guvnor. I tried the following code and it worked. import java.util.Ar

[rules-users] Drools IDE Update site link for 5.1 CR1

2010-07-30 Thread drooRam
Do we have Drools IDE update site link for the candidate release version 5.1 CR1??? ( could be a silly question, but i am not sure how to update the eclipse plugin for 5.1 without downloading manually) -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Dro

Re: [rules-users] Accessing spring beans

2010-07-30 Thread drooRam
Optimus, I have a quick question on this. when u say that u hve done a poc with drools-spring integration, didn't you face the issue in spring config file when u try to define drools tag? Issue like ... Referenced drools-spring.xsd schema contains errors with parsing exception though the dro

[rules-users] How to Iterate list in drools

2010-07-30 Thread Dinesh kumar
Hi, I am facing problems in iterating a list in guvnor. I tried the following code and it worked. import java.util.ArrayList; rule createValidationReport dialect 'java' when ClaimRegistration($ailmentList : ailmentListFromScreen) then for(String ailment : (ArrayList) $ailmentList){ Syst

Re: [rules-users] Rules integration with Java -need help

2010-07-30 Thread Dinesh kumar
Hi, Thanks for your reply. Things are working. :) Regards, Dinesh -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Rules-integration-with-Java-need-help-tp966070p1008950.html Sent from the Drools - User mailing list archive at Nabble.com. __

Re: [rules-users] Implement timer in rule

2010-07-30 Thread David Sinclair
This may be a stupid question, but are you running with the latest code or an older version of Drools? 2010/7/29 james corrigan > Hi All, > > I am trying to implement a timer in a rule so that it executes every 15min > i have the following code: > > rule " When average temperature is greater tha

Re: [rules-users] fireAllRules performance

2010-07-30 Thread Michael Rhoden
Probably not, work is done on insert not fire. Fire just shows what is on the agenda. -Michael On Jul 30, 2010, at 8:32 AM, sjoo822 wrote: > > I have several thousand objects that gets inserted into a statefull > knowledge > session as show below: > > for (Item item : itemList) >

Re: [rules-users] how to access process variables within wait statenode timers?

2010-07-30 Thread retoy
Thanks for that hint, Kris! Now my timer works correctly... In case anyone is interested: here is the source code http://drools-java-rules-engine.46999.n3.nabble.com/file/n1008386/demo.variableTimer.zip demo.variableTimer.zip (a wait state which continues after a variable delay.) -- View thi

Re: [rules-users] Drools Objects not released from heap

2010-07-30 Thread dmiller44
Edson, Sorry - we just solved this. The leak isn't in Drools (which I suspected it might not be) but was in fact with java.util.concurrent. LinkedBlockingQueue. We were running JDK 6 Update 16 - which apparently suffers from the issue described in this ticket: http://bugs.sun.com/bugdatabase

[rules-users] ArrayList in Guvnor 5.1 M2

2010-07-30 Thread james corrigan
Hi All I have built the following rule in version 5.0 with no errors: rule "When average temperature is greater than 19" lock-on-active true when $t : ArrayList() from collect(Temperature()) //store all temperature objects in an arraylist

Re: [rules-users] StackOverflowError when serializing KnowledgeBase

2010-07-30 Thread Andargor
Thanks! So I assume the latest snapshot is not 5.2.0M1, which is the predicted fix version. For anyone having the problem, I used the -Xss5m java parameter as a workaround for now. A. --- On Tue, 7/27/10, Mark Proctor wrote: > From: Mark Proctor > Subject: Re: [rules-users] StackOverflowEr

[rules-users] Detecting an expired Event

2010-07-30 Thread Jean-Philippe Steinmetz
Hello everyone, I'm working on a Drools system that uses stream mode to handle incoming events from clients and I am trying to adapt some existing code to Drools. I'm unsure if it's fully applicable but I'm hoping someone can shed light on to it. My current execution path is... 1. Cl