refactoring

This commit is contained in:
YevhenBondarenko 2023-04-21 14:01:35 +02:00
parent ed1b5a0af7
commit e342ce1b3e

View File

@ -388,7 +388,6 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh
private void pushMsgToNode(RuleNodeCtx nodeCtx, TbMsg msg, String fromRelationType) {
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));
} else {
log.error("[{}][{}] RuleNodeCtx is empty", entityId, ruleChainName);