@Override
		public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception {
			logger.error("Unhandled exception, closing channel", e.getCause());
			e.getChannel().close();
		}
Set the max content length; default 1Mb.
@param maxContentLength the max content length.
extensions/spring-xd-extension-http/src/main/java/org/springframework/integration/x/http/NettyHttpInboundChannelAdapter.java