384.3. Spring Boot Auto-Configuration

组件支持 57 选项,它们如下所列。

名称描述默认类型

camel.component.zookeeper.cluster.service.attributes

自定义服务属性。

 

map

camel.component.zookeeper.cluster.service.auth-info-list

  

list

camel.component.zookeeper.cluster.service.base-path

  

字符串

camel.component.zookeeper.cluster.service.connection-timeout

  

Long

camel.component.zookeeper.cluster.service.connection-timeout-unit

  

TimeUnit

camel.component.zookeeper.cluster.service.curator-framework

  

CuratorFramework

camel.component.zookeeper.cluster.service.enabled

如果 zookeeper 集群服务应启用或不应当启用,则设置为 false。

false

布尔值

camel.component.zookeeper.cluster.service.id

Cluster Service ID

 

字符串

camel.component.zookeeper.cluster.service.max-close-wait

  

Long

camel.component.zookeeper.cluster.service.max-close-wait-unit

  

TimeUnit

camel.component.zookeeper.cluster.service.namespace

  

字符串

camel.component.zookeeper.cluster.service.nodes

  

list

camel.component.zookeeper.cluster.service.order

服务查找顺序/优先级.

 

整数

camel.component.zookeeper.cluster.service.reconnect-base-sleep-time

  

Long

camel.component.zookeeper.cluster.service.reconnect-base-sleep-time-unit

  

TimeUnit

camel.component.zookeeper.cluster.service.reconnect-max-retries

  

整数

camel.component.zookeeper.cluster.service.reconnect-max-sleep-time

  

Long

camel.component.zookeeper.cluster.service.reconnect-max-sleep-time-unit

  

TimeUnit

camel.component.zookeeper.cluster.service.retry-policy

  

RetryPolicy

camel.component.zookeeper.cluster.service.session-timeout

  

Long

camel.component.zookeeper.cluster.service.session-timeout-unit

  

TimeUnit

camel.component.zookeeper.configuration.backoff

重试前在出错后返回的时间间隔。

5000

Long

camel.component.zookeeper.configuration.create

如果端点当前还不存在,该端点应创建该节点。

false

布尔值

camel.component.zookeeper.configuration.create-mode

应该用于新创建的节点的创建模式

EPHEMERAL

字符串

camel.component.zookeeper.configuration.list-children

应该列出节点的子项

false

布尔值

camel.component.zookeeper.configuration.path

ZooKeeper 服务器中的节点(也称为 znode)

 

字符串

camel.component.zookeeper.configuration.repeat

应对对 znode 的更改"观察"并重复处理。

false

布尔值

camel.component.zookeeper.configuration.send-empty-message-on-delete

删除 znode 后,应该向使用者发送空消息

true

布尔值

camel.component.zookeeper.configuration.servers

zookeeper 服务器主机

 

list

camel.component.zookeeper.configuration.timeout

在超时前,等待连接的时间间隔。

5000

整数

camel.component.zookeeper.enabled

启用 zookeeper 组件

true

布尔值

camel.component.zookeeper.resolve-property-placeholders

启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。

true

布尔值

camel.component.zookeeper.service-registry.attributes

自定义服务属性。

 

map

camel.component.zookeeper.service-registry.auth-info-list

  

list

camel.component.zookeeper.service-registry.base-path

  

字符串

camel.component.zookeeper.service-registry.connection-timeout

  

Long

camel.component.zookeeper.service-registry.connection-timeout-unit

  

TimeUnit

camel.component.zookeeper.service-registry.curator-framework

  

CuratorFramework

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

  

布尔值

camel.component.zookeeper.service-registry.enabled

如果 zookeeper 服务 registry 应该启用或不启用,则设置为 false。

false

布尔值

camel.component.zookeeper.service-registry.id

服务 Registry ID

 

字符串

camel.component.zookeeper.service-registry.max-close-wait

  

Long

camel.component.zookeeper.service-registry.max-close-wait-unit

  

TimeUnit

camel.component.zookeeper.service-registry.namespace

  

字符串

camel.component.zookeeper.service-registry.nodes

  

list

camel.component.zookeeper.service-registry.order

服务查找顺序/优先级.

 

整数

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

  

布尔值

camel.component.zookeeper.service-registry.reconnect-base-sleep-time

  

Long

camel.component.zookeeper.service-registry.reconnect-base-sleep-time-unit

  

TimeUnit

camel.component.zookeeper.service-registry.reconnect-max-retries

  

整数

camel.component.zookeeper.service-registry.reconnect-max-sleep-time

  

Long

camel.component.zookeeper.service-registry.reconnect-max-sleep-time-unit

  

TimeUnit

camel.component.zookeeper.service-registry.retry-policy

  

RetryPolicy

camel.component.zookeeper.service-registry.service-host

  

字符串

camel.component.zookeeper.service-registry.session-timeout

  

Long

camel.component.zookeeper.service-registry.session-timeout-unit

  

TimeUnit

camel.component.zookeeper.configuration.await-existence

未使用

true

布尔值