public class MbOutputTerminal extends MbTerminal
If a node creates a terminal named 'failure', then the framework will automatically use this to propagate a failed message. Likewise, if an input node creates a terminal named 'catch', then the framework will automatically use this to propagate a failed message caused by a downstream exception.
Output terminals are created in the constructor of the user node class
by calling the
createOutputTerminal
method.
Modifier and Type | Method and Description |
---|---|
void |
propagate(MbMessageAssembly assembly)
Propagates an MbMessageAssembly to the terminal.
|
void |
propagate(MbMessageAssembly assembly,
boolean clear)
Propagates an MbMessageAssembly to the terminal.
|
String |
toString()
Returns a String representation of the MbOutputTerminal.
|
equals, getName, isAttached, isDynamic
public void propagate(MbMessageAssembly assembly) throws MbException
assembly
- The MbMessageAssembly being propagated.MbException
public void propagate(MbMessageAssembly assembly, boolean clear) throws MbException
assembly
- The MbMessageAssembly being propagated.clear
- Indicates if the message assembly is to be
cleared after propagation. This will clear
all of the output messages, their root
elements and clear the resources associated
with the assembly. Setting this value to
true is the equivalent of using ESQL
PROPAGATE with DELETE default.MbException
public String toString()
toString
in class MbTerminal