}
setEntityRegistration(inboundEntityChannel.getRegistration());
if (inboundEntityChannel != null) {
result = new ReadableRepresentation(inboundEntityChannel, null,
contentLength);
result.setSize(contentLength);
setMessageState(MessageState.BODY);
}
} else {