copyResponseHeaders(outMessage, response);
outMessage.put(RESPONSE_HEADERS_COPIED, "true");
if (oneWay && !MessageUtils.isPartialResponse(outMessage)) {
response.setContentLength(0);
response.flushBuffer();
response.getOutputStream().close();
} else if (!getStream) {
response.getOutputStream().close();
} else {
responseStream = response.getOutputStream();