|
@@ -313,7 +313,6 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh |
|
@@ -313,7 +313,6 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh |
313
|
switch (target.getEntityType()) {
|
313
|
switch (target.getEntityType()) {
|
314
|
case RULE_NODE:
|
314
|
case RULE_NODE:
|
315
|
pushMsgToNode(nodeActors.get(new RuleNodeId(target.getId())), msg, fromRelationType);
|
315
|
pushMsgToNode(nodeActors.get(new RuleNodeId(target.getId())), msg, fromRelationType);
|
316
|
- pushUpdatesToEdges(msg);
|
|
|
317
|
break;
|
316
|
break;
|
318
|
case RULE_CHAIN:
|
317
|
case RULE_CHAIN:
|
319
|
parent.tell(new RuleChainToRuleChainMsg(new RuleChainId(target.getId()), entityId, msg, fromRelationType), self);
|
318
|
parent.tell(new RuleChainToRuleChainMsg(new RuleChainId(target.getId()), entityId, msg, fromRelationType), self);
|
|
@@ -347,6 +346,7 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh |
|
@@ -347,6 +346,7 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh |
347
|
|
346
|
|
348
|
private void pushMsgToNode(RuleNodeCtx nodeCtx, TbMsg msg, String fromRelationType) {
|
347
|
private void pushMsgToNode(RuleNodeCtx nodeCtx, TbMsg msg, String fromRelationType) {
|
349
|
if (nodeCtx != null) {
|
348
|
if (nodeCtx != null) {
|
|
|
349
|
+ pushUpdatesToEdges(msg);
|
350
|
nodeCtx.getSelfActor().tell(new RuleChainToRuleNodeMsg(new DefaultTbContext(systemContext, nodeCtx), msg, fromRelationType), self);
|
350
|
nodeCtx.getSelfActor().tell(new RuleChainToRuleNodeMsg(new DefaultTbContext(systemContext, nodeCtx), msg, fromRelationType), self);
|
351
|
} else {
|
351
|
} else {
|
352
|
log.error("[{}][{}] RuleNodeCtx is empty", entityId, ruleChainName);
|
352
|
log.error("[{}][{}] RuleNodeCtx is empty", entityId, ruleChainName);
|