Commit cb75f8a4301e6af96ffe1ce267de43d69c705bcf

Authored by Andrew Shvayka
Committed by GitHub
2 parents 33c6aecc 5e2e7e57

Merge pull request #5361 from smatvienko-tb/delay_node_is_deprecated

Delay node is deprecated
... ... @@ -38,10 +38,13 @@ import static org.thingsboard.rule.engine.api.TbRelationTypes.SUCCESS;
38 38 @Slf4j
39 39 @RuleNode(
40 40 type = ComponentType.ACTION,
41   - name = "delay",
  41 + name = "delay (deprecated)",
42 42 configClazz = TbMsgDelayNodeConfiguration.class,
43   - nodeDescription = "Delays incoming message",
44   - nodeDetails = "Delays messages for configurable period. Please note, this node acknowledges the message from the current queue (message will be removed from queue)",
  43 + nodeDescription = "Delays incoming message (deprecated)",
  44 + nodeDetails = "Delays messages for a configurable period. " +
  45 + "Please note, this node acknowledges the message from the current queue (message will be removed from queue). " +
  46 + "Deprecated because the acknowledged message still stays in memory (to be delayed) and this " +
  47 + "does not guarantee that message will be processed even if the \"retry failures and timeouts\" processing strategy will be chosen.",
45 48 icon = "pause",
46 49 uiResources = {"static/rulenode/rulenode-core-config.js"},
47 50 configDirective = "tbActionNodeMsgDelayConfig"
... ...