357.3. Spring Boot Auto-Configuration

组件支持 10 个选项,如下所示。

名称描述默认类型

camel.component.undertow.enabled

启用 undertow 组件

true

布尔值

camel.component.undertow.host-options.buffer-size

Undertow 主机的缓冲区大小。

 

整数

camel.component.undertow.host-options.direct-buffers

如果 Undertow 主机应使用直接缓冲区,则设置。

 

布尔值

camel.component.undertow.host-options.http2-enabled

如果 Undertow 主机应该使用 http2 协议,则设置。

 

布尔值

camel.component.undertow.host-options.io-threads

Undertow 主机中使用的 io 线程数量。

 

整数

camel.component.undertow.host-options.worker-threads

Undertow 主机中使用的 worker 线程数量。

 

整数

camel.component.undertow.resolve-property-placeholders

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

true

布尔值

camel.component.undertow.ssl-context-parameters

使用 SSLContextParameters 配置安全性。选项是一个 org.apache.camel.util.jsse.SSLContextParameters 类型。

 

字符串

camel.component.undertow.undertow-http-binding

使用自定义 HttpBinding 控制 Camel 消息和 HttpClient 之间的映射。选项是一个 org.apache.camel.component.undertow.UndertowHttpBinding 类型。

 

字符串

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

启用使用全局 SSL 上下文参数。

false

布尔值