java.lang.Object com.ibm.broker.plugin.MbMessageAssembly
public class MbMessageAssembly
extends Object
MbMessageAssembly is the top level structure used to pass messages between nodes. As well as the message itself, it also contains the exception list and the local and global environments all represented by MbMessage objects.
Constructor | Description |
---|---|
MbMessageAssembly(MbMessageAssembly, MbMessage) | Semi-copy constructor for MbMessageAssembly. |
MbMessageAssembly(MbMessageAssembly, MbMessage, MbMessage, MbMessage, MbMessage) | Semi-copy constructor for MbMessageAssembly. |
Method | Description |
---|---|
MbMessage getExceptionList() | Gets the exception list associated with the assembly. |
MbMessage getGlobalEnvironment() | Gets the global environment associated with the assembly. |
MbMessage getLocalEnvironment() | Gets the local environment associated with the assembly. |
MbMessage getMessage() | Gets the message associated with the assembly. |
String toString() | Returns a String representation of the MbMessage. |
public MbMessageAssembly(MbMessageAssembly assembly, MbMessage message) throws MbExceptionSemi-copy constructor for MbMessageAssembly.
- Parameters
- assembly - The MbMessageAssembly upon which the new assembly is based.
- message - The new message object to add to the assembly.
- Throws
public MbMessageAssembly(MbMessageAssembly assembly, MbMessage localEnvironment, MbMessage globalEnvironment, MbMessage exceptionList, MbMessage message) throws MbExceptionSemi-copy constructor for MbMessageAssembly.
- Parameters
- assembly - The MbMessageAssembly upon which the new assembly is based.
- localEnvironment - The MbMessage representing the local environment.
- globalEnvironment - The MbMessage representing the global environment.
- exceptionList - The MbMessage representing the exception list.
- message - The MbMessage representing the message.
- Throws
public MbMessage getExceptionList() throws MbExceptionGets the exception list associated with the assembly.
- Returns
- An MbMessage representing the internal exception list.
public MbMessage getGlobalEnvironment() throws MbExceptionGets the global environment associated with the assembly.
- Returns
- An MbMessage representing the internal global environment.
- Throws
public MbMessage getLocalEnvironment() throws MbExceptionGets the local environment associated with the assembly.
- Returns
- An MbMessage representing the internal local environment.
- Throws
public MbMessage getMessage() throws MbExceptionGets the message associated with the assembly.
- Returns
- An MbMessage representing the message data.
- Throws
public String toString()Returns a String representation of the MbMessage.
- Returns
- String representing the message.
- Overrides
- toString in class Object