The incoming message and message assembly are read-only. In order
to modify a message, a copy of the incoming message must be made. The
Modifying
Message Class template in the
JavaCompute node wizard
generates this copy. The following copy constructors are called:
MbMessage outMessage = new MbMessage(inAssembly.getMessage);
MbMessageAssembly outAssembly = new MbMessageAssembly(inAssembly, outMessage);
The
new outAssembly object is propagated to the next node.