266.2. Spring Boot Auto-Configuration
组件支持 4 个选项,如下所示。
名称 | 描述 | 默认 | 类型 |
---|---|---|---|
camel.dataformat.protobuf.content-type-format | 定义内容类型格式,protobuf 消息在 Java 中被序列化/反序列化。对于原生 protobuf 或 json 字段,格式可以是 native 或 json 字段。默认值为 native。 | 原生 | 字符串 |
camel.dataformat.protobuf.content-type-header | 如果数据格式能够这样做,则数据格式是否应该以 data 格式设置 Content-Type 标头。例如,用于数据格式的 application/xml (数据格式)或 application/json 用于数据格式 marshalling to JSon etc。 | false | 布尔值 |
camel.dataformat.protobuf.enabled | 启用 protobuf dataformat | true | 布尔值 |
camel.dataformat.protobuf.instance-class | 取消armshalling 时要使用的类名称 | 字符串 |
ND