68.3. Spring Boot Auto-Configuration

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

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

camel.component.consul.acl-token

Consul で使用する ACL トークンを設定します

 

String

camel.component.consul.cluster.service.acl-token

  

String

camel.component.consul.cluster.service.attributes

カスタムサービス属性。

 

Map

camel.component.consul.cluster.service.block-seconds

  

Integer

camel.component.consul.cluster.service.connect-timeout-millis

  

Long

camel.component.consul.cluster.service.consistency-mode

  

ConsistencyMode

camel.component.consul.cluster.service.datacenter

  

String

camel.component.consul.cluster.service.enabled

Consul クラスターサービスを有効にするかどうかを設定します。デフォルトは false です。

false

Boolean

camel.component.consul.cluster.service.first-index

  

BigInteger

camel.component.consul.cluster.service.id

クラスターサービス ID

 

String

camel.component.consul.cluster.service.near-node

  

String

camel.component.consul.cluster.service.node-meta

  

List

camel.component.consul.cluster.service.order

サービスルックアップの順序/優先度。

 

Integer

camel.component.consul.cluster.service.password

  

String

camel.component.consul.cluster.service.ping-instance

  

Boolean

camel.component.consul.cluster.service.read-timeout-millis

  

Long

camel.component.consul.cluster.service.recursive

  

Boolean

camel.component.consul.cluster.service.root-path

  

String

camel.component.consul.cluster.service.session-lock-delay

  

Integer

camel.component.consul.cluster.service.session-refresh-interval

  

Integer

camel.component.consul.cluster.service.session-ttl

  

Integer

camel.component.consul.cluster.service.ssl-context-parameters

  

SSLContextParameters

camel.component.consul.cluster.service.tags

  

Set

camel.component.consul.cluster.service.url

  

String

camel.component.consul.cluster.service.user-name

  

String

camel.component.consul.cluster.service.write-timeout-millis

  

Long

camel.component.consul.configuration.acl-token

Consul で使用する ACL トークンを設定します

 

String

camel.component.consul.configuration.action

これがデフォルト動作です。CamelConsulAction でオーバーライド可能

 

String

camel.component.consul.configuration.block-seconds

監視イベントを待機する秒数。デフォルトは 10 秒です

 

Integer

camel.component.consul.configuration.connect-timeout-millis

OkHttpClient の接続タイムアウト

 

Long

camel.component.consul.configuration.consistency-mode

クエリーに使用される一貫性モード、デフォルトの ConsistencyMode.DEFAULT

 

ConsistencyMode

camel.component.consul.configuration.consul-client

レジストリー内の com.orbitz.consul.Consul への参照。

 

Consul

camel.component.consul.configuration.datacenter

データセンター

 

String

camel.component.consul.configuration.first-index

監視する最初のインデックス、デフォルトは 0

 

BigInteger

camel.component.consul.configuration.key

デフォルトのキー。Can be overridden by CamelConsulKey

 

String

camel.component.consul.configuration.near-node

クエリーに使用するニアノード。

 

String

camel.component.consul.configuration.node-meta

クエリーに使用するノートメタデータ。

 

List

camel.component.consul.configuration.password

基本認証に使用するパスワードを設定します

 

String

camel.component.consul.configuration.ping-instance

Consul インスタンスを返す前に AgentClient が ping を試行するかどうかを設定します。

 

Boolean

camel.component.consul.configuration.read-timeout-millis

OkHttpClient の読み取りタイムアウト

 

Long

camel.component.consul.configuration.recursive

再帰的に監視、デフォルトは false

 

Boolean

camel.component.consul.configuration.ssl-context-parameters

org.apache.camel.util.jsse.SSLContextParameters インスタンスを使用した SSL 設定。

 

SSLContextParameters

camel.component.consul.configuration.tags

タグを設定します。複数のタグはコンマで区切ることができます。

 

Set

camel.component.consul.configuration.url

Consul エージェントの URL

 

String

camel.component.consul.configuration.user-name

Basic 認証に使用するユーザー名を設定します

 

String

camel.component.consul.configuration.value-as-string

デフォルトでは、KV エンドポイントで Consul から取得した値を文字列に変換します。

 

Boolean

camel.component.consul.configuration.write-timeout-millis

OkHttpClient の書き込みタイムアウト

 

Long

camel.component.consul.datacenter

データセンター

 

String

camel.component.consul.enabled

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

true

Boolean

camel.component.consul.health.check.repository.checks

含めるチェックを定義します。

 

List

camel.component.consul.health.check.repository.configurations

ヘルスチェック設定。

 

Map

camel.component.consul.health.check.repository.enabled

  

Boolean

camel.component.consul.health.check.repository.failure-threshold

  

Integer

camel.component.consul.health.check.repository.interval

  

String

camel.component.consul.password

基本認証に使用するパスワードを設定します

 

String

camel.component.consul.resolve-property-placeholders

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

true

Boolean

camel.component.consul.service-registry.acl-token

  

String

camel.component.consul.service-registry.attributes

カスタムサービス属性。

 

Map

camel.component.consul.service-registry.block-seconds

  

Integer

camel.component.consul.service-registry.check-interval

  

Integer

camel.component.consul.service-registry.check-ttl

  

Integer

camel.component.consul.service-registry.connect-timeout-millis

  

Long

camel.component.consul.service-registry.consistency-mode

  

ConsistencyMode

camel.component.consul.service-registry.datacenter

  

String

camel.component.consul.service-registry.deregister-after

  

Integer

camel.component.consul.service-registry.deregister-services-on-stop

  

Boolean

camel.component.consul.service-registry.enabled

consul サービスレジストリーを有効にするかどうかを設定します。デフォルトは false です。

false

Boolean

camel.component.consul.service-registry.first-index

  

BigInteger

camel.component.consul.service-registry.id

サービスレジストリー ID

 

String

camel.component.consul.service-registry.near-node

  

String

camel.component.consul.service-registry.node-meta

  

List

camel.component.consul.service-registry.order

サービスルックアップの順序/優先度。

 

Integer

camel.component.consul.service-registry.override-service-host

  

Boolean

camel.component.consul.service-registry.password

  

String

camel.component.consul.service-registry.ping-instance

  

Boolean

camel.component.consul.service-registry.read-timeout-millis

  

Long

camel.component.consul.service-registry.recursive

  

Boolean

camel.component.consul.service-registry.service-host

  

String

camel.component.consul.service-registry.ssl-context-parameters

  

SSLContextParameters

camel.component.consul.service-registry.tags

  

Set

camel.component.consul.service-registry.url

  

String

camel.component.consul.service-registry.user-name

  

String

camel.component.consul.service-registry.write-timeout-millis

  

Long

camel.component.consul.ssl-context-parameters

org.apache.camel.util.jsse.SSLContextParameters インスタンスを使用した SSL 設定。このオプションは org.apache.camel.util.jsse.SSLContextParameters タイプです。

 

String

camel.component.consul.url

Consul エージェントの URL

 

String

camel.component.consul.use-global-ssl-context-parameters

グローバル SSL コンテキストパラメーターの使用を有効にします。

false

Boolean

camel.component.consul.user-name

Basic 認証に使用するユーザー名を設定します

 

String

camel.component.consul.cluster.service.dc

  

String

camel.component.consul.configuration.dc

{@link #setDatacenter(String)} ()} に置き換えられた @deprecated データセンター

 

String

camel.component.consul.service-registry.dc

  

String