@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) |
configureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic SshEndpoint()
public SshEndpoint(String uri, SshComponent component)
public SshEndpoint(String uri, SshComponent component, SshConfiguration configuration)
public boolean isSingletonProducer()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic 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)
public String getCertResource()
public void setCertResource(String certResource)
public String getCertResourcePassword()
public void setCertResourcePassword(String certResourcePassword)
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