refactoring
This commit is contained in:
parent
ed1b5a0af7
commit
e342ce1b3e
@ -388,7 +388,6 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh
|
|||||||
|
|
||||||
private void pushMsgToNode(RuleNodeCtx nodeCtx, TbMsg msg, String fromRelationType) {
|
private void pushMsgToNode(RuleNodeCtx nodeCtx, TbMsg msg, String fromRelationType) {
|
||||||
if (nodeCtx != null) {
|
if (nodeCtx != null) {
|
||||||
//TODO: analyze that singleton flag and execute putToQueue if needed.
|
|
||||||
nodeCtx.getSelfActor().tell(new RuleChainToRuleNodeMsg(new DefaultTbContext(systemContext, ruleChainName, nodeCtx), msg, fromRelationType));
|
nodeCtx.getSelfActor().tell(new RuleChainToRuleNodeMsg(new DefaultTbContext(systemContext, ruleChainName, nodeCtx), msg, fromRelationType));
|
||||||
} else {
|
} else {
|
||||||
log.error("[{}][{}] RuleNodeCtx is empty", entityId, ruleChainName);
|
log.error("[{}][{}] RuleNodeCtx is empty", entityId, ruleChainName);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user