// so consider this as an error condition for the client.
// Invoke the operationFailed callback and just return.
if (logger.isDebugEnabled())
logger.debug("Exceeded the number of server redirects (" + curNumServerRedirects + ") so error out.");
pubSubData.callback.operationFailed(pubSubData.context, new ServiceDownException(
new TooManyServerRedirectsException("Already reached max number of redirects: "
+ curNumServerRedirects)));
return;
}
// We will redirect and try to connect to the correct server