226.2. Spring Boot Auto-Configuration


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

Expand
名称描述默认类型

camel.component.mllp.configuration.accept-timeout

只等待 TCP 连接 TCP 服务器时超时(以毫秒为单位)

60000

整数

camel.component.mllp.configuration.auto-ack

启用/禁用 MLLP Acknowledgement MLLP Consumers 的自动生成

true

布尔值

camel.component.mllp.configuration.backlog

传入连接的最大队列长度(请求连接)设置为 backlog 参数。如果连接在队列已满时到达,连接将被拒绝。

5

整数

camel.component.mllp.configuration.bind-retry-interval

仅限 TCP 服务器 - 绑定尝试之间要等待的毫秒数

5000

整数

camel.component.mllp.configuration.bind-timeout

仅限 TCP 服务器 - 重试绑定到服务器端口的毫秒数

30000

整数

camel.component.mllp.configuration.bridge-error-handler

允许将消费者桥接到 Camel 路由 Error Handler,这意味着在消费者尝试接收传入的消息时发生任何异常,或像这样一样处理,由路由 Error Handler 处理的消息和由路由 Error Handler 处理。如果禁用,消费者将使用 org.apache.camel.spi.ExceptionHandler 通过在 WARN 或 ERROR 级别中记录它们来处理异常,并忽略它们。

true

布尔值

camel.component.mllp.configuration.charset-name

在交换上设置 CamelCharsetName 属性

 

字符串

camel.component.mllp.configuration.connect-timeout

仅建立 TCP 连接 TCP 客户端的超时(毫秒)

30000

整数

camel.component.mllp.configuration.exchange-pattern

在使用者创建交换时设置交换模式。

 

ExchangePattern

camel.component.mllp.configuration.hl7-headers

仅在 HL7 Message MLLP Consumers 中自动生成消息标头

true

布尔值

camel.component.mllp.configuration.idle-timeout

在重置客户端 TCP 连接前允许执行大约闲置时间。null 值或小于零的值将禁用闲置超时。

 

整数

camel.component.mllp.configuration.keep-alive

启用/禁用 SO_KEEPALIVE 套接字选项。

true

布尔值

camel.component.mllp.configuration.lenient-bind

仅限 TCP Server - 允许端点在 TCP 服务器套接字绑定前启动。在某些环境中,可能需要允许端点在 TCP 服务器套接字绑定前启动。

false

布尔值

camel.component.mllp.configuration.max-concurrent-consumers

将允许的最大并发 MLLP Consumer 连接数。如果收到新连接并且已建立最大连接数,则新连接将立即重置。

5

整数

camel.component.mllp.configuration.read-timeout

收到 MLLP 帧后使用的 SO_TIMEOUT 值(以毫秒为单位)

5000

整数

camel.component.mllp.configuration.receive-buffer-size

将 SO_RCVBUF 选项设置为指定的值(以字节为单位)

8192

整数

camel.component.mllp.configuration.receive-timeout

等待 MLLP 帧的开头时使用的 SO_TIMEOUT 值(以毫秒为单位)。

15000

整数

camel.component.mllp.configuration.require-end-of-data

启用/禁用对 MLLP 标准的严格合规性。MLLP 标准指定 START_OF_BLOCKhl7 有效负载END_OF_BLOCKEND_OF_DATA,但有些系统不会发送最终的 END_OF_DATA 字节。此设置控制最终 END_OF_DATA 字节是否是必需的。

true

布尔值

camel.component.mllp.configuration.reuse-address

启用/禁用 SO_REUSEADDR 套接字选项。

false

布尔值

camel.component.mllp.configuration.send-buffer-size

将 SO_SNDBUF 选项设置为指定的值(以字节为单位)

8192

整数

camel.component.mllp.configuration.string-payload

启用/禁用将有效负载转换为字符串。如果启用,则从外部系统接收的 HL7 Payloads 将验证转换为 String。如果设置了 charsetName 属性,则该字符集将用于转换。如果没有设置 charsetName 属性,则将使用 MSH-18 的值来决定相应的字符集。如果没有设置 MSH-18,则会使用默认的 ISO-8859-1 字符集。

true

布尔值

camel.component.mllp.configuration.synchronous

设置同步处理是否应当严格使用(此组件仅支持同步操作)。

true

布尔值

camel.component.mllp.configuration.tcp-no-delay

启用/禁用 TCP_NODELAY 套接字选项。

true

布尔值

camel.component.mllp.configuration.validate-payload

启用/禁用 HL7 Payloads If enabled,则会验证从外部系统接收的 HL7 Payloads 将验证(请参阅 Hl7Util.generateInvalidPayloadExceptionMessage)。如果检测到无效的有效负载,则会抛出 MllpInvalidMessageException(针对使用者)或 MllpInvalidAcknowledgementException。

false

布尔值

camel.component.mllp.default-charset

将默认字符设置为用于字节/从字符串转换中用于 /。

ISO-8859-1

字符串

camel.component.mllp.enabled

启用 mllp 组件

true

布尔值

camel.component.mllp.log-phi

设置组件以记录 PHI 数据。

true

布尔值

camel.component.mllp.log-phi-max-bytes

设置在日志条目中登录的 PHI 的最大字节数。

5120

整数

camel.component.mllp.resolve-property-placeholders

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

true

布尔值

camel.component.mllp.configuration.buffer-writes

在写入套接字前启用/禁用 HL7 有效负载的缓冲。

false

布尔值

camel.component.mllp.configuration.max-receive-timeouts

在重置 TCP 连接前允许的最大超时数(由 receiveTimeout 指定)。

 

整数

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat