Class SendNode

All Implemented Interfaces:
WorkflowNode

public final class SendNode extends AbstractWorkflowNode
Announces something by name: with message, to every run waiting on that name and this key; with signal, to every run listening for the name. The walk passes straight through; the row commits with the node and is delivered afterwards, so a receiver that parks later still gets it. An optional <payload> snapshots data as the node runs.
  • Constructor Details

    • SendNode

      public SendNode()
  • Method Details

    • type

      public String type()
      Description copied from interface: WorkflowNode
      The element name (start, script, ...), matching the @JsonSubTypes names. Not getType(), so bean scanning ignores it.
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getSignal

      public String getSignal()
    • setSignal

      public void setSignal(String signal)
    • broadcast

      public boolean broadcast()
      Whether this announces a signal rather than a message.
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getPayload

      public String getPayload()
    • setPayload

      public void setPayload(String payload)
    • getTtl

      public Integer getTtl()
    • setTtl

      public void setTtl(Integer ttl)
    • getExpect

      public MessageExpect getExpect()
    • setExpect

      public void setExpect(MessageExpect expect)
    • getNext

      public String getNext()
    • setNext

      public void setNext(String next)