// adding compositeReceiver to the composite registry
SCBaseServlet.compositeRegistry.addSCMPLargeResponse(requestMessage.getSessionId(), largeResponse, oti);
responseMessage = firstSCMP;
}
encoderDecoder = AppContext.getEncoderDecoderFactory().createEncoderDecoder(responseMessage);
encoderDecoder.encode(response.getOutputStream(), responseMessage);
response.flushBuffer();
} catch (Exception e) {
LOGGER.error("Encoding message and replying to SC failed.", e);
}
}