public void afterPop(StreamInputStream anIn, Msg aMsg, Object anOpaque)
throws IOException {
List prePop = (List) anOpaque;
MsgHeader header = aMsg.getHeader();
header.addHeader(MsgHeaderConstants.BODY_TYPE, prePop.get(0));
header.addHeader(MsgHeaderConstants.CORRELATION_ID, prePop.get(1));
if ( 5 != prePop.size() ) {
return;
}
header.addHeader(MsgHeaderConstants.SRC_NODE, prePop.get(2));
header.addHeader(MsgHeaderConstants.DEST_NODE, prePop.get(3));