quickfixjEngine.stop();
}
}
private void createSession(SessionID sessionID) throws IOException, ConfigError, FieldConvertError, JMException, Exception {
SessionSettings settings = new SessionSettings();
settings.setString(Acceptor.SETTING_SOCKET_ACCEPT_PROTOCOL, TransportType.VM_PIPE.toString());
settings.setString(sessionID, SessionFactory.SETTING_CONNECTION_TYPE, SessionFactory.ACCEPTOR_CONNECTION_TYPE);
settings.setLong(sessionID, Acceptor.SETTING_SOCKET_ACCEPT_PORT, 1234);
TestSupport.setSessionID(settings, sessionID);
TestSupport.writeSettings(settings, settingsFile);
quickfixjEngine = new QuickfixjEngine("quickfix:test", settingsFile.getName(), false);