This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new c5b73943da9 Regen
c5b73943da9 is described below
commit c5b73943da94e1f24c4c6e05e1740fd1d5944e2e
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 20 10:24:49 2026 +0100
Regen
---
.../camel/springboot/catalog/transformers/application-json.json | 5 +++--
.../catalog/transformers/application-x-java-object.json | 8 +++++---
.../apache/camel/springboot/catalog/transformers/avro-binary.json | 8 +++++---
.../camel/springboot/catalog/transformers/avro-x-java-object.json | 8 +++++---
.../camel/springboot/catalog/transformers/protobuf-binary.json | 8 +++++---
.../springboot/catalog/transformers/protobuf-x-java-object.json | 8 +++++---
6 files changed, 28 insertions(+), 17 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/application-json.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/application-json.json
index 43b99ac77b0..32680ce2bc9 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/application-json.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/application-json.json
@@ -21,14 +21,15 @@
"pojo",
"null"
],
- "description": "A Json object or array as text, bytes or a stream, a
Map, a List, a JsonNode or a POJO; other text, also a Json number, boolean,
null or quoted string, becomes a Json string; bytes and a stream are read as
text with the exchange charset, so a payload that is not text must be encoded
first, such as in Base64, or given a content class; with the X-Content-Class
exchange property only a Json object or array as text or a body of that class;
a null body becomes null"
+ "description": "A Json object or array as text, bytes or a stream, a
Map, a List, a JsonNode or a POJO; other text, also a Json number, boolean,
null or quoted string, becomes a Json string, unless the Content-Type header is
application\/json or a +json media type, which keeps a Json value as it is;
bytes and a stream are read as text with the exchange charset, so a payload
that is not text must be encoded first, such as in Base64, or given a content
class; with the X-Content-Class [...]
},
"transformerOut": {
"carriers": [
"bytes"
],
"javaType": "byte[]",
- "format": "json"
+ "format": "json",
+ "description": "Json as bytes, with the Content-Type application\/json,
or the +json media type the message had, such as application\/fhir+json"
}
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/application-x-java-object.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/application-x-java-object.json
index 7277060d30d..fe578826cf9 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/application-x-java-object.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/application-x-java-object.json
@@ -17,15 +17,17 @@
"bytes",
"stream",
"file",
- "pojo"
+ "pojo",
+ "map",
+ "list"
],
- "description": "Json read into the class of the X-Content-Class exchange
property, which a body other than a POJO needs: a POJO of that class, or any
POJO without it, is kept, and a Map, a List or a null body fail"
+ "description": "Json read into the class of the X-Content-Class exchange
property, which a body other than a POJO needs: a POJO of that class, or any
POJO without it, is kept, and so is a Map or a List without it; a Map or a List
with it, and a null body, fail"
},
"transformerOut": {
"carriers": [
"unknown"
],
- "description": "An object of the class of the X-Content-Class exchange
property"
+ "description": "An object of the class of the X-Content-Class exchange
property, or the POJO, Map or List as it was without it"
}
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-binary.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-binary.json
index 3ab4694fab0..9a2d448c379 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-binary.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-binary.json
@@ -19,14 +19,16 @@
"file",
"pojo"
],
- "description": "Needs the Avro schema in the X-Content-Schema exchange
property: a Json object or array as text, Avro binary, a JsonNode or a POJO; a
Map or a null body fail"
+ "description": "Needs the Avro schema in the X-Content-Schema exchange
property: a Json object or array as text, Avro binary, a JsonNode or a POJO; a
Map or a null body fail. Bytes or a stream with the Content-Type
application\/avro or avro\/binary are Avro binary already, and are kept as they
are, without the schema"
},
"transformerOut": {
"carriers": [
- "bytes"
+ "bytes",
+ "stream"
],
"javaType": "byte[]",
- "format": "binary"
+ "format": "binary",
+ "description": "Avro binary as bytes; a body that is Avro binary already
is kept, also a stream, with its Content-Type"
}
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-x-java-object.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-x-java-object.json
index 57b9edf8aa5..94de2524573 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-x-java-object.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-x-java-object.json
@@ -17,15 +17,17 @@
"bytes",
"stream",
"file",
- "pojo"
+ "pojo",
+ "map",
+ "list"
],
- "description": "Json text or a JsonNode, or Avro binary with the Avro
schema in the X-Content-Schema exchange property, read into the class of the
X-Content-Class exchange property, which a body other than a POJO needs: a POJO
of that class, or any POJO without it, is kept, and a Map or a null body fail"
+ "description": "Json text or a JsonNode, or Avro binary with the Avro
schema in the X-Content-Schema exchange property, read into the class of the
X-Content-Class exchange property, which a body other than a POJO needs: a POJO
of that class, or any POJO without it, is kept, and so is a Map or a List
without it; a Map or a List with it, and a null body, fail"
},
"transformerOut": {
"carriers": [
"unknown"
],
- "description": "An object of the class of the X-Content-Class exchange
property"
+ "description": "An object of the class of the X-Content-Class exchange
property, or the POJO, Map or List as it was without it"
}
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-binary.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-binary.json
index 18583927361..4b5e0a78a4b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-binary.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-binary.json
@@ -19,14 +19,16 @@
"file",
"pojo"
],
- "description": "Needs the Protobuf schema in the X-Content-Schema
exchange property: a Json object or array as text, Protobuf binary, a JsonNode
or a POJO; a Map or a null body fail"
+ "description": "Needs the Protobuf schema in the X-Content-Schema
exchange property: a Json object or array as text, Protobuf binary, a JsonNode
or a POJO; a Map or a null body fail. Bytes or a stream with the Content-Type
application\/protobuf or protobuf\/binary are Protobuf binary already, and are
kept as they are, without the schema"
},
"transformerOut": {
"carriers": [
- "bytes"
+ "bytes",
+ "stream"
],
"javaType": "byte[]",
- "format": "binary"
+ "format": "binary",
+ "description": "Protobuf binary as bytes; a body that is Protobuf binary
already is kept, also a stream, with its Content-Type"
}
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-x-java-object.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-x-java-object.json
index c691b3b76fa..67bb3b554b9 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-x-java-object.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-x-java-object.json
@@ -17,15 +17,17 @@
"bytes",
"stream",
"file",
- "pojo"
+ "pojo",
+ "map",
+ "list"
],
- "description": "Json text or a JsonNode, or Protobuf binary with the
Protobuf schema in the X-Content-Schema exchange property, read into the class
of the X-Content-Class exchange property, which a body other than a POJO needs:
a POJO of that class, or any POJO without it, is kept, and a Map or a null body
fail"
+ "description": "Json text or a JsonNode, or Protobuf binary with the
Protobuf schema in the X-Content-Schema exchange property, read into the class
of the X-Content-Class exchange property, which a body other than a POJO needs:
a POJO of that class, or any POJO without it, is kept, and so is a Map or a
List without it; a Map or a List with it, and a null body, fail"
},
"transformerOut": {
"carriers": [
"unknown"
],
- "description": "An object of the class of the X-Content-Class exchange
property"
+ "description": "An object of the class of the X-Content-Class exchange
property, or the POJO, Map or List as it was without it"
}
}
}