public static interface SshComponentBuilderFactory.SshComponentBuilder extends ComponentBuilder<org.apache.camel.component.ssh.SshComponent>
| Modifier and Type | Method and Description |
|---|---|
default SshComponentBuilderFactory.SshComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
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)
boolean type.
Default: false
Group: commondefault SshComponentBuilderFactory.SshComponentBuilder knownHostsResource(String knownHostsResource)
java.lang.String type.
Group: commondefault SshComponentBuilderFactory.SshComponentBuilder timeout(long timeout)
long type.
Default: 30000
Group: commondefault SshComponentBuilderFactory.SshComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault SshComponentBuilderFactory.SshComponentBuilder pollCommand(String pollCommand)
java.lang.String type.
Group: consumerdefault SshComponentBuilderFactory.SshComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault SshComponentBuilderFactory.SshComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault SshComponentBuilderFactory.SshComponentBuilder channelType(String channelType)
java.lang.String type.
Default: exec
Group: advanceddefault SshComponentBuilderFactory.SshComponentBuilder configuration(org.apache.camel.component.ssh.SshConfiguration configuration)
org.apache.camel.component.ssh.SshConfiguration type.
Group: advanceddefault SshComponentBuilderFactory.SshComponentBuilder shellPrompt(String shellPrompt)
java.lang.String type.
Group: advanceddefault SshComponentBuilderFactory.SshComponentBuilder sleepForShellPrompt(long sleepForShellPrompt)
long type.
Default: 100
Group: advanceddefault SshComponentBuilderFactory.SshComponentBuilder certResource(String certResource)
java.lang.String type.
Group: securitydefault SshComponentBuilderFactory.SshComponentBuilder certResourcePassword(String certResourcePassword)
java.lang.String type.
Group: securitydefault SshComponentBuilderFactory.SshComponentBuilder keyPairProvider(org.apache.sshd.common.keyprovider.KeyPairProvider keyPairProvider)
org.apache.sshd.common.keyprovider.KeyPairProvider type.
Group: securitydefault SshComponentBuilderFactory.SshComponentBuilder keyType(String keyType)
java.lang.String type.
Group: securitydefault SshComponentBuilderFactory.SshComponentBuilder password(String password)
java.lang.String type.
Group: securitydefault SshComponentBuilderFactory.SshComponentBuilder username(String username)
java.lang.String type.
Group: securityApache Camel