}
else
{
//We're bound to an existing servlet container, just grab the Bayeux object from the connector, which would have been
//set by the {@link MuleAjaxServlet}
AbstractBayeux b = ((AjaxServletConnector) endpoint.getConnector()).getBayeux();
if (b == null)
{
long start = System.currentTimeMillis();
//Not the correct use for response time out but if fine for this purpose
long timeout = start + endpoint.getResponseTimeout();