[rules-users] Drools 5.4 Jitting Error

gboro54 gboro54 at gmail.com
Thu May 17 11:12:49 EDT 2012


It looks like the rule executes(based on my unit test the proper element is
placed in the list) and it always seems to happen on the my last execution.
In addition I have noticed that the evaluations seem to be handled on other
threads. Is this correct behavior? 



gboro54 wrote
> 
> rule "Rule1 trade"
> 	no-loop true
> 	when
> 		$tsc:TradeSideContext(trade!=null,primarySide!=null,contraSide!=null)
> 		$trade:Trade($tradeDate:tradeDate, tradeSource == "O") from $tsc.trade
> 		$ps:TradeSide(capacity.capacityCode == CapacityCode.CUSTOMER) from
> $tsc.primarySide
> 		$cs:TradeSide(capacity.capacityCode == CapacityCode.CUSTOMER) from
> $tsc.contraSide
> 		$ft:FeeType(feeKeys[0] == DefaultFeeTypeComponent.RULE_1_SCH, feeKeys[1]
> == null) from $tsc.baseFee
> 
> 	then
> 
> 		$ft.appendKeyValue(DefaultFeeTypeComponent.RULE_1_ELG);
> 		events.select(new
> GenericBillingEvent(BillingEventType.BASE_FEE_EVENT)).fire($tsc);retract($tsc);
> end
> 


--
View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999228.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list