blob: 1b85f274d64e9e23c1ca498515f096f764594180 [file] [log] [blame]
{
"dataformat": {
"kind": "dataformat",
"name": "protobuf",
"title": "Protobuf",
"description": "Serialize and deserialize Java objects using Google's Protocol buffers.",
"deprecated": false,
"firstVersion": "2.2.0",
"label": "dataformat,transformation",
"javaType": "org.apache.camel.dataformat.protobuf.ProtobufDataFormat",
"supportLevel": "Stable",
"groupId": "org.apache.camel.springboot",
"artifactId": "camel-protobuf-starter",
"version": "3.10.0-SNAPSHOT",
"modelName": "protobuf",
"modelJavaType": "org.apache.camel.model.dataformat.ProtobufDataFormat"
},
"properties": {
"instanceClass": { "kind": "attribute", "displayName": "Instance Class", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of class to use when unmarshalling" },
"contentTypeFormat": { "kind": "attribute", "displayName": "Content Type Format", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "json", "native" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "native", "description": "Defines a content type format in which protobuf message will be serialized\/deserialized from(to) the Java been. The format can either be native or json for either native protobuf or json fields representation. The default value is native." },
"contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" },
"id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" }
}
}