Interface SshEndpointBuilderFactory.SshEndpointProducerBuilder

All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
All Known Subinterfaces:
SshEndpointBuilderFactory.SshEndpointBuilder
Enclosing interface:
SshEndpointBuilderFactory

public static interface SshEndpointBuilderFactory.SshEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the SSH component.
  • Method Details

    • advanced

    • failOnUnknownHost

      default SshEndpointBuilderFactory.SshEndpointProducerBuilder failOnUnknownHost(boolean failOnUnknownHost)
      Specifies whether a connection to an unknown host should fail or not. This value is only checked when the property knownHosts is set. The option is a: boolean type. Default: false Group: common
      Parameters:
      failOnUnknownHost - the value to set
      Returns:
      the dsl builder
    • failOnUnknownHost

      default SshEndpointBuilderFactory.SshEndpointProducerBuilder failOnUnknownHost(String failOnUnknownHost)
      Specifies whether a connection to an unknown host should fail or not. This value is only checked when the property knownHosts is set. The option will be converted to a boolean type. Default: false Group: common
      Parameters:
      failOnUnknownHost - the value to set
      Returns:
      the dsl builder
    • knownHostsResource

      default SshEndpointBuilderFactory.SshEndpointProducerBuilder knownHostsResource(String knownHostsResource)
      Sets the resource path for a known_hosts file. The option is a: java.lang.String type. Group: common
      Parameters:
      knownHostsResource - the value to set
      Returns:
      the dsl builder
    • timeout

      Sets the timeout in milliseconds to wait in establishing the remote SSH server connection. Defaults to 30000 milliseconds. The option is a: long type. Default: 30000 Group: common
      Parameters:
      timeout - the value to set
      Returns:
      the dsl builder
    • timeout

      Sets the timeout in milliseconds to wait in establishing the remote SSH server connection. Defaults to 30000 milliseconds. The option will be converted to a long type. Default: 30000 Group: common
      Parameters:
      timeout - the value to set
      Returns:
      the dsl builder
    • certResource

      default SshEndpointBuilderFactory.SshEndpointProducerBuilder certResource(String certResource)
      Sets the resource path of the certificate to use for Authentication. Will use ResourceHelperKeyPairProvider to resolve file based certificate, and depends on keyType setting. The option is a: java.lang.String type. Group: security
      Parameters:
      certResource - the value to set
      Returns:
      the dsl builder
    • certResourcePassword

      default SshEndpointBuilderFactory.SshEndpointProducerBuilder certResourcePassword(String certResourcePassword)
      Sets the password to use in loading certResource, if certResource is an encrypted key. The option is a: java.lang.String type. Group: security
      Parameters:
      certResourcePassword - the value to set
      Returns:
      the dsl builder
    • ciphers

      Comma-separated list of allowed/supported ciphers in their order of preference. The option is a: java.lang.String type. Group: security
      Parameters:
      ciphers - the value to set
      Returns:
      the dsl builder
    • kex

      Comma-separated list of allowed/supported key exchange algorithms in their order of preference. The option is a: java.lang.String type. Group: security
      Parameters:
      kex - the value to set
      Returns:
      the dsl builder
    • keyPairProvider

      default SshEndpointBuilderFactory.SshEndpointProducerBuilder keyPairProvider(org.apache.sshd.common.keyprovider.KeyPairProvider keyPairProvider)
      Sets the KeyPairProvider reference to use when connecting using Certificates to the remote SSH Server. The option is a: org.apache.sshd.common.keyprovider.KeyPairProvider type. Group: security
      Parameters:
      keyPairProvider - the value to set
      Returns:
      the dsl builder
    • keyPairProvider

      default SshEndpointBuilderFactory.SshEndpointProducerBuilder keyPairProvider(String keyPairProvider)
      Sets the KeyPairProvider reference to use when connecting using Certificates to the remote SSH Server. The option will be converted to a org.apache.sshd.common.keyprovider.KeyPairProvider type. Group: security
      Parameters:
      keyPairProvider - the value to set
      Returns:
      the dsl builder
    • keyType

      Sets the key type to pass to the KeyPairProvider as part of authentication. KeyPairProvider.loadKey(...) will be passed this value. From Camel 3.0.0 / 2.25.0, by default Camel will select the first available KeyPair that is loaded. Prior to this, a KeyType of 'ssh-rsa' was enforced by default. The option is a: java.lang.String type. Group: security
      Parameters:
      keyType - the value to set
      Returns:
      the dsl builder
    • macs

      Comma-separated list of allowed/supported message authentication code algorithms in their order of preference. The MAC algorithm is used for data integrity protection. The option is a: java.lang.String type. Group: security
      Parameters:
      macs - the value to set
      Returns:
      the dsl builder
    • password

      Sets the password to use in connecting to remote SSH server. Requires keyPairProvider to be set to null. The option is a: java.lang.String type. Group: security
      Parameters:
      password - the value to set
      Returns:
      the dsl builder
    • signatures

      Comma-separated list of allowed/supported signature algorithms in their order of preference. The option is a: java.lang.String type. Group: security
      Parameters:
      signatures - the value to set
      Returns:
      the dsl builder
    • username

      Sets the username to use in logging into the remote SSH server. The option is a: java.lang.String type. Group: security
      Parameters:
      username - the value to set
      Returns:
      the dsl builder