100.2. Spring Boot Auto-Configuration

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

名称描述默认类型

camel.component.fhir.configuration.access-token

OAuth 访问令牌

 

字符串

camel.component.fhir.configuration.api-name

要执行的操作种类

 

FhirApiName

camel.component.fhir.configuration.client

使用自定义客户端

 

IGenericClient

camel.component.fhir.configuration.client-factory

使用自定义客户端工厂

 

IRestfulClientFactory

camel.component.fhir.configuration.compress

将传出(POST/PUT)内容压缩为 GZIP 格式

false

布尔值

camel.component.fhir.configuration.connection-timeout

试用和建立初始 TCP 连接所需的时间(以 ms 为单位)

10000

整数

camel.component.fhir.configuration.defer-model-scanning

设定此选项时,在实际访问给定类型的子列表之前,对子类不会扫描模型类。

false

布尔值

camel.component.fhir.configuration.fhir-context

FhirContext 是创建的一个昂贵对象。要避免创建多个实例,可以直接设置。

 

FhirContext

camel.component.fhir.configuration.force-conformance-check

强制一致性检查

false

布尔值

camel.component.fhir.configuration.log

将记录每个请求和响应

false

布尔值

camel.component.fhir.configuration.method-name

用于所选操作的子操作

 

字符串

camel.component.fhir.configuration.password

用于基本身份验证的用户名

 

字符串

camel.component.fhir.configuration.pretty-print

以用户的形式打印所有请求

false

布尔值

camel.component.fhir.configuration.proxy-host

代理主机

 

字符串

camel.component.fhir.configuration.proxy-password

代理密码

 

字符串

camel.component.fhir.configuration.proxy-port

代理端口

 

整数

camel.component.fhir.configuration.proxy-user

代理用户名

 

字符串

camel.component.fhir.configuration.server-url

FHIR 服务器基本 URL

 

字符串

camel.component.fhir.configuration.session-cookie

要添加到每个请求的 HTTP 会话 Cookie

 

字符串

camel.component.fhir.configuration.socket-timeout

单个读/写操作(以毫秒为单位)

10000

整数

camel.component.fhir.configuration.username

用于基本身份验证的用户名

 

字符串

camel.component.fhir.enabled

是否启用 fhir 组件的自动配置。默认启用。

 

布尔值

camel.component.fhir.resolve-property-placeholders

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

true

布尔值