public static interface SshComponentBuilderFactory.SshComponentBuilder extends ComponentBuilder<org.apache.camel.component.ssh.SshComponent>
| Modifier and Type | Method and Description |
|---|---|
default SshComponentBuilderFactory.SshComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default SshComponentBuilderFactory.SshComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default SshComponentBuilderFactory.SshComponentBuilder |
certResource(String certResource)
Sets the resource path of the certificate to use for Authentication.
|
default SshComponentBuilderFactory.SshComponentBuilder |
certResourcePassword(String certResourcePassword)
Sets the password to use in loading certResource, if certResource is
an encrypted key.
|
default SshComponentBuilderFactory.SshComponentBuilder |
channelType(String channelType)
Sets the channel type to pass to the Channel as part of command
execution.
|
default SshComponentBuilderFactory.SshComponentBuilder |
configuration(org.apache.camel.component.ssh.SshConfiguration configuration)
Component configuration.
|
default SshComponentBuilderFactory.SshComponentBuilder |
failOnUnknownHost(boolean failOnUnknownHost)
Specifies whether a connection to an unknown host should fail or not.
|
default SshComponentBuilderFactory.SshComponentBuilder |
keyPairProvider(org.apache.sshd.common.keyprovider.KeyPairProvider keyPairProvider)
Sets the KeyPairProvider reference to use when connecting using
Certificates to the remote SSH Server.
|
default SshComponentBuilderFactory.SshComponentBuilder |
keyType(String keyType)
Sets the key type to pass to the KeyPairProvider as part of
authentication.
|
default SshComponentBuilderFactory.SshComponentBuilder |
knownHostsResource(String knownHostsResource)
Sets the resource path for a known_hosts file.
|
default SshComponentBuilderFactory.SshComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SshComponentBuilderFactory.SshComponentBuilder |
password(String password)
Sets the password to use in connecting to remote SSH server.
|
default SshComponentBuilderFactory.SshComponentBuilder |
pollCommand(String pollCommand)
Sets the command string to send to the remote SSH server during every
poll cycle.
|
default SshComponentBuilderFactory.SshComponentBuilder |
shellPrompt(String shellPrompt)
Sets the shellPrompt to be dropped when response is read after
command execution.
|
default SshComponentBuilderFactory.SshComponentBuilder |
sleepForShellPrompt(long sleepForShellPrompt)
Sets the sleep period in milliseconds to wait reading response from
shell prompt.
|
default SshComponentBuilderFactory.SshComponentBuilder |
timeout(long timeout)
Sets the timeout in milliseconds to wait in establishing the remote
SSH server connection.
|
default SshComponentBuilderFactory.SshComponentBuilder |
username(String username)
Sets the username to use in logging into the remote SSH server.
|
build, build, doSetProperty, registerdefault SshComponentBuilderFactory.SshComponentBuilder failOnUnknownHost(boolean failOnUnknownHost)
failOnUnknownHost - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder knownHostsResource(String knownHostsResource)
knownHostsResource - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder timeout(long timeout)
timeout - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder pollCommand(String pollCommand)
pollCommand - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder channelType(String channelType)
channelType - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder configuration(org.apache.camel.component.ssh.SshConfiguration configuration)
configuration - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder shellPrompt(String shellPrompt)
shellPrompt - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder sleepForShellPrompt(long sleepForShellPrompt)
sleepForShellPrompt - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder certResource(String certResource)
certResource - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder certResourcePassword(String certResourcePassword)
certResourcePassword - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder keyPairProvider(org.apache.sshd.common.keyprovider.KeyPairProvider keyPairProvider)
keyPairProvider - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder keyType(String keyType)
keyType - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder password(String password)
password - the value to setdefault SshComponentBuilderFactory.SshComponentBuilder username(String username)
username - the value to setApache Camel