Package com.axelor.workflow.message
Class Outbox
java.lang.Object
com.axelor.workflow.message.Outbox
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 Summary
Modifier and TypeMethodDescriptionstatic voidwrite(String stepId, String name, String key, String payload, Integer ttl, MessageExpect expect, ActivityContext context) Write one pending row.
-
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 signalpayload- what it carries, already serialised, or null
-