scmpReply.setHeader(SCMPHeaderAttributeKey.MESSAGE_SEQUENCE_NR, msgSequenceNr.incrementAndGetMsgSequenceNr());
scmpReply.setIsReply(true);
scmpReply.setMessageType(scmpReq.getMessageType());
} else {
// last message of a chunk message received - request complete now
largeRequest.complete();
largeRequest.setHeader(SCMPHeaderAttributeKey.MESSAGE_SEQUENCE_NR, msgSequenceNr.incrementAndGetMsgSequenceNr());
scmpReply = largeRequest;
}
if (largeRequest != null && largeRequest.isComplete() == false) {