// no body found stop decoding
return scmpMsg;
}
// decoding body - depends on body type
String scmpBodyTypeString = metaMap.get(SCMPHeaderAttributeKey.BODY_TYPE.getValue());
SCMPBodyType scmpBodyType = SCMPBodyType.getBodyType(scmpBodyTypeString);
try {
byte[] body = new byte[scmpBodySize];
int bodySize = this.readBufferFromStream(is, body);
if (scmpMsg.getHeaderFlag(SCMPHeaderAttributeKey.COMPRESSION)) {
if (AppContext.isScEnvironment() == false) {