Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.plugin.MbOutputTerminal

java.lang.Object
        com.ibm.broker.plugin.MbTerminal
                com.ibm.broker.plugin.MbOutputTerminal

public class MbOutputTerminal
extends MbTerminal

MbOutputTerminal represents a terminal to which a message is propagated out of the user-defined node. A node should have one or more output terminals.

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.

Method Index
Method Description
boolean isAttached() Indicates whether the terminal is attached to anything or not.
void propagate(MbMessageAssembly) Propagates an MbMessageAssembly to the terminal.
String toString() Returns a String representation of the MbOutputTerminal.

Methods

isAttached

public boolean isAttached() throws MbException

Indicates whether the terminal is attached to anything or not.

propagate

public void propagate(MbMessageAssembly assembly) throws MbException

Propagates an MbMessageAssembly to the terminal.

toString

public String toString() 

Returns a String representation of the MbOutputTerminal.

Class Hierarchy All Classes All Fields and Methods