This is an automated email from the ASF dual-hosted git repository.
fmariani 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 4f923b0b7f5 Add Spring AI Image starter
4f923b0b7f5 is described below
commit 4f923b0b7f52645f4c5e8ad16d12c5b7e547f510
Author: Croway <[email protected]>
AuthorDate: Thu Mar 12 17:09:47 2026 +0100
Add Spring AI Image starter
---
.../camel/springboot/catalog/components.properties | 1 +
.../springboot/catalog/components/aws2-polly.json | 6 +-
.../springboot/catalog/components/mongodb.json | 10 +-
.../catalog/components/spring-ai-chat.json | 57 +++---
.../catalog/components/spring-ai-image.json | 60 ++++++
.../catalog/dataformats/avroJackson.json | 14 +-
.../springboot/catalog/dataformats/jacksonXml.json | 14 +-
.../catalog/dataformats/protobufJackson.json | 14 +-
.../catalog/transformers/avro-binary.json | 4 +-
.../catalog/transformers/avro-x-java-object.json | 4 +-
.../catalog/transformers/avro-x-struct.json | 4 +-
.../catalog/transformers/protobuf-binary.json | 4 +-
.../transformers/protobuf-x-java-object.json | 4 +-
.../catalog/transformers/protobuf-x-struct.json | 4 +-
.../src/main/docs/mongodb.json | 7 +
.../springboot/MongoDbComponentConfiguration.java | 13 ++
.../camel-spring-ai-image-starter/pom.xml | 48 +++++
.../src/main/docs/spring-ai-image.json | 94 ++++++++++
.../SpringAiImageComponentAutoConfiguration.java | 77 ++++++++
.../SpringAiImageComponentConfiguration.java} | 126 +++++++++----
.../SpringAiImageComponentConverter.java | 65 +++++++
.../src/main/resources/META-INF/LICENSE.txt | 203 +++++++++++++++++++++
.../src/main/resources/META-INF/NOTICE.txt | 11 ++
...rk.boot.autoconfigure.AutoConfiguration.imports | 18 ++
components-starter/pom.xml | 1 +
tooling/camel-spring-boot-bom/pom.xml | 5 +
tooling/camel-spring-boot-dependencies/pom.xml | 10 +
27 files changed, 783 insertions(+), 95 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
index 6977e780484..a226f8d7322 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
@@ -337,6 +337,7 @@ splunk
splunk-hec
spring-ai-chat
spring-ai-embeddings
+spring-ai-image
spring-ai-tools
spring-ai-vector-store
spring-batch
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-polly.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-polly.json
index ac47d5e6028..9c35ccbc389 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-polly.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-polly.json
@@ -43,7 +43,7 @@
"taskId": { "index": 16, "kind": "property", "displayName": "Task Id",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "The task ID for
getSpeechSynthesisTask operation" },
"textType": { "index": 17, "kind": "property", "displayName": "Text Type",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "software.amazon.awssdk.services.polly.model.TextType", "enum": [
"ssml", "text", "null" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "TEXT", "configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "The type of text inp
[...]
"uriEndpointOverride": { "index": 18, "kind": "property", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with overrideE [...]
- "voiceId": { "index": 19, "kind": "property", "displayName": "Voice Id",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "software.amazon.awssdk.services.polly.model.VoiceId", "enum": [
"Aditi", "Amy", "Astrid", "Bianca", "Brian", "Camila", "Carla", "Carmen",
"Celine", "Chantal", "Conchita", "Cristiano", "Dora", "Emma", "Enrique", "Ewa",
"Filiz", "Gabrielle", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy",
"Jacek", "Jan", "Joanna", "Joey", "Ju [...]
+ "voiceId": { "index": 19, "kind": "property", "displayName": "Voice Id",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "software.amazon.awssdk.services.polly.model.VoiceId", "enum": [
"Aditi", "Amy", "Astrid", "Bianca", "Brian", "Camila", "Carla", "Carmen",
"Celine", "Chantal", "Conchita", "Cristiano", "Dora", "Emma", "Enrique", "Ewa",
"Filiz", "Gabrielle", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy",
"Jacek", "Jan", "Joanna", "Joey", "Ju [...]
"autowiredEnabled": { "index": 20, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
"pollyClient": { "index": 21, "kind": "property", "displayName": "Polly
Client", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "software.amazon.awssdk.services.polly.PollyClient",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "To use an existing
configured AWS Polly client" },
"healthCheckConsumerEnabled": { "index": 22, "kind": "property",
"displayName": "Health Check Consumer Enabled", "group": "health", "label":
"health", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Used for enabling or disabling all consumer based health checks
from this component" },
@@ -62,7 +62,7 @@
},
"headers": {
"CamelAwsPollyOperation": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "The operation we want to perform", "constantName":
"org.apache.camel.component.aws2.polly.Polly2Constants#OPERATION" },
- "CamelAwsPollyVoiceId": { "index": 1, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType":
"software.amazon.awssdk.services.polly.model.VoiceId", "enum": [ "Aditi",
"Amy", "Astrid", "Bianca", "Brian", "Camila", "Carla", "Carmen", "Celine",
"Chantal", "Conchita", "Cristiano", "Dora", "Emma", "Enrique", "Ewa", "Filiz",
"Gabrielle", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy", "Jacek",
"Jan", "Joanna", "Joey", "Justin", "Karl", [...]
+ "CamelAwsPollyVoiceId": { "index": 1, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType":
"software.amazon.awssdk.services.polly.model.VoiceId", "enum": [ "Aditi",
"Amy", "Astrid", "Bianca", "Brian", "Camila", "Carla", "Carmen", "Celine",
"Chantal", "Conchita", "Cristiano", "Dora", "Emma", "Enrique", "Ewa", "Filiz",
"Gabrielle", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy", "Jacek",
"Jan", "Joanna", "Joey", "Justin", "Karl", [...]
"CamelAwsPollyOutputFormat": { "index": 2, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum":
[ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": false,
"description": "The output format for the audio stream", "constantName":
"org.apache.camel.component.aws2.polly.Polly2Constants#OUTPUT [...]
"CamelAwsPollyTextType": { "index": 3, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType":
"software.amazon.awssdk.services.polly.model.TextType", "enum": [ "ssml",
"text", "null" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The type of text input (text or ssml)",
"constantName":
"org.apache.camel.component.aws2.polly.Polly2Constants#TEXT_TYPE" },
"CamelAwsPollySampleRate": { "index": 4, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "The sample rate in Hz", "constantName":
"org.apache.camel.component.aws2.polly.Polly2Constants#SAMPLE_RATE" },
@@ -97,7 +97,7 @@
"taskId": { "index": 15, "kind": "parameter", "displayName": "Task Id",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "The task ID for
getSpeechSynthesisTask operation" },
"textType": { "index": 16, "kind": "parameter", "displayName": "Text
Type", "group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "software.amazon.awssdk.services.polly.model.TextType", "enum": [
"ssml", "text", "null" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "TEXT", "configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "The type of text in [...]
"uriEndpointOverride": { "index": 17, "kind": "parameter", "displayName":
"Uri Endpoint Override", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "Set the overriding uri
endpoint. This option needs to be used in combination with override [...]
- "voiceId": { "index": 18, "kind": "parameter", "displayName": "Voice Id",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "software.amazon.awssdk.services.polly.model.VoiceId", "enum": [
"Aditi", "Amy", "Astrid", "Bianca", "Brian", "Camila", "Carla", "Carmen",
"Celine", "Chantal", "Conchita", "Cristiano", "Dora", "Emma", "Enrique", "Ewa",
"Filiz", "Gabrielle", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy",
"Jacek", "Jan", "Joanna", "Joey", "J [...]
+ "voiceId": { "index": 18, "kind": "parameter", "displayName": "Voice Id",
"group": "producer", "label": "", "required": false, "type": "enum",
"javaType": "software.amazon.awssdk.services.polly.model.VoiceId", "enum": [
"Aditi", "Amy", "Astrid", "Bianca", "Brian", "Camila", "Carla", "Carmen",
"Celine", "Chantal", "Conchita", "Cristiano", "Dora", "Emma", "Enrique", "Ewa",
"Filiz", "Gabrielle", "Geraint", "Giorgio", "Gwyneth", "Hans", "Ines", "Ivy",
"Jacek", "Jan", "Joanna", "Joey", "J [...]
"lazyStartProducer": { "index": 19, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produ [...]
"pollyClient": { "index": 20, "kind": "parameter", "displayName": "Polly
Client", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "software.amazon.awssdk.services.polly.PollyClient",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "To use an existing
configured AWS Polly client" },
"proxyHost": { "index": 21, "kind": "parameter", "displayName": "Proxy
Host", "group": "proxy", "label": "proxy", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.polly.Polly2Configuration",
"configurationField": "configuration", "description": "To define a proxy host
when instantiating the Polly client" },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/mongodb.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/mongodb.json
index 162983b2eae..105f5e6a839 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/mongodb.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/mongodb.json
@@ -27,7 +27,8 @@
"mongoConnection": { "index": 0, "kind": "property", "displayName": "Mongo
Connection", "group": "common", "label": "", "required": false, "type":
"object", "javaType": "com.mongodb.client.MongoClient", "deprecated": false,
"autowired": true, "secret": false, "description": "Shared client used for
connection. All endpoints generated from the component will share this
connection client." },
"bridgeErrorHandler": { "index": 1, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"lazyStartProducer": { "index": 2, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether the producer should be started lazy (on the first message). By
starting lazy you can use this to allow CamelContext and routes to startup in
situations where a producer may otherwise fail [...]
- "autowiredEnabled": { "index": 3, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
+ "autowiredEnabled": { "index": 3, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
+ "useGlobalSslContextParameters": { "index": 4, "kind": "property",
"displayName": "Use Global Ssl Context Parameters", "group": "security",
"label": "security", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Enable usage of global SSL context
parameters." }
},
"headers": {
"CamelMongoDbOperation": { "index": 0, "kind": "header", "displayName":
"", "group": "producer", "label": "producer", "required": false, "javaType":
"org.apache.camel.component.mongodb.MongoDbOperation or String", "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": false,
"description": "The operation this endpoint will execute against MongoDB.",
"constantName":
"org.apache.camel.component.mongodb.MongoDbConstants#OPERATION_HEADER" },
@@ -111,8 +112,9 @@
"streamFilter": { "index": 50, "kind": "parameter", "displayName": "Stream
Filter", "group": "changeStream", "label": "consumer,changeStream", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filter condition for
change streams consumer." },
"authSource": { "index": 51, "kind": "parameter", "displayName": "Auth
Source", "group": "security", "label": "security", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The database name associated with the
user's credentials." },
"password": { "index": 52, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "User password for mongodb connection" },
- "tls": { "index": 53, "kind": "parameter", "displayName": "Tls", "group":
"security", "label": "security", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Specifies that all communication
with MongoDB instances should use TLS. Supersedes the ssl option. Default:
false" },
- "tlsAllowInvalidHostnames": { "index": 54, "kind": "parameter",
"displayName": "Tls Allow Invalid Hostnames", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Specifies that the driver should allow invalid hostnames
in the certificate for TLS connections. Supersedes sslInvalidHostNameAllowed.
Has the same effect as tlsInsecure by setti [...]
- "username": { "index": 55, "kind": "parameter", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "Username for mongodb connection" }
+ "sslContextParameters": { "index": 53, "kind": "parameter", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "description": "SSL configuration using a
Camel SSLContextParameters object. When configured, TLS is automatically
enabled on the connection." },
+ "tls": { "index": 54, "kind": "parameter", "displayName": "Tls", "group":
"security", "label": "security", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "Specifies that all communication
with MongoDB instances should use TLS. Supersedes the ssl option. Default:
false" },
+ "tlsAllowInvalidHostnames": { "index": 55, "kind": "parameter",
"displayName": "Tls Allow Invalid Hostnames", "group": "security", "label":
"security", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Specifies that the driver should allow invalid hostnames
in the certificate for TLS connections. Supersedes sslInvalidHostNameAllowed.
Has the same effect as tlsInsecure by setti [...]
+ "username": { "index": 56, "kind": "parameter", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "description": "Username for mongodb connection" }
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spring-ai-chat.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spring-ai-chat.json
index 393d743f951..289d3c26f8b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spring-ai-chat.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spring-ai-chat.json
@@ -58,7 +58,9 @@
"CamelSpringAiChatFinishReason": { "index": 26, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The reason why the chat response
generation stopped (e.g., STOP, LENGTH, TOOL_CALLS)", "constantName":
"org.apache.camel.component.springai.chat.SpringAiChatConstants#FINISH_REASON"
},
"CamelSpringAiChatModelName": { "index": 27, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The name of the AI model used to
generate the response", "constantName":
"org.apache.camel.component.springai.chat.SpringAiChatConstants#MODEL_NAME" },
"CamelSpringAiChatResponseId": { "index": 28, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "The unique ID of the chat response",
"constantName":
"org.apache.camel.component.springai.chat.SpringAiChatConstants#RESPONSE_ID" },
- "CamelSpringAiChatResponseMetadata": { "index": 29, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.util.Map<String, Object>", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Full response metadata as a Map containing all available metadata fields",
"constantName":
"org.apache.camel.component.springai.chat.SpringAiChatConstants#RESPONSE_METADATA"
}
+ "CamelSpringAiChatResponseMetadata": { "index": 29, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.util.Map<String, Object>", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Full response metadata as a Map containing all available metadata fields",
"constantName":
"org.apache.camel.component.springai.chat.SpringAiChatConstants#RESPONSE_METADATA"
},
+ "CamelSpringAiChatToolNames": { "index": 30, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Comma-separated tool names for
selecting tools by name via ToolCallbackResolver", "constantName":
"org.apache.camel.component.springai.chat.SpringAiChatConstants#TOOL_NAMES" },
+ "CamelSpringAiChatToolContext": { "index": 31, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.util.Map<String, Object>", "deprecated": false,
"deprecationNote": "", "autowired": false, "secret": false, "description":
"Context map to pass to tools during execution", "constantName":
"org.apache.camel.component.springai.chat.SpringAiChatConstants#TOOL_CONTEXT" }
},
"properties": {
"chatId": { "index": 0, "kind": "path", "displayName": "Chat Id", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The ID of the chat endpoint" },
@@ -67,28 +69,35 @@
"chatOperation": { "index": 3, "kind": "parameter", "displayName": "Chat
Operation", "group": "producer", "label": "", "required": true, "type": "enum",
"javaType": "org.apache.camel.component.springai.chat.SpringAiChatOperations",
"enum": [ "CHAT_SINGLE_MESSAGE", "CHAT_SINGLE_MESSAGE_WITH_PROMPT",
"CHAT_MULTIPLE_MESSAGES" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": "CHAT_SINGLE_MESSAGE",
"configurationClass": "org.apache.camel. [...]
"systemMessage": { "index": 4, "kind": "parameter", "displayName": "System
Message", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Default system message
to set context for the conversation. Can be overridden by the CamelSprin [...]
"tags": { "index": 5, "kind": "parameter", "displayName": "Tags", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Tags for discovering and
calling Camel route tools" },
- "userMessage": { "index": 6, "kind": "parameter", "displayName": "User
Message", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Default user message
text for multimodal requests. Can be combined with media data in the message b
[...]
- "lazyStartProducer": { "index": 7, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produc [...]
- "advisors": { "index": 8, "kind": "parameter", "displayName": "Advisors",
"group": "advanced", "label": "advanced", "required": false, "type": "array",
"javaType":
"java.util.List<org.springframework.ai.chat.client.advisor.api.Advisor>",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "List of custom advisor
[...]
- "chatMemory": { "index": 9, "kind": "parameter", "displayName": "Chat
Memory", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "org.springframework.ai.chat.memory.ChatMemory",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "ChatMemory instance for
maintaining conver [...]
- "chatMemoryVectorStore": { "index": 10, "kind": "parameter",
"displayName": "Chat Memory Vector Store", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"org.springframework.ai.vectorstore.VectorStore", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "VectorStore instance for
maintaining c [...]
- "entityClass": { "index": 11, "kind": "parameter", "displayName": "Entity
Class", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.Class<java.lang.Object>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "The Java class to use
for entity response conversion using ChatClient.ent [...]
- "maxFileSize": { "index": 12, "kind": "parameter", "displayName": "Max
File Size", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 1048576, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Maximum file size in
bytes for multimodal content (images, audio, PDFs, etc [...]
- "maxTokens": { "index": 13, "kind": "parameter", "displayName": "Max
Tokens", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Maximum tokens in the
response." },
- "outputClass": { "index": 14, "kind": "parameter", "displayName": "Output
Class", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.Class<java.lang.Object>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "The Java class to use
for BEAN output format conversion. Required when ou [...]
- "outputFormat": { "index": 15, "kind": "parameter", "displayName": "Output
Format", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "The output format for
structured output conversion (BEAN, MAP, LIST). Used in conjunctio [...]
- "structuredOutputConverter": { "index": 16, "kind": "parameter",
"displayName": "Structured Output Converter", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"org.springframework.ai.converter.StructuredOutputConverter<java.lang.Object>",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configurati [...]
- "systemMetadata": { "index": 17, "kind": "parameter", "displayName":
"System Metadata", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "java.util.Map<java.lang.String,
java.lang.Object>", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Metadata to attach to
system messages. This metadat [...]
- "temperature": { "index": 18, "kind": "parameter", "displayName":
"Temperature", "group": "advanced", "label": "advanced", "required": false,
"type": "number", "javaType": "java.lang.Double", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Temperature parameter
for response randomness (0.0-2.0)." },
- "topKSampling": { "index": 19, "kind": "parameter", "displayName": "Top
KSampling", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Top K parameter for
sampling." },
- "topP": { "index": 20, "kind": "parameter", "displayName": "Top P",
"group": "advanced", "label": "advanced", "required": false, "type": "number",
"javaType": "java.lang.Double", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Top P parameter for
nucleus sampling." },
- "userMetadata": { "index": 21, "kind": "parameter", "displayName": "User
Metadata", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Metadata to attach to
user messages. This metadata can [...]
- "ragTemplate": { "index": 22, "kind": "parameter", "displayName": "Rag
Template", "group": "rag", "label": "rag", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "Context:\\n\\{context}\\n\\nQuestion:
\\{question}", "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Template for formatting
RAG (R [...]
- "similarityThreshold": { "index": 23, "kind": "parameter", "displayName":
"Similarity Threshold", "group": "rag", "label": "rag", "required": false,
"type": "number", "javaType": "double", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 0.7, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Similarity threshold for
RAG retrieval (default: 0.7)." },
- "topK": { "index": 24, "kind": "parameter", "displayName": "Top K",
"group": "rag", "label": "rag", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 5, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Number of top documents
to retrieve for RAG (default: 5)." },
- "vectorStore": { "index": 25, "kind": "parameter", "displayName": "Vector
Store", "group": "rag", "label": "rag", "required": false, "type": "object",
"javaType": "org.springframework.ai.vectorstore.VectorStore", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "VectorStore for
automatic RAG retrieval." },
- "safeguardFailureResponse": { "index": 26, "kind": "parameter",
"displayName": "Safeguard Failure Response", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Failure response message
for SafeGuard advisor when sensitive c [...]
- "safeguardSensitiveWords": { "index": 27, "kind": "parameter",
"displayName": "Safeguard Sensitive Words", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
sensitive words for SafeGuard advisor. Wh [...]
- "safeguardOrder": { "index": 28, "kind": "parameter", "displayName":
"Safeguard Order", "group": "security (advanced)", "label":
"security,advanced", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Order of execution for
SafeGuard advisor. Lower numbers execut [...]
+ "toolNames": { "index": 6, "kind": "parameter", "displayName": "Tool
Names", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Comma-separated tool
names for selecting tools by name via Spring AI's ToolCallbackResolver. This
enabl [...]
+ "userMessage": { "index": 7, "kind": "parameter", "displayName": "User
Message", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Default user message
text for multimodal requests. Can be combined with media data in the message b
[...]
+ "lazyStartProducer": { "index": 8, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produc [...]
+ "advisors": { "index": 9, "kind": "parameter", "displayName": "Advisors",
"group": "advanced", "label": "advanced", "required": false, "type": "array",
"javaType":
"java.util.List<org.springframework.ai.chat.client.advisor.api.Advisor>",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "List of custom advisor
[...]
+ "chatMemory": { "index": 10, "kind": "parameter", "displayName": "Chat
Memory", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "org.springframework.ai.chat.memory.ChatMemory",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "ChatMemory instance for
maintaining conve [...]
+ "chatMemoryVectorStore": { "index": 11, "kind": "parameter",
"displayName": "Chat Memory Vector Store", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"org.springframework.ai.vectorstore.VectorStore", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "VectorStore instance for
maintaining c [...]
+ "entityClass": { "index": 12, "kind": "parameter", "displayName": "Entity
Class", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.Class<java.lang.Object>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "The Java class to use
for entity response conversion using ChatClient.ent [...]
+ "maxFileSize": { "index": 13, "kind": "parameter", "displayName": "Max
File Size", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 1048576, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Maximum file size in
bytes for multimodal content (images, audio, PDFs, etc [...]
+ "maxTokens": { "index": 14, "kind": "parameter", "displayName": "Max
Tokens", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Maximum tokens in the
response." },
+ "mcpServer": { "index": 15, "kind": "parameter", "displayName": "Mcp
Server", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>",
"prefix": "mcpServer.", "multiValue": true, "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "MCP server config [...]
+ "mcpTimeout": { "index": 16, "kind": "parameter", "displayName": "Mcp
Timeout", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 20, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Timeout in seconds for
MCP operations including tool execution and initialization" },
+ "outputClass": { "index": 17, "kind": "parameter", "displayName": "Output
Class", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.Class<java.lang.Object>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "The Java class to use
for BEAN output format conversion. Required when ou [...]
+ "outputFormat": { "index": 18, "kind": "parameter", "displayName": "Output
Format", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "The output format for
structured output conversion (BEAN, MAP, LIST). Used in conjunctio [...]
+ "structuredOutputConverter": { "index": 19, "kind": "parameter",
"displayName": "Structured Output Converter", "group": "advanced", "label":
"advanced", "required": false, "type": "object", "javaType":
"org.springframework.ai.converter.StructuredOutputConverter<java.lang.Object>",
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configurati [...]
+ "structuredOutputValidation": { "index": 20, "kind": "parameter",
"displayName": "Structured Output Validation", "group": "advanced", "label":
"advanced", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Enable structured output
validation with aut [...]
+ "structuredOutputValidationMaxAttempts": { "index": 21, "kind":
"parameter", "displayName": "Structured Output Validation Max Attempts",
"group": "advanced", "label": "advanced", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 3, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Maximum number of retry
atte [...]
+ "systemMetadata": { "index": 22, "kind": "parameter", "displayName":
"System Metadata", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType": "java.util.Map<java.lang.String,
java.lang.Object>", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Metadata to attach to
system messages. This metadat [...]
+ "temperature": { "index": 23, "kind": "parameter", "displayName":
"Temperature", "group": "advanced", "label": "advanced", "required": false,
"type": "number", "javaType": "java.lang.Double", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Temperature parameter
for response randomness (0.0-2.0)." },
+ "toolCallbacks": { "index": 24, "kind": "parameter", "displayName": "Tool
Callbacks", "group": "advanced", "label": "advanced", "required": false,
"type": "array", "javaType":
"java.util.List<org.springframework.ai.tool.ToolCallback>", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "List of ToolCallback
inst [...]
+ "toolContext": { "index": 25, "kind": "parameter", "displayName": "Tool
Context", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Context map to pass to
tools during execution. Tool metho [...]
+ "topKSampling": { "index": 26, "kind": "parameter", "displayName": "Top
KSampling", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Top K parameter for
sampling." },
+ "topP": { "index": 27, "kind": "parameter", "displayName": "Top P",
"group": "advanced", "label": "advanced", "required": false, "type": "number",
"javaType": "java.lang.Double", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Top P parameter for
nucleus sampling." },
+ "userMetadata": { "index": 28, "kind": "parameter", "displayName": "User
Metadata", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "java.util.Map<java.lang.String, java.lang.Object>",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Metadata to attach to
user messages. This metadata can [...]
+ "ragTemplate": { "index": 29, "kind": "parameter", "displayName": "Rag
Template", "group": "rag", "label": "rag", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "Context:\\n\\{context}\\n\\nQuestion:
\\{question}", "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Template for formatting
RAG (R [...]
+ "similarityThreshold": { "index": 30, "kind": "parameter", "displayName":
"Similarity Threshold", "group": "rag", "label": "rag", "required": false,
"type": "number", "javaType": "double", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 0.7, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Similarity threshold for
RAG retrieval (default: 0.7)." },
+ "topK": { "index": 31, "kind": "parameter", "displayName": "Top K",
"group": "rag", "label": "rag", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 5, "configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Number of top documents
to retrieve for RAG (default: 5)." },
+ "vectorStore": { "index": 32, "kind": "parameter", "displayName": "Vector
Store", "group": "rag", "label": "rag", "required": false, "type": "object",
"javaType": "org.springframework.ai.vectorstore.VectorStore", "deprecated":
false, "deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "VectorStore for
automatic RAG retrieval." },
+ "safeguardFailureResponse": { "index": 33, "kind": "parameter",
"displayName": "Safeguard Failure Response", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Failure response message
for SafeGuard advisor when sensitive c [...]
+ "safeguardSensitiveWords": { "index": 34, "kind": "parameter",
"displayName": "Safeguard Sensitive Words", "group": "security", "label":
"security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Comma-separated list of
sensitive words for SafeGuard advisor. Wh [...]
+ "safeguardOrder": { "index": 35, "kind": "parameter", "displayName":
"Safeguard Order", "group": "security (advanced)", "label":
"security,advanced", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.chat.SpringAiChatConfiguration",
"configurationField": "configuration", "description": "Order of execution for
SafeGuard advisor. Lower numbers execut [...]
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spring-ai-image.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spring-ai-image.json
new file mode 100644
index 00000000000..ce152e1a65b
--- /dev/null
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/spring-ai-image.json
@@ -0,0 +1,60 @@
+{
+ "component": {
+ "kind": "component",
+ "name": "spring-ai-image",
+ "title": "Spring AI Image",
+ "description": "Spring AI Image Generation",
+ "deprecated": false,
+ "firstVersion": "4.19.0",
+ "label": "ai",
+ "javaType":
"org.apache.camel.component.springai.image.SpringAiImageComponent",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel.springboot",
+ "artifactId": "camel-spring-ai-image-starter",
+ "version": "4.19.0-SNAPSHOT",
+ "scheme": "spring-ai-image",
+ "extendsScheme": "",
+ "syntax": "spring-ai-image:imageId",
+ "async": false,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": true,
+ "lenientProperties": false,
+ "browsable": false,
+ "remote": true
+ },
+ "componentProperties": {
+ "configuration": { "index": 0, "kind": "property", "displayName":
"Configuration", "group": "producer", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
configuration." },
+ "height": { "index": 1, "kind": "property", "displayName": "Height",
"group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Image height in pixels"
},
+ "imageModel": { "index": 2, "kind": "property", "displayName": "Image
Model", "group": "producer", "label": "", "required": true, "type": "object",
"javaType": "org.springframework.ai.image.ImageModel", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "The ImageModel to use
for generating images." },
+ "lazyStartProducer": { "index": 3, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Whether the producer should be started lazy (on the first message). By
starting lazy you can use this to allow CamelContext and routes to startup in
situations where a producer may otherwise fail [...]
+ "model": { "index": 4, "kind": "property", "displayName": "Model",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "The model to use for
image generation" },
+ "n": { "index": 5, "kind": "property", "displayName": "N", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Number of images to
generate" },
+ "responseFormat": { "index": 6, "kind": "property", "displayName":
"Response Format", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Response format: url or
b64_json" },
+ "style": { "index": 7, "kind": "property", "displayName": "Style",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Image style (e.g.,
vivid, natural)" },
+ "width": { "index": 8, "kind": "property", "displayName": "Width",
"group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Image width in pixels" },
+ "autowiredEnabled": { "index": 9, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
+ },
+ "headers": {
+ "CamelSpringAiImageN": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "Integer",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Number of images to generate", "constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#N" },
+ "CamelSpringAiImageWidth": { "index": 1, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "Integer",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Image width in pixels", "constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#WIDTH" },
+ "CamelSpringAiImageHeight": { "index": 2, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "Integer",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Image height in pixels", "constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#HEIGHT" },
+ "CamelSpringAiImageModel": { "index": 3, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "The model to use for image generation", "constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#MODEL" },
+ "CamelSpringAiImageResponseFormat": { "index": 4, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "description": "Response format: url or b64_json",
"constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#RESPONSE_FORMAT"
},
+ "CamelSpringAiImageStyle": { "index": 5, "kind": "header", "displayName":
"", "group": "producer", "label": "", "required": false, "javaType": "String",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "Image style (e.g., vivid, natural)", "constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#STYLE" },
+ "CamelSpringAiImageResponseMetadata": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "org.springframework.ai.image.ImageResponseMetadata", "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": false,
"description": "The image response metadata", "constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#RESPONSE_METADATA"
},
+ "CamelSpringAiImageGeneration": { "index": 7, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "org.springframework.ai.image.ImageGeneration", "deprecated":
false, "deprecationNote": "", "autowired": false, "secret": false,
"description": "The ImageGeneration object for single image results",
"constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#IMAGE_GENERATION"
},
+ "CamelSpringAiImageGenerations": { "index": 8, "kind": "header",
"displayName": "", "group": "producer", "label": "", "required": false,
"javaType": "java.util.List<org.springframework.ai.image.ImageGeneration>",
"deprecated": false, "deprecationNote": "", "autowired": false, "secret":
false, "description": "List of ImageGeneration objects for multiple image
results", "constantName":
"org.apache.camel.component.springai.image.SpringAiImageHeaders#IMAGE_GENERATIONS"
}
+ },
+ "properties": {
+ "imageId": { "index": 0, "kind": "path", "displayName": "Image Id",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "The id" },
+ "height": { "index": 1, "kind": "parameter", "displayName": "Height",
"group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Image height in pixels"
},
+ "imageModel": { "index": 2, "kind": "parameter", "displayName": "Image
Model", "group": "producer", "label": "", "required": true, "type": "object",
"javaType": "org.springframework.ai.image.ImageModel", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "The ImageModel to use
for generating images." },
+ "model": { "index": 3, "kind": "parameter", "displayName": "Model",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "The model to use for
image generation" },
+ "n": { "index": 4, "kind": "parameter", "displayName": "N", "group":
"producer", "label": "", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Number of images to
generate" },
+ "responseFormat": { "index": 5, "kind": "parameter", "displayName":
"Response Format", "group": "producer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Response format: url or
b64_json" },
+ "style": { "index": 6, "kind": "parameter", "displayName": "Style",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Image style (e.g.,
vivid, natural)" },
+ "width": { "index": 7, "kind": "parameter", "displayName": "Width",
"group": "producer", "label": "", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
"configurationField": "configuration", "description": "Image width in pixels" },
+ "lazyStartProducer": { "index": 8, "kind": "parameter", "displayName":
"Lazy Start Producer", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the producer should be started
lazy (on the first message). By starting lazy you can use this to allow
CamelContext and routes to startup in situations where a produc [...]
+ }
+}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avroJackson.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avroJackson.json
index 997c9ae3aa7..41620214ea8 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avroJackson.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avroJackson.json
@@ -5,12 +5,12 @@
"title": "Avro Jackson",
"description": "Marshal POJOs to Avro and back using Jackson.",
"deprecated": false,
- "firstVersion": "4.19.0",
+ "firstVersion": "3.10.0",
"label": "dataformat,transformation",
- "javaType":
"org.apache.camel.component.jackson3.avro.JacksonAvroDataFormat",
- "supportLevel": "Preview",
+ "javaType":
"org.apache.camel.component.jackson.avro.JacksonAvroDataFormat",
+ "supportLevel": "Stable",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jackson3-avro-starter",
+ "artifactId": "camel-jackson-avro-starter",
"version": "4.19.0-SNAPSHOT",
"modelName": "avro",
"modelJavaType": "org.apache.camel.model.dataformat.AvroDataFormat"
@@ -25,10 +25,10 @@
"allowJmsType": { "index": 6, "kind": "attribute", "displayName": "Allow
Jms Type", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Used for JMS
users to allow the JMSType header from the JMS spec to specify a FQN classname
to use to unmarshal to." },
"collectionType": { "index": 7, "kind": "attribute", "displayName":
"Collection Type", "group": "advanced", "label": "advanced", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Refers to a custom
collection type to lookup in the registry to use. This option should rarely be
used, but allows to use different collection types than java.util.Collection
based as default." },
"useList": { "index": 8, "kind": "attribute", "displayName": "Use List",
"group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "To unmarshal to a List of Map or a List
of Pojo." },
- "moduleClassNames": { "index": 9, "kind": "attribute", "displayName":
"Module Class Names", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use custom Jackson
modules tools.jackson.databind.JacksonModule specified as a String with FQN
class names. Multiple classes can be separated by comma." },
+ "moduleClassNames": { "index": 9, "kind": "attribute", "displayName":
"Module Class Names", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use custom Jackson
modules com.fasterxml.jackson.databind.Module specified as a String with FQN
class names. Multiple classes can be separated by comma." },
"moduleRefs": { "index": 10, "kind": "attribute", "displayName": "Module
Refs", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To use custom Jackson modules referred
from the Camel registry. Multiple modules can be separated by comma." },
- "enableFeatures": { "index": 11, "kind": "attribute", "displayName":
"Enable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to enable on the Jackson
tools.jackson.databind.ObjectMapper. The features should be a name that matches
a enum from tools.jackson.databind.SerializationFeature,
tools.jackson.databind.DeserializationFeature, or tools.jack [...]
- "disableFeatures": { "index": 12, "kind": "attribute", "displayName":
"Disable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to disable on the Jackson
tools.jackson.databind.ObjectMapper. The features should be a name that matches
a enum from tools.jackson.databind.SerializationFeature,
tools.jackson.databind.DeserializationFeature, or tools.j [...]
+ "enableFeatures": { "index": 11, "kind": "attribute", "displayName":
"Enable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to enable on the Jackson
com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that
matches a enum from com.fasterxml.jackson.databind.SerializationFeature,
com.fasterxml.jackson.databind.Deserializati [...]
+ "disableFeatures": { "index": 12, "kind": "attribute", "displayName":
"Disable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to disable on the Jackson
com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that
matches a enum from com.fasterxml.jackson.databind.SerializationFeature,
com.fasterxml.jackson.databind.Deserializ [...]
"allowUnmarshallType": { "index": 13, "kind": "attribute", "displayName":
"Allow Unmarshall Type", "group": "common", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If enabled then
Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header
during the unmarshalling. This should only be enabled when desired to be used."
},
"timezone": { "index": 14, "kind": "attribute", "displayName": "Timezone",
"group": "advanced", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "If set then Jackson will use the Timezone when
marshalling\/unmarshalling." },
"autoDiscoverObjectMapper": { "index": 15, "kind": "attribute",
"displayName": "Auto Discover Object Mapper", "group": "advanced", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "If set to true then Jackson will lookup
for an objectMapper into the registry" },
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/jacksonXml.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/jacksonXml.json
index 0e3ba93ecaa..b53fc1f182c 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/jacksonXml.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/jacksonXml.json
@@ -5,12 +5,12 @@
"title": "Jackson XML",
"description": "Unmarshal an XML payloads to POJOs and back using
XMLMapper extension of Jackson.",
"deprecated": false,
- "firstVersion": "2.16.0",
+ "firstVersion": "4.19.0",
"label": "dataformat,transformation,xml",
- "javaType": "org.apache.camel.component.jacksonxml.JacksonXMLDataFormat",
- "supportLevel": "Stable",
+ "javaType": "org.apache.camel.component.jackson3xml.JacksonXMLDataFormat",
+ "supportLevel": "Preview",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jacksonxml-starter",
+ "artifactId": "camel-jackson3xml-starter",
"version": "4.19.0-SNAPSHOT",
"modelName": "jacksonXml",
"modelJavaType": "org.apache.camel.model.dataformat.JacksonXMLDataFormat"
@@ -28,10 +28,10 @@
"useList": { "index": 9, "kind": "attribute", "displayName": "Use List",
"group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "To unmarshal to a List of Map or a List
of Pojo." },
"timezone": { "index": 10, "kind": "attribute", "displayName": "Timezone",
"group": "advanced", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "If set then Jackson will use the Timezone when
marshalling\/unmarshalling." },
"enableJaxbAnnotationModule": { "index": 11, "kind": "attribute",
"displayName": "Enable Jaxb Annotation Module", "group": "advanced", "label":
"advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to enable the JAXB annotations
module when using jackson. When enabled then JAXB annotations can be used by
Jackson." },
- "moduleClassNames": { "index": 12, "kind": "attribute", "displayName":
"Module Class Names", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use custom Jackson
modules com.fasterxml.jackson.databind.Module specified as a String with FQN
class names. Multiple classes can be separated by comma." },
+ "moduleClassNames": { "index": 12, "kind": "attribute", "displayName":
"Module Class Names", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use custom Jackson
modules tools.jackson.databind.JacksonModule specified as a String with FQN
class names. Multiple classes can be separated by comma." },
"moduleRefs": { "index": 13, "kind": "attribute", "displayName": "Module
Refs", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To use custom Jackson modules referred
from the Camel registry. Multiple modules can be separated by comma." },
- "enableFeatures": { "index": 14, "kind": "attribute", "displayName":
"Enable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to enable on the Jackson
com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that
matches a enum from com.fasterxml.jackson.databind.SerializationFeature,
com.fasterxml.jackson.databind.Deserializati [...]
- "disableFeatures": { "index": 15, "kind": "attribute", "displayName":
"Disable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to disable on the Jackson
com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that
matches a enum from com.fasterxml.jackson.databind.SerializationFeature,
com.fasterxml.jackson.databind.Deserializ [...]
+ "enableFeatures": { "index": 14, "kind": "attribute", "displayName":
"Enable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to enable on the Jackson
tools.jackson.databind.ObjectMapper. The features should be a name that matches
a enum from tools.jackson.databind.SerializationFeature,
tools.jackson.databind.DeserializationFeature, or tools.jack [...]
+ "disableFeatures": { "index": 15, "kind": "attribute", "displayName":
"Disable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to disable on the Jackson
tools.jackson.databind.ObjectMapper. The features should be a name that matches
a enum from tools.jackson.databind.SerializationFeature,
tools.jackson.databind.DeserializationFeature, or tools.j [...]
"contentTypeHeader": { "index": 16, "kind": "attribute", "displayName":
"Content Type Header", "group": "common", "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 marshall [...]
"maxStringLength": { "index": 17, "kind": "attribute", "displayName": "Max
String Length", "group": "advanced", "label": "advanced", "required": false,
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the maximum string
length (in chars or bytes, depending on input context). The default is
20,000,000. This limit is not exact, the limit is applied when we increase
internal buffer sizes and an exception w [...]
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/protobufJackson.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/protobufJackson.json
index 6476b75e08b..f66335892e7 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/protobufJackson.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/protobufJackson.json
@@ -5,12 +5,12 @@
"title": "Protobuf Jackson",
"description": "Marshal POJOs to Protobuf and back using Jackson.",
"deprecated": false,
- "firstVersion": "4.19.0",
+ "firstVersion": "3.10.0",
"label": "dataformat,transformation",
- "javaType":
"org.apache.camel.component.jackson3.protobuf.JacksonProtobufDataFormat",
- "supportLevel": "Preview",
+ "javaType":
"org.apache.camel.component.jackson.protobuf.JacksonProtobufDataFormat",
+ "supportLevel": "Stable",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jackson3-protobuf-starter",
+ "artifactId": "camel-jackson-protobuf-starter",
"version": "4.19.0-SNAPSHOT",
"modelName": "protobuf",
"modelJavaType": "org.apache.camel.model.dataformat.ProtobufDataFormat"
@@ -26,10 +26,10 @@
"allowJmsType": { "index": 7, "kind": "attribute", "displayName": "Allow
Jms Type", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "Used for JMS
users to allow the JMSType header from the JMS spec to specify a FQN classname
to use to unmarshal to." },
"collectionType": { "index": 8, "kind": "attribute", "displayName":
"Collection Type", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Refers to a custom collection type to lookup
in the registry to use. This option should rarely be used, but allows to use
different collection types than java.util.Collection based as default." },
"useList": { "index": 9, "kind": "attribute", "displayName": "Use List",
"group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "To unmarshal to a List of Map or a List
of Pojo." },
- "moduleClassNames": { "index": 10, "kind": "attribute", "displayName":
"Module Class Names", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use custom Jackson
modules tools.jackson.databind.JacksonModule specified as a String with FQN
class names. Multiple classes can be separated by comma." },
+ "moduleClassNames": { "index": 10, "kind": "attribute", "displayName":
"Module Class Names", "group": "advanced", "label": "advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use custom Jackson
modules com.fasterxml.jackson.databind.Module specified as a String with FQN
class names. Multiple classes can be separated by comma." },
"moduleRefs": { "index": 11, "kind": "attribute", "displayName": "Module
Refs", "group": "advanced", "label": "advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "To use custom Jackson modules referred
from the Camel registry. Multiple modules can be separated by comma." },
- "enableFeatures": { "index": 12, "kind": "attribute", "displayName":
"Enable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to enable on the Jackson
tools.jackson.databind.ObjectMapper. The features should be a name that matches
a enum from tools.jackson.databind.SerializationFeature,
tools.jackson.databind.DeserializationFeature, or tools.jack [...]
- "disableFeatures": { "index": 13, "kind": "attribute", "displayName":
"Disable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to disable on the Jackson
tools.jackson.databind.ObjectMapper. The features should be a name that matches
a enum from tools.jackson.databind.SerializationFeature,
tools.jackson.databind.DeserializationFeature, or tools.j [...]
+ "enableFeatures": { "index": 12, "kind": "attribute", "displayName":
"Enable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to enable on the Jackson
com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that
matches a enum from com.fasterxml.jackson.databind.SerializationFeature,
com.fasterxml.jackson.databind.Deserializati [...]
+ "disableFeatures": { "index": 13, "kind": "attribute", "displayName":
"Disable Features", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Set of features to disable on the Jackson
com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that
matches a enum from com.fasterxml.jackson.databind.SerializationFeature,
com.fasterxml.jackson.databind.Deserializ [...]
"allowUnmarshallType": { "index": 14, "kind": "attribute", "displayName":
"Allow Unmarshall Type", "group": "common", "required": false, "type":
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If enabled then
Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header
during the unmarshalling. This should only be enabled when desired to be used."
},
"timezone": { "index": 15, "kind": "attribute", "displayName": "Timezone",
"group": "advanced", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "If set then Jackson will use the Timezone when
marshalling\/unmarshalling." },
"schemaResolver": { "index": 16, "kind": "attribute", "displayName":
"Schema Resolver", "group": "advanced", "label": "advanced", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Optional schema resolver
used to lookup schemas for the data in transit." },
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 0b526c8a6f6..352b6aeefaf 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
@@ -5,9 +5,9 @@
"title": "Avro Binary",
"description": "Transforms from JSon to binary (byte array) using Jackson
Avro (supports Avro schema)",
"deprecated": false,
- "javaType":
"org.apache.camel.component.jackson3.avro.transform.AvroBinaryDataTypeTransformer",
+ "javaType":
"org.apache.camel.component.jackson.avro.transform.AvroBinaryDataTypeTransformer",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jackson3-avro-starter",
+ "artifactId": "camel-jackson-avro-starter",
"version": "4.19.0-SNAPSHOT"
}
}
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 5a66dd0f6f5..5c05083f9e6 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
@@ -5,9 +5,9 @@
"title": "Avro X Java Object",
"description": "Transforms from JSon to Java object using Jackson Avro
(supports content schema)",
"deprecated": false,
- "javaType":
"org.apache.camel.component.jackson3.avro.transform.AvroPojoDataTypeTransformer",
+ "javaType":
"org.apache.camel.component.jackson.avro.transform.AvroPojoDataTypeTransformer",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jackson3-avro-starter",
+ "artifactId": "camel-jackson-avro-starter",
"version": "4.19.0-SNAPSHOT"
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-x-struct.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-x-struct.json
index 9ae8c8fa815..981de056a6f 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-x-struct.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/avro-x-struct.json
@@ -5,9 +5,9 @@
"title": "Avro X Struct",
"description": "Transforms to generic JSonNode using Jackson Avro
(supports content schema)",
"deprecated": false,
- "javaType":
"org.apache.camel.component.jackson3.avro.transform.AvroStructDataTypeTransformer",
+ "javaType":
"org.apache.camel.component.jackson.avro.transform.AvroStructDataTypeTransformer",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jackson3-avro-starter",
+ "artifactId": "camel-jackson-avro-starter",
"version": "4.19.0-SNAPSHOT"
}
}
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 c49e57bf6a7..c6760dafad0 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
@@ -5,9 +5,9 @@
"title": "Protobuf Binary",
"description": "Transforms from JSon to binary (byte array) using Jackson
Protobuf (supports Protobuf schema)",
"deprecated": false,
- "javaType":
"org.apache.camel.component.jackson3.protobuf.transform.ProtobufBinaryDataTypeTransformer",
+ "javaType":
"org.apache.camel.component.jackson.protobuf.transform.ProtobufBinaryDataTypeTransformer",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jackson3-protobuf-starter",
+ "artifactId": "camel-jackson-protobuf-starter",
"version": "4.19.0-SNAPSHOT"
}
}
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 c2fed7a6caf..5348fa8ffaa 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
@@ -5,9 +5,9 @@
"title": "Protobuf X Java Object",
"description": "Transforms from JSon to Java object using Jackson Protobuf
(supports content schema)",
"deprecated": false,
- "javaType":
"org.apache.camel.component.jackson3.protobuf.transform.ProtobufPojoDataTypeTransformer",
+ "javaType":
"org.apache.camel.component.jackson.protobuf.transform.ProtobufPojoDataTypeTransformer",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jackson3-protobuf-starter",
+ "artifactId": "camel-jackson-protobuf-starter",
"version": "4.19.0-SNAPSHOT"
}
}
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-x-struct.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-x-struct.json
index 47a9fa63f66..249541a3db5 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-x-struct.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/transformers/protobuf-x-struct.json
@@ -5,9 +5,9 @@
"title": "Protobuf X Struct",
"description": "Transforms to generic JSonNode using Jackson Protobuf
(supports content schema)",
"deprecated": false,
- "javaType":
"org.apache.camel.component.jackson3.protobuf.transform.ProtobufStructDataTypeTransformer",
+ "javaType":
"org.apache.camel.component.jackson.protobuf.transform.ProtobufStructDataTypeTransformer",
"groupId": "org.apache.camel.springboot",
- "artifactId": "camel-jackson3-protobuf-starter",
+ "artifactId": "camel-jackson-protobuf-starter",
"version": "4.19.0-SNAPSHOT"
}
}
diff --git
a/components-starter/camel-mongodb-starter/src/main/docs/mongodb.json
b/components-starter/camel-mongodb-starter/src/main/docs/mongodb.json
index d33486d8f91..502245783c3 100644
--- a/components-starter/camel-mongodb-starter/src/main/docs/mongodb.json
+++ b/components-starter/camel-mongodb-starter/src/main/docs/mongodb.json
@@ -50,6 +50,13 @@
"type": "com.mongodb.client.MongoClient",
"description": "Shared client used for connection. All endpoints
generated from the component will share this connection client. The option is a
com.mongodb.client.MongoClient type.",
"sourceType":
"org.apache.camel.component.mongodb.springboot.MongoDbComponentConfiguration"
+ },
+ {
+ "name": "camel.component.mongodb.use-global-ssl-context-parameters",
+ "type": "java.lang.Boolean",
+ "description": "Enable usage of global SSL context parameters.",
+ "sourceType":
"org.apache.camel.component.mongodb.springboot.MongoDbComponentConfiguration",
+ "defaultValue": false
}
],
"hints": [],
diff --git
a/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
b/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
index 8c142a81e9f..74c11a59ace 100644
---
a/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
+++
b/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
@@ -75,6 +75,10 @@ public class MongoDbComponentConfiguration
* etc.
*/
private Boolean autowiredEnabled = true;
+ /**
+ * Enable usage of global SSL context parameters.
+ */
+ private Boolean useGlobalSslContextParameters = false;
public MongoClient getMongoConnection() {
return mongoConnection;
@@ -107,4 +111,13 @@ public class MongoDbComponentConfiguration
public void setAutowiredEnabled(Boolean autowiredEnabled) {
this.autowiredEnabled = autowiredEnabled;
}
+
+ public Boolean getUseGlobalSslContextParameters() {
+ return useGlobalSslContextParameters;
+ }
+
+ public void setUseGlobalSslContextParameters(
+ Boolean useGlobalSslContextParameters) {
+ this.useGlobalSslContextParameters = useGlobalSslContextParameters;
+ }
}
\ No newline at end of file
diff --git a/components-starter/camel-spring-ai-image-starter/pom.xml
b/components-starter/camel-spring-ai-image-starter/pom.xml
new file mode 100644
index 00000000000..65083ef5bf5
--- /dev/null
+++ b/components-starter/camel-spring-ai-image-starter/pom.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>components-starter</artifactId>
+ <version>4.19.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>camel-spring-ai-image-starter</artifactId>
+ <packaging>jar</packaging>
+ <name>Camel SB Starters :: spring-ai-image</name>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter</artifactId>
+ <version>${spring-boot-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-spring-ai-image</artifactId>
+ <version>${camel-version}</version>
+ </dependency>
+ <!--START OF GENERATED CODE-->
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-core-starter</artifactId>
+ </dependency>
+ <!--END OF GENERATED CODE-->
+ </dependencies>
+</project>
diff --git
a/components-starter/camel-spring-ai-image-starter/src/main/docs/spring-ai-image.json
b/components-starter/camel-spring-ai-image-starter/src/main/docs/spring-ai-image.json
new file mode 100644
index 00000000000..4e1932f11bf
--- /dev/null
+++
b/components-starter/camel-spring-ai-image-starter/src/main/docs/spring-ai-image.json
@@ -0,0 +1,94 @@
+{
+ "groups": [
+ {
+ "name": "camel.component.spring-ai-image",
+ "type":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.customizer",
+ "type":
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration",
+ "sourceMethod": "getCustomizer()"
+ }
+ ],
+ "properties": [
+ {
+ "name": "camel.component.spring-ai-image.autowired-enabled",
+ "type": "java.lang.Boolean",
+ "description": "Whether autowiring is enabled. This is used for
automatic autowiring options (the option must be marked as autowired) by
looking up in the registry to find if there is a single instance of matching
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc.",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration",
+ "defaultValue": true
+ },
+ {
+ "name": "camel.component.spring-ai-image.configuration",
+ "type":
"org.apache.camel.component.springai.image.SpringAiImageConfiguration",
+ "description": "The configuration. The option is a
org.apache.camel.component.springai.image.SpringAiImageConfiguration type.",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.customizer.enabled",
+ "type": "java.lang.Boolean",
+ "sourceType":
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties"
+ },
+ {
+ "name": "camel.component.spring-ai-image.enabled",
+ "type": "java.lang.Boolean",
+ "description": "Whether to enable auto configuration of the
spring-ai-image component. This is enabled by default.",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.height",
+ "type": "java.lang.Integer",
+ "description": "Image height in pixels",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.image-model",
+ "type": "org.springframework.ai.image.ImageModel",
+ "description": "The ImageModel to use for generating images. The option
is a org.springframework.ai.image.ImageModel type.",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.lazy-start-producer",
+ "type": "java.lang.Boolean",
+ "description": "Whether the producer should be started lazy (on the
first message). By starting lazy you can use this to allow CamelContext and
routes to startup in situations where a producer may otherwise fail during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and starting the [...]
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration",
+ "defaultValue": false
+ },
+ {
+ "name": "camel.component.spring-ai-image.model",
+ "type": "java.lang.String",
+ "description": "The model to use for image generation",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.n",
+ "type": "java.lang.Integer",
+ "description": "Number of images to generate",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.response-format",
+ "type": "java.lang.String",
+ "description": "Response format: url or b64_json",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.style",
+ "type": "java.lang.String",
+ "description": "Image style (e.g., vivid, natural)",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ },
+ {
+ "name": "camel.component.spring-ai-image.width",
+ "type": "java.lang.Integer",
+ "description": "Image width in pixels",
+ "sourceType":
"org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConfiguration"
+ }
+ ],
+ "hints": [],
+ "ignored": {
+ "properties": []
+ }
+}
\ No newline at end of file
diff --git
a/components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentAutoConfiguration.java
b/components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentAutoConfiguration.java
new file mode 100644
index 00000000000..74a46463dd7
--- /dev/null
+++
b/components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentAutoConfiguration.java
@@ -0,0 +1,77 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.springai.image.springboot;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.Component;
+import org.apache.camel.component.springai.image.SpringAiImageComponent;
+import org.apache.camel.spi.ComponentCustomizer;
+import org.apache.camel.spring.boot.CamelAutoConfiguration;
+import org.apache.camel.spring.boot.ComponentConfigurationProperties;
+import org.apache.camel.spring.boot.util.CamelPropertiesHelper;
+import
org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans;
+import org.apache.camel.spring.boot.util.ConditionalOnHierarchicalProperties;
+import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.AutoConfigureAfter;
+import
org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Conditional;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Lazy;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration(proxyBeanMethods = false)
+@Conditional(ConditionalOnCamelContextAndAutoConfigurationBeans.class)
+@EnableConfigurationProperties({ComponentConfigurationProperties.class,SpringAiImageComponentConfiguration.class})
+@ConditionalOnHierarchicalProperties({"camel.component",
"camel.component.spring-ai-image"})
+@AutoConfigureAfter({CamelAutoConfiguration.class,
SpringAiImageComponentConverter.class})
+public class SpringAiImageComponentAutoConfiguration {
+
+ @Autowired
+ private ApplicationContext applicationContext;
+ private final CamelContext camelContext;
+ @Autowired
+ private SpringAiImageComponentConfiguration configuration;
+
+ public SpringAiImageComponentAutoConfiguration(
+ org.apache.camel.CamelContext camelContext) {
+ this.camelContext = camelContext;
+ }
+
+ @Lazy
+ @Bean
+ public ComponentCustomizer configureSpringAiImageComponent() {
+ return new ComponentCustomizer() {
+ @Override
+ public void configure(String name, Component target) {
+ CamelPropertiesHelper.copyProperties(camelContext,
configuration, target);
+ }
+ @Override
+ public boolean isEnabled(String name, Component target) {
+ return HierarchicalPropertiesEvaluator.evaluate(
+ applicationContext,
+ "camel.component.customizer",
+ "camel.component.spring-ai-image.customizer")
+ && target instanceof SpringAiImageComponent;
+ }
+ };
+ }
+}
\ No newline at end of file
diff --git
a/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
b/components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentConfiguration.java
similarity index 52%
copy from
components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
copy to
components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentConfiguration.java
index 8c142a81e9f..1c081f181d4 100644
---
a/components-starter/camel-mongodb-starter/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
+++
b/components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentConfiguration.java
@@ -14,47 +14,43 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.camel.component.mongodb.springboot;
+package org.apache.camel.component.springai.image.springboot;
-import com.mongodb.client.MongoClient;
+import org.apache.camel.component.springai.image.SpringAiImageConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
+import org.springframework.ai.image.ImageModel;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
- * Perform operations on MongoDB documents and collections.
+ * Spring AI Image Generation
*
* Generated by camel-package-maven-plugin - do not edit this file!
*/
-@ConfigurationProperties(prefix = "camel.component.mongodb")
-public class MongoDbComponentConfiguration
+@ConfigurationProperties(prefix = "camel.component.spring-ai-image")
+public class SpringAiImageComponentConfiguration
extends
ComponentConfigurationPropertiesCommon {
/**
- * Whether to enable auto configuration of the mongodb component. This is
- * enabled by default.
+ * Whether to enable auto configuration of the spring-ai-image component.
+ * This is enabled by default.
*/
private Boolean enabled;
/**
- * Shared client used for connection. All endpoints generated from the
- * component will share this connection client. The option is a
- * com.mongodb.client.MongoClient type.
+ * The configuration. The option is a
+ * org.apache.camel.component.springai.image.SpringAiImageConfiguration
+ * type.
*/
- private MongoClient mongoConnection;
+ private SpringAiImageConfiguration configuration;
/**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions (if possible) occurred while the Camel
consumer
- * is trying to pickup incoming messages, or the likes, will now be
- * processed as a message and handled by the routing Error Handler.
- * Important: This is only possible if the 3rd party component allows Camel
- * to be alerted if an exception was thrown. Some components handle this
- * internally only, and therefore bridgeErrorHandler is not possible. In
- * other situations we may improve the Camel component to hook into the 3rd
- * party component and make this possible for future releases. By default
- * the consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and ignored.
+ * Image height in pixels
*/
- private Boolean bridgeErrorHandler = false;
+ private Integer height;
+ /**
+ * The ImageModel to use for generating images. The option is a
+ * org.springframework.ai.image.ImageModel type.
+ */
+ private ImageModel imageModel;
/**
* Whether the producer should be started lazy (on the first message). By
* starting lazy you can use this to allow CamelContext and routes to
@@ -66,6 +62,26 @@ public class MongoDbComponentConfiguration
* and prolong the total processing time of the processing.
*/
private Boolean lazyStartProducer = false;
+ /**
+ * The model to use for image generation
+ */
+ private String model;
+ /**
+ * Number of images to generate
+ */
+ private Integer n;
+ /**
+ * Response format: url or b64_json
+ */
+ private String responseFormat;
+ /**
+ * Image style (e.g., vivid, natural)
+ */
+ private String style;
+ /**
+ * Image width in pixels
+ */
+ private Integer width;
/**
* Whether autowiring is enabled. This is used for automatic autowiring
* options (the option must be marked as autowired) by looking up in the
@@ -76,20 +92,28 @@ public class MongoDbComponentConfiguration
*/
private Boolean autowiredEnabled = true;
- public MongoClient getMongoConnection() {
- return mongoConnection;
+ public SpringAiImageConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(SpringAiImageConfiguration configuration) {
+ this.configuration = configuration;
}
- public void setMongoConnection(MongoClient mongoConnection) {
- this.mongoConnection = mongoConnection;
+ public Integer getHeight() {
+ return height;
}
- public Boolean getBridgeErrorHandler() {
- return bridgeErrorHandler;
+ public void setHeight(Integer height) {
+ this.height = height;
}
- public void setBridgeErrorHandler(Boolean bridgeErrorHandler) {
- this.bridgeErrorHandler = bridgeErrorHandler;
+ public ImageModel getImageModel() {
+ return imageModel;
+ }
+
+ public void setImageModel(ImageModel imageModel) {
+ this.imageModel = imageModel;
}
public Boolean getLazyStartProducer() {
@@ -100,6 +124,46 @@ public class MongoDbComponentConfiguration
this.lazyStartProducer = lazyStartProducer;
}
+ public String getModel() {
+ return model;
+ }
+
+ public void setModel(String model) {
+ this.model = model;
+ }
+
+ public Integer getN() {
+ return n;
+ }
+
+ public void setN(Integer n) {
+ this.n = n;
+ }
+
+ public String getResponseFormat() {
+ return responseFormat;
+ }
+
+ public void setResponseFormat(String responseFormat) {
+ this.responseFormat = responseFormat;
+ }
+
+ public String getStyle() {
+ return style;
+ }
+
+ public void setStyle(String style) {
+ this.style = style;
+ }
+
+ public Integer getWidth() {
+ return width;
+ }
+
+ public void setWidth(Integer width) {
+ this.width = width;
+ }
+
public Boolean getAutowiredEnabled() {
return autowiredEnabled;
}
diff --git
a/components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentConverter.java
b/components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentConverter.java
new file mode 100644
index 00000000000..cda1c1321bb
--- /dev/null
+++
b/components-starter/camel-spring-ai-image-starter/src/main/java/org/apache/camel/component/springai/image/springboot/SpringAiImageComponentConverter.java
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.springai.image.springboot;
+
+import java.util.LinkedHashSet;
+import java.util.Set;
+import org.springframework.beans.factory.annotation.Autowired;
+import
org.springframework.boot.context.properties.ConfigurationPropertiesBinding;
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.core.convert.TypeDescriptor;
+import org.springframework.core.convert.converter.GenericConverter;
+import org.springframework.stereotype.Component;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration(proxyBeanMethods = false)
+@ConfigurationPropertiesBinding
+@Component
+public class SpringAiImageComponentConverter implements GenericConverter {
+
+ @Autowired
+ private ApplicationContext applicationContext;
+
+ public Set<ConvertiblePair> getConvertibleTypes() {
+ Set<ConvertiblePair> answer = new LinkedHashSet<>();
+ answer.add(new ConvertiblePair(String.class,
org.apache.camel.component.springai.image.SpringAiImageConfiguration.class));
+ answer.add(new ConvertiblePair(String.class,
org.springframework.ai.image.ImageModel.class));
+ return answer;
+ }
+
+ public Object convert(
+ Object source,
+ TypeDescriptor sourceType,
+ TypeDescriptor targetType) {
+ if (source == null) {
+ return null;
+ }
+ String ref = source.toString();
+ if (!ref.startsWith("#")) {
+ return null;
+ }
+ ref = ref.startsWith("#bean:") ? ref.substring(6) : ref.substring(1);
+ switch (targetType.getName()) {
+ case
"org.apache.camel.component.springai.image.SpringAiImageConfiguration": return
applicationContext.getBean(ref,
org.apache.camel.component.springai.image.SpringAiImageConfiguration.class);
+ case "org.springframework.ai.image.ImageModel": return
applicationContext.getBean(ref, org.springframework.ai.image.ImageModel.class);
+ }
+ return null;
+ }
+}
\ No newline at end of file
diff --git
a/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/LICENSE.txt
b/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 00000000000..6b0b1270ff0
--- /dev/null
+++
b/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/LICENSE.txt
@@ -0,0 +1,203 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
diff --git
a/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/NOTICE.txt
b/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 00000000000..2e215bf2e6b
--- /dev/null
+++
b/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/NOTICE.txt
@@ -0,0 +1,11 @@
+ =========================================================================
+ == NOTICE file corresponding to the section 4 d of ==
+ == the Apache License, Version 2.0, ==
+ == in this case for the Apache Camel distribution. ==
+ =========================================================================
+
+ This product includes software developed by
+ The Apache Software Foundation (http://www.apache.org/).
+
+ Please read the different LICENSE files present in the licenses directory of
+ this distribution.
diff --git
a/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
b/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
new file mode 100644
index 00000000000..c1efa2f2615
--- /dev/null
+++
b/components-starter/camel-spring-ai-image-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
@@ -0,0 +1,18 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+org.apache.camel.component.springai.image.springboot.SpringAiImageComponentConverter
+org.apache.camel.component.springai.image.springboot.SpringAiImageComponentAutoConfiguration
diff --git a/components-starter/pom.xml b/components-starter/pom.xml
index 2b4cf88b17f..b8928d02b00 100644
--- a/components-starter/pom.xml
+++ b/components-starter/pom.xml
@@ -447,6 +447,7 @@
<module>camel-splunk-starter</module>
<module>camel-spring-ai-chat-starter</module>
<module>camel-spring-ai-embeddings-starter</module>
+ <module>camel-spring-ai-image-starter</module>
<module>camel-spring-ai-tools-starter</module>
<module>camel-spring-ai-vector-store-starter</module>
<module>camel-spring-batch-starter</module>
diff --git a/tooling/camel-spring-boot-bom/pom.xml
b/tooling/camel-spring-boot-bom/pom.xml
index c3fc93ba65d..03c116aef8d 100644
--- a/tooling/camel-spring-boot-bom/pom.xml
+++ b/tooling/camel-spring-boot-bom/pom.xml
@@ -1778,6 +1778,11 @@
<artifactId>camel-spring-ai-embeddings-starter</artifactId>
<version>4.19.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-spring-ai-image-starter</artifactId>
+ <version>4.19.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-ai-tools-starter</artifactId>
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index a08f6b59a66..6e96ea4cb11 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -2062,6 +2062,11 @@
<artifactId>camel-spring-ai-embeddings-starter</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-spring-ai-image-starter</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-ai-tools-starter</artifactId>
@@ -4549,6 +4554,11 @@
<artifactId>camel-spring-ai-embeddings</artifactId>
<version>4.19.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-spring-ai-image</artifactId>
+ <version>4.19.0-SNAPSHOT</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-ai-tools</artifactId>