reconnectInterval = 30;
reconnectInterval = 30000L;
        public SessionConnection(SessionSettings settings, SessionID sessionID) throws ConfigError {            if (settings.isSetting(sessionID, Initiator.SETTING_RECONNECT_INTERVAL)) {                try {                    reconnectInterval = settings.getLong(sessionID,                            Initiator.SETTING_RECONNECT_INTERVAL) * 1000L;                } catch (ConfigError e) {                    throw e;                } catch (FieldConvertError e) {                    throw (ConfigError) new ConfigError(e.getMessage()).initCause(e);                }            } else {                reconnectInterval = 30;            }            quickfixSession = sessionFactory.create(sessionID, settings);            quickfixSession.setResponder(new QuickFixSessionResponder());            for (int index = 0;; index++) {                try {                    String hostKey = Initiator.SETTING_SOCKET_CONNECT_HOST                            + (index == 0 ? "" : Integer.toString(index));                    String portKey = Initiator.SETTING_SOCKET_CONNECT_PORT                            + (index == 0 ? "" : Integer.toString(index));                    if (settings.isSetting(sessionID, hostKey)                            && settings.isSetting(sessionID, portKey)) {                        String host = settings.getString(sessionID, hostKey);                        int port = (int) settings.getLong(sessionID, portKey);                        Session ns = new Session(ioProcessor, new InetSocketAddress(host, port),                                FIXMessageData.RECOGNIZER, eventDispatcher);                        ns.addSessionListener(new NettySessionListener());                        if (nettySession == null) {                            nettySession = ns;                        }                        nettySessions.add(ns);                    } else {                        break;                    }                } catch (ConfigError e) {                    throw e;                } catch (FieldConvertError e) {                    throw (ConfigError) new ConfigError(e.getMessage()).initCause(e);                }            }            nettySession.start();        }