@UriEndpoint(scheme="ssh", title="SSH", syntax="ssh:host:port", alternativeSyntax="ssh:username:password@host:port", consumerClass=SshConsumer.class, label="file") public class SshEndpoint extends org.apache.camel.impl.ScheduledPollEndpoint
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
SshEndpoint() |
SshEndpoint(String uri,
SshComponent component) |
SshEndpoint(String uri,
SshComponent component,
SshConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getCertFilename()
Deprecated.
As of version 2.11, replaced by
getCertResource() |
String |
getCertResource() |
SshConfiguration |
getConfiguration() |
String |
getHost() |
org.apache.sshd.common.KeyPairProvider |
getKeyPairProvider() |
String |
getKeyType() |
String |
getPassword() |
String |
getPollCommand() |
int |
getPort() |
long |
getTimeout() |
String |
getUsername() |
boolean |
isSingleton() |
void |
setCertFilename(String certFilename)
Deprecated.
As of version 2.11, replaced by
setCertResource(String) |
void |
setCertResource(String certResource) |
void |
setConfiguration(SshConfiguration configuration) |
void |
setHost(String host) |
void |
setKeyPairProvider(org.apache.sshd.common.KeyPairProvider keyPairProvider) |
void |
setKeyType(String keyType) |
void |
setPassword(String password) |
void |
setPollCommand(String pollCommand) |
void |
setPort(int port) |
void |
setTimeout(long timeout) |
void |
setUsername(String username) |
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public SshEndpoint()
public SshEndpoint(String uri, SshComponent component)
public SshEndpoint(String uri, SshComponent component, SshConfiguration configuration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public SshConfiguration getConfiguration()
public void setConfiguration(SshConfiguration configuration)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getPollCommand()
public void setPollCommand(String pollCommand)
public org.apache.sshd.common.KeyPairProvider getKeyPairProvider()
public void setKeyPairProvider(org.apache.sshd.common.KeyPairProvider keyPairProvider)
public String getKeyType()
public void setKeyType(String keyType)
public long getTimeout()
public void setTimeout(long timeout)
@Deprecated public String getCertFilename()
getCertResource()
@Deprecated public void setCertFilename(String certFilename)
setCertResource(String)
public String getCertResource()
public void setCertResource(String certResource)
Apache Camel