The JavaCompute node has two output terminals, Out and Alternate.
Therefore, you can use the node both as a filter node and as a message transformation
node. After you have processed the message, propagate the message to an output
terminal using a
propagate() method. To propagate the message
assembly to the Out terminal use the following method:
out.propagate(assembly);
To propagate the message assembly to the Alternate terminal, use
the following method:
alt.propagate(assembly);