com.ibm.broker.plugin
Class MbRoute
- java.lang.Object
-
- com.ibm.broker.plugin.MbRoute
-
public class MbRoute extends java.lang.ObjectMbRoute represents a Label node to which a message can be propagated. A node can propagate a message to any label node in the same message flow as itself.MbRoute objects are obtained by calling the MbNode methods:
getRouteorgetAllRoutes
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetName()Returns the name (label property) of the label node that the object represents.voidpropagate(MbMessageAssembly assembly)Propagates a message assembly to the label nodejava.lang.StringtoString()Returns a String representation of the MbRoute.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name (label property) of the label node that the object represents.- Returns:
- The name of the route
-
propagate
public void propagate(MbMessageAssembly assembly) throws MbException
Propagates a message assembly to the label node- Parameters:
assembly- The message assembly to propagate- Throws:
MbException- If an exception occurred.
-
toString
public java.lang.String toString()
Returns a String representation of the MbRoute.- Overrides:
toStringin classjava.lang.Object- Returns:
- The String representation of the MbRoute.
-
-