configureConnector(connector, serverUrl.getHost(), serverUrl.getPort());
getHttpServer().addConnector(connector);
EndpointBuilder builder = muleContext.getEndpointFactory().getEndpointBuilder(serverUrl.toString());
servlet = (ContinuationCometdServlet)createServlet(connector, builder.buildInboundEndpoint());
}
@Override
public Servlet createServlet(AbstractNetworkConnector connector, ImmutableEndpoint endpoint)
{