[rules-users] MultiThreaded Drools implemetation

2013-09-11 Thread ashwindrool
Hi, I need to implement multithread drools execution. Following i want to do 1. Load more than one drools rule set say drl1 and drl2. 2. Use core data model (facts) such that when independent thread executing rules it doesnot modify facts simultaneously otherwise other drl wont get executed.

[rules-users] WG: Drools Fusion 6.0.0.CR3

2013-09-11 Thread Weiss, Wolfgang
Hi all! I tried out Drools 6.0.0.CR3 and I have some difficulties in detecting patterns with rules containing temporal parameters. I'm using following rule: rule detect turn shifts agenda-group evaluation salience 100 when $aae : AudioActivityEvent(value = 50) from

Re: [rules-users] Drools Fusion 6.0.0.CR3

2013-09-11 Thread Mark Proctor
Unless you are using fireUntilHalt there is now no longer any async reactivity. As discussed before, we have a stronger separation now between passive and reactive mode. If you want to see what's happening, there is now a new trace debug information. You'll need a logback file similar to

Re: [rules-users] Drools Fusion 6.0.0.CR3

2013-09-11 Thread Mark Proctor
If you were to wait for the required time and simply call fireAllRules again, the timer base rule (as a result of the not) will be executed. In 6.1 we now have a special TimerNode:

Re: [rules-users] KnowledgeAgent with persistence?

2013-09-11 Thread dunnlow
Thanks David. Short answer is yes, I have it set to false. I am actually combining Spring and Java Configuration (I am doing this all in the drools-server). I create my KnowledgeAgent in Spring and then pass it (with the EntityManagerFactory, TransactionManager, and node) to an Initializer

Re: [rules-users] A Drools CEP Scenario - did I get it right?

2013-09-11 Thread amarok
PseudoClockScheduler clock; private void advance( Date eventDate ){ long currentTime = clock.getCurrentTime(); long eventTime = eventDate.getTime(); clock.advanceTime( eventTime - currentTime, TimeUnit.MILLISECONDS ); } This simple but great piece of

Re: [rules-users] Dynamic ValueRangeProvider

2013-09-11 Thread Andrew Varner
Here's the problem I am trying to solve. My users provide me a a list of configurations for what a truck can hold. For example: PickupTruck: 1xLargeSofa 3xSmallChair PickupTruck: 1xLargeSofa 1xSmallSofa 1xSmallChair PickupTruck: 5xSmallChair TractorTrailer: 2xLargeSofa 4xSmallChair … The