lsmem = SegmentUtilities.createSegmentMemory(lts, this);
}
// TODO this is OTT, it shouldn't need to do this for ALL rules, just those rules that event stream inputs (mdp)
if( this.ruleBase.getConfiguration().getEventProcessingMode().equals(EventProcessingOption.STREAM) ) {
lmem.linkNode(this);
List<PathMemory> pmems = lmem.getSegmentMemory().getPathMemories();
PathMemory pmm = pmems!=null && !pmems.isEmpty() ? pmems.get(0) : null;
if( pmm != null && pmm.getRuleAgendaItem() != null ) {
RuleAgendaItem item = pmm.getRuleAgendaItem();
item.getRuleExecutor().reEvaluateNetwork( this, new org.drools.core.util.LinkedList<StackEntry>(), false);