Class Outbox

java.lang.Object
com.axelor.workflow.message.Outbox

public final class Outbox extends Object
Writes the one row a <send> produces, message or signal. Nothing is delivered here: the row commits with the sending walk and a later poll offers it to subscribers, so a message sent before its receiver parks still reaches it, and a later failure in the walk does not recall it. Each row carries its cascade, which bounds loops between definitions that wake each other.
  • Method Details

    • write

      public static void write(String stepId, String name, String key, String payload, Integer ttl, MessageExpect expect, ActivityContext context)
      Write one pending row.
      Parameters:
      key - the occurrence it addresses, or null for a signal
      payload - what it carries, already serialised, or null