@Test public void testCreateOftpServerEndpointWithRegularUsercode() throws Exception { OftpServerEndpoint endpoint = resolveMandatoryEndpoint("oftp-server: OftpSettings config = endpoint.getSettings(); assertEquals("getProtocol()", "oftp-server", config.getProtocol()); assertEquals("getHost()", "myhost", config.getHost()); assertEquals("getPort()", 3305, config.getPort()); assertEquals("usercode", "O0001WGRUS000987", config.getUsercode()); assertEquals("password", "secret", config.getPassword()); }
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();  }