@UriEndpoint(firstVersion="2.10.0",
scheme="ssh",
title="SSH",
syntax="ssh:host:port",
alternativeSyntax="ssh:username:password@host:port",
label="file")
public class SshEndpoint
extends org.apache.camel.support.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() |
String |
getChannelType() |
SshConfiguration |
getConfiguration() |
String |
getHost() |
org.apache.sshd.common.keyprovider.KeyPairProvider |
getKeyPairProvider() |
String |
getKeyType() |
String |
getKnownHostsResource() |
String |
getPassword() |
String |
getPollCommand() |
int |
getPort() |
String |
getShellPrompt() |
long |
getSleepForShellPrompt() |
long |
getTimeout() |
String |
getUsername() |
boolean |
isFailOnUnknownHost() |
boolean |
isSingleton() |
void |
setCertFilename(String certFilename)
Deprecated.
As of version 2.11, replaced by
setCertResource(String) |
void |
setCertResource(String certResource) |
void |
setChannelType(String channelType) |
void |
setConfiguration(SshConfiguration configuration) |
void |
setFailOnUnknownHost(boolean failOnUnknownHost) |
void |
setHost(String host) |
void |
setKeyPairProvider(org.apache.sshd.common.keyprovider.KeyPairProvider keyPairProvider) |
void |
setKeyType(String keyType) |
void |
setKnownHostsResource(String knownHostsResource) |
void |
setPassword(String password) |
void |
setPollCommand(String pollCommand) |
void |
setPort(int port) |
void |
setShellPrompt(String shellPrompt) |
void |
setSleepForShellPrompt(long sleepForShellPrompt) |
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, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, 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.keyprovider.KeyPairProvider getKeyPairProvider()
public void setKeyPairProvider(org.apache.sshd.common.keyprovider.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)
public String getKnownHostsResource()
public void setKnownHostsResource(String knownHostsResource)
public boolean isFailOnUnknownHost()
public void setFailOnUnknownHost(boolean failOnUnknownHost)
public String getChannelType()
public void setChannelType(String channelType)
public String getShellPrompt()
public void setShellPrompt(String shellPrompt)
public long getSleepForShellPrompt()
public void setSleepForShellPrompt(long sleepForShellPrompt)
Apache Camel