origSubData.clearServersList();
// Set a new type of VoidCallback for this async call. We need this
// hook so after the subscribe reconnect has completed, delivery for
// that topic subscriber should also be restarted (if it was that
// case before the channel disconnect).
origSubData.callback = new SubscribeReconnectCallback(origSubData, client, subHandler.getMessageHandler());
origSubData.context = null;
if (logger.isDebugEnabled())
logger.debug("Disconnected subscribe channel so reconnect with origSubData: " + origSubData);
client.doConnect(origSubData, cfg.getDefaultServerHost());
}