328.3. Spring Boot Auto-Configuration

コンポーネントは、以下に記載される 30 個のオプションをサポートします。

名前説明デフォルトタイプ

camel.component.ssh.cert-resource

認証に使用する証明書のリソースパスを設定します。ResourceHelperKeyPairProvider を使用してファイルベースの証明書を解決し、keyType 設定に依存します。

 

String

camel.component.ssh.channel-type

コマンド実行の一部として Channel に渡すチャネルタイプを設定します。デフォルトは exec です。

 

String

camel.component.ssh.configuration.cert-resource

認証に使用する証明書のリソースパスを設定します。ResourceHelperKeyPairProvider を使用してファイルベースの証明書を解決し、keyType 設定に依存します。

 

String

camel.component.ssh.configuration.channel-type

コマンド実行の一部として Channel に渡すチャネルタイプを設定します。デフォルトは exec です。

exec

String

camel.component.ssh.configuration.fail-on-unknown-host

不明なホストへの接続が失敗するかどうかを指定します。この値は、プロパティー knownHosts が設定されている場合にのみチェックされます。

false

Boolean

camel.component.ssh.configuration.host

リモート SSH サーバーのホスト名を設定します。

 

String

camel.component.ssh.configuration.key-pair-provider

証明書を使用してリモート SSH サーバーに接続するときに使用する KeyPairProvider 参照を設定します。

 

KeyPairProvider

camel.component.ssh.configuration.key-type

認証の一部として KeyPairProvider に渡すキータイプを設定します。KeyPairProvider.loadKey(…) にこの値が渡されます。デフォルトは ssh-rsa です。

ssh-rsa

String

camel.component.ssh.configuration.known-hosts-resource

known_hosts ファイルのリソースパスを設定します

 

String

camel.component.ssh.configuration.password

リモート SSH サーバーへの接続に使用するパスワードを設定します。keyPairProvider を null に設定する必要があります。

 

String

camel.component.ssh.configuration.poll-command

各ポーリングサイクル中にリモート SSH サーバーに送信するコマンド文字列を設定します。コンシューマーとして使用されている camel-ssh コンポーネント、つまり from(ssh://…) でのみ機能します。コマンドの最後に改行が必要な場合がありますが、これは URL エンコードされた %0A でなければなりません。

 

String

camel.component.ssh.configuration.port

リモート SSH サーバーのポート番号を設定します。

22

Integer

camel.component.ssh.configuration.shell-prompt

コマンド実行後にレスポンスが読み取られたときに shellPrompt がドロップされるように設定します

 

String

camel.component.ssh.configuration.sleep-for-shell-prompt

シェルプロンプトからのレスポンスの読み取りを待機するスリープ期間をミリ秒単位で設定します。デフォルトは 100 ミリ秒 (ms) です。

100

Long

camel.component.ssh.configuration.timeout

リモート SSH サーバー接続を確立する際に待機するタイムアウトをミリ秒単位で設定します。デフォルトは 30000 ミリ秒 (ms) です。

30000

Long

camel.component.ssh.configuration.username

リモート SSH サーバーへのログインに使用するユーザー名を設定します。

 

String

camel.component.ssh.enabled

ssh コンポーネントを有効にする

true

Boolean

camel.component.ssh.host

リモート SSH サーバーのホスト名を設定します。

 

String

camel.component.ssh.key-pair-provider

証明書を使用してリモート SSH サーバーに接続するときに使用する KeyPairProvider 参照を設定します。オプションは org.apache.sshd.common.keyprovider.KeyPairProvider タイプです。

 

String

camel.component.ssh.key-type

認証の一部として KeyPairProvider に渡すキータイプを設定します。KeyPairProvider.loadKey(…) にこの値が渡されます。デフォルトは ssh-rsa です。

 

String

camel.component.ssh.password

リモート SSH サーバーへの接続に使用するパスワードを設定します。keyPairProvider を null に設定する必要があります。

 

String

camel.component.ssh.poll-command

各ポーリングサイクル中にリモート SSH サーバーに送信するコマンド文字列を設定します。コンシューマーとして使用されている camel-ssh コンポーネント、つまり from (ssh://…) でのみ機能します。コマンドを改行で終了する必要がある場合があり、それは URL エンコードされた %0A でなければなりません

 

String

camel.component.ssh.port

リモート SSH サーバーのポート番号を設定します。

 

Integer

camel.component.ssh.resolve-property-placeholders

起動時にコンポーネントがプロパティープレースホルダーを解決するかどうか。String タイプのプロパティーのみがプロパティープレースホルダーを使用できます。

true

Boolean

camel.component.ssh.shell-prompt

コマンド実行後にレスポンスが読み取られたときに shellPrompt がドロップされるように設定します

 

String

camel.component.ssh.sleep-for-shell-prompt

シェルプロンプトからのレスポンスの読み取りを待機するスリープ期間をミリ秒単位で設定します。デフォルトは 100 ミリ秒 (ms) です。

 

Long

camel.component.ssh.timeout

リモート SSH サーバー接続を確立する際に待機するタイムアウトをミリ秒単位で設定します。デフォルトは 30000 ミリ秒 (ms) です。

 

Long

camel.component.ssh.username

リモート SSH サーバーへのログインに使用するユーザー名を設定します。

 

String

camel.component.ssh.cert-filename

認証に使用する証明書のリソースパスを設定します。

 

String

camel.component.ssh.configuration.cert-filename

@deprecated As of version 2.11, replaced by {@link #setCertResource(String)}

 

String