365.5. Spring Boot Auto-Configuration

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

名称描述默认类型

camel.component.weather.enabled

启用 weather 组件

true

布尔值

camel.component.weather.geolocation-access-key

地理位置服务现在需要一个 accessKey 才能使用

 

字符串

camel.component.weather.geolocation-request-host-i-p

地理位置服务现在需要指定与您正在使用的 accessKey 关联的 IP

 

字符串

camel.component.weather.resolve-property-placeholders

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

true

布尔值

您可以使用以下格式在 URI 中附加查询选项 ?option=value&option=value&…​