public void disconnect(HttpConsumer consumer) throws Exception {
ServletEndpoint endpoint = (ServletEndpoint) consumer.getEndpoint();
CamelServlet servlet = getCamelServlet(endpoint.getServletName());
ObjectHelper.notNull(servlet, "CamelServlet");
servlet.disconnect(consumer);
}
}