@Test public void testOftpServerDefaults() throws Exception { OftpServerEndpoint endpoint = resolveMandatoryEndpoint("oftp-server: OftpSettings config = endpoint.getSettings(); assertEquals("transport", TransportType.TCPIP, config.getTransport()); assertEquals("ssl", false, config.isSsl()); assertEquals("getPort()", 3305, config.getPort()); assertNull("userData", config.getUserData()); assertEquals("transferMode", TransferMode.BOTH, config.getTransferMode()); assertEquals("debSize", 4096, config.getDebSize()); assertEquals("windowSize", 64, config.getWindowSize()); assertEquals("compression", false, config.isCompression()); assertEquals("restart", false, config.isRestart()); assertEquals("specialLogic", false, config.isSpecialLogic()); assertEquals("secureAuth", false, config.isSecureAuth()); assertEquals("cipherSuiteSel", CipherSuite.NO_CIPHER_SUITE_SELECTION, config.getCipherSuite()); assertEquals("version", OdetteFtpVersion.OFTP_V20, config.getVersion()); assertEquals("timeout", 90000, config.getTimeout()); assertEquals("corePoolSize", 10, config.getCorePoolSize()); assertEquals("maxPoolSize", 100, config.getMaxPoolSize()); }
public OftpSettings getSettings() { return settings; }
OftpComponent extends DefaultComponent { public OftpSettings getSettings() { return settings; } }
OftpComponent extends DefaultComponent { public OftpSettings getSettings() { return settings; } OftpComponent();  OftpComponent(CamelContext context); }
OftpComponent extends DefaultComponent { public OftpSettings getSettings() { return settings; } OftpComponent();  OftpComponent(CamelContext context); Timer getTimer(); void setSettings(OftpSettings settings); OftpSettings getSettings(); }
OftpComponent extends DefaultComponent { public OftpSettings getSettings() { return settings; } OftpComponent();  OftpComponent(CamelContext context); Timer getTimer(); void setSettings(OftpSettings settings); OftpSettings getSettings();  }