This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 365fa15d0b698a228a606ea3e21ba8476f209a9a
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Mar 8 14:30:22 2024 +0100

    Regen Bedrock Starter with AWS Bedrock Agent
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 .../camel/springboot/catalog/components.properties |   1 +
 .../catalog/components/aws-bedrock-agent.json      |  81 +++++
 .../src/main/docs/aws-bedrock.json                 | 183 ++++++++++
 .../BedrockAgentComponentAutoConfiguration.java    |  77 +++++
 .../BedrockAgentComponentConfiguration.java        | 374 +++++++++++++++++++++
 .../springboot/BedrockAgentComponentConverter.java |  65 ++++
 ...rk.boot.autoconfigure.AutoConfiguration.imports |   2 +
 7 files changed, 783 insertions(+)

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 55aac288128..957a567fb5e 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
@@ -9,6 +9,7 @@ atmosphere-websocket
 atom
 avro
 aws-bedrock
+aws-bedrock-agent
 aws-bedrock-agent-runtime
 aws-cloudtrail
 aws-config
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-bedrock-agent.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-bedrock-agent.json
new file mode 100644
index 00000000000..73667b1f4c0
--- /dev/null
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-bedrock-agent.json
@@ -0,0 +1,81 @@
+{
+  "component": {
+    "kind": "component",
+    "name": "aws-bedrock-agent",
+    "title": "AWS Bedrock Agent",
+    "description": "Operate on AWS Bedrock through its Agent.",
+    "deprecated": false,
+    "firstVersion": "4.5.0",
+    "label": "ai,cloud",
+    "javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentComponent",
+    "supportLevel": "Preview",
+    "groupId": "org.apache.camel.springboot",
+    "artifactId": "camel-aws-bedrock-starter",
+    "version": "4.5.0-SNAPSHOT",
+    "scheme": "aws-bedrock-agent",
+    "extendsScheme": "",
+    "syntax": "aws-bedrock-agent:label",
+    "async": false,
+    "api": false,
+    "consumerOnly": false,
+    "producerOnly": true,
+    "lenientProperties": false,
+    "remote": true
+  },
+  "componentProperties": {
+    "configuration": { "index": 0, "kind": "property", "displayName": 
"Configuration", "group": "producer", "label": "", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"deprecated": false, "autowired": false, "secret": false, "description": 
"Component configuration" },
+    "dataSourceId": { "index": 1, "kind": "property", "displayName": "Data 
Source Id", "group": "producer", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Define the Data source 
Id we are going to use" },
+    "knowledgeBaseId": { "index": 2, "kind": "property", "displayName": 
"Knowledge Base Id", "group": "producer", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Define the Knowledge 
Base Id we are going to use" },
+    "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 [...]
+    "modelId": { "index": 4, "kind": "property", "displayName": "Model Id", 
"group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "enum": [ "anthropic.claude-instant-v1", 
"anthropic.claude-v2", "anthropic.claude-v2:1" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "descr [...]
+    "operation": { "index": 5, "kind": "property", "displayName": "Operation", 
"group": "producer", "label": "", "required": true, "type": "object", 
"javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations", "enum": 
[ "startIngestionJob", "listIngestionJobs" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "conf [...]
+    "overrideEndpoint": { "index": 6, "kind": "property", "displayName": 
"Override Endpoint", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set the need for 
overriding the endpoint. This option needs to be used [...]
+    "pojoRequest": { "index": 7, "kind": "property", "displayName": "Pojo 
Request", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If we want to use a POJO 
request as body or not" },
+    "profileCredentialsName": { "index": 8, "kind": "property", "displayName": 
"Profile Credentials Name", "group": "producer", "label": "", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "false", 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If using a profile 
credentials provider, this p [...]
+    "region": { "index": 9, "kind": "property", "displayName": "Region", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "enum": [ "us-east-1", "us-west-1", 
"ap-southeast-1", "ap-northeast-1", "eu-central-1" ], "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "The region in wh [...]
+    "uriEndpointOverride": { "index": 10, "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.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set the overriding uri 
endpoint. This option needs to be used in combination  [...]
+    "useDefaultCredentialsProvider": { "index": 11, "kind": "property", 
"displayName": "Use Default Credentials Provider", "group": "producer", 
"label": "", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set whether the Bedrock 
Agent client shou [...]
+    "useProfileCredentialsProvider": { "index": 12, "kind": "property", 
"displayName": "Use Profile Credentials Provider", "group": "producer", 
"label": "", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set whether the Bedrock 
Agent client shou [...]
+    "autowiredEnabled": { "index": 13, "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  [...]
+    "bedrockAgentClient": { "index": 14, "kind": "property", "displayName": 
"Bedrock Agent Client", "group": "advanced", "label": "advanced", "required": 
false, "type": "object", "javaType": 
"software.amazon.awssdk.services.bedrockagent.BedrockAgentClient", 
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "To [...]
+    "healthCheckConsumerEnabled": { "index": 15, "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" },
+    "healthCheckProducerEnabled": { "index": 16, "kind": "property", 
"displayName": "Health Check Producer 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 producer based health checks 
from this component. Notice: Camel has by default disabled all producer based 
health-checks. You can turn on produce [...]
+    "proxyHost": { "index": 17, "kind": "property", "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.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "To define a proxy host 
when instantiating the Bedrock Agent client" },
+    "proxyPort": { "index": 18, "kind": "property", "displayName": "Proxy 
Port", "group": "proxy", "label": "proxy", "required": false, "type": 
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "To define a proxy port 
when instantiating the Bedrock Agent client" },
+    "proxyProtocol": { "index": 19, "kind": "property", "displayName": "Proxy 
Protocol", "group": "proxy", "label": "proxy", "required": false, "type": 
"object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", 
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "HTTPS", "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "To define a pr [...]
+    "accessKey": { "index": 20, "kind": "property", "displayName": "Access 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
+    "secretKey": { "index": 21, "kind": "property", "displayName": "Secret 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+    "sessionToken": { "index": 22, "kind": "property", "displayName": "Session 
Token", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Session Token 
used when the user needs to assume an IAM role" },
+    "trustAllCertificates": { "index": 23, "kind": "property", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of over [...]
+    "useSessionCredentials": { "index": 24, "kind": "property", "displayName": 
"Use Session Credentials", "group": "security", "label": "security", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set whether the Bedrock 
Agent client should expect [...]
+  },
+  "headers": {
+    "CamelAwsBedrockAgentRuntimeOperation": { "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.bedrock.agentruntime.BedrockAgentRuntimeConstants#OPERATION"
 },
+    "CamelAwsBedrockAgentRuntimeCitations": { "index": 1, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "When retrieving and generating a 
response, this header will contain the citations", "constantName": 
"org.apache.camel.component.aws2.bedrock.agentruntime.BedrockAgentRuntimeConstants#CITATIONS"
 },
+    "CamelAwsBedrockAgentRuntimeSessionId": { "index": 2, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "When retrieving and generating a 
response, this header will contain he unique identifier of the session. Reuse 
the same value to continue the same session with the knowledge base.", 
"constantName": "org.apache.camel.component [...]
+  },
+  "properties": {
+    "label": { "index": 0, "kind": "path", "displayName": "Label", "group": 
"producer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Logical name" },
+    "dataSourceId": { "index": 1, "kind": "parameter", "displayName": "Data 
Source Id", "group": "producer", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Define the Data source 
Id we are going to use" },
+    "knowledgeBaseId": { "index": 2, "kind": "parameter", "displayName": 
"Knowledge Base Id", "group": "producer", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Define the Knowledge 
Base Id we are going to use" },
+    "modelId": { "index": 3, "kind": "parameter", "displayName": "Model Id", 
"group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "enum": [ "anthropic.claude-instant-v1", 
"anthropic.claude-v2", "anthropic.claude-v2:1" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "desc [...]
+    "operation": { "index": 4, "kind": "parameter", "displayName": 
"Operation", "group": "producer", "label": "", "required": true, "type": 
"object", "javaType": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations", "enum": 
[ "startIngestionJob", "listIngestionJobs" ], "deprecated": false, 
"deprecationNote": "", "autowired": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "con [...]
+    "overrideEndpoint": { "index": 5, "kind": "parameter", "displayName": 
"Override Endpoint", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set the need for 
overriding the endpoint. This option needs to be use [...]
+    "pojoRequest": { "index": 6, "kind": "parameter", "displayName": "Pojo 
Request", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If we want to use a POJO 
request as body or not" },
+    "profileCredentialsName": { "index": 7, "kind": "parameter", 
"displayName": "Profile Credentials Name", "group": "producer", "label": "", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
"false", "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If using a profile 
credentials provider, this  [...]
+    "region": { "index": 8, "kind": "parameter", "displayName": "Region", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "enum": [ "us-east-1", "us-west-1", 
"ap-southeast-1", "ap-northeast-1", "eu-central-1" ], "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "The region in w [...]
+    "uriEndpointOverride": { "index": 9, "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.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set the overriding uri 
endpoint. This option needs to be used in combination  [...]
+    "useDefaultCredentialsProvider": { "index": 10, "kind": "parameter", 
"displayName": "Use Default Credentials Provider", "group": "producer", 
"label": "", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set whether the Bedrock 
Agent client sho [...]
+    "useProfileCredentialsProvider": { "index": 11, "kind": "parameter", 
"displayName": "Use Profile Credentials Provider", "group": "producer", 
"label": "", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set whether the Bedrock 
Agent client sho [...]
+    "lazyStartProducer": { "index": 12, "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 [...]
+    "bedrockAgentClient": { "index": 13, "kind": "parameter", "displayName": 
"Bedrock Agent Client", "group": "advanced", "label": "advanced", "required": 
false, "type": "object", "javaType": 
"software.amazon.awssdk.services.bedrockagent.BedrockAgentClient", 
"deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "T [...]
+    "proxyHost": { "index": 14, "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.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "To define a proxy host 
when instantiating the Bedrock Agent client" },
+    "proxyPort": { "index": 15, "kind": "parameter", "displayName": "Proxy 
Port", "group": "proxy", "label": "proxy", "required": false, "type": 
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "To define a proxy port 
when instantiating the Bedrock Agent client" },
+    "proxyProtocol": { "index": 16, "kind": "parameter", "displayName": "Proxy 
Protocol", "group": "proxy", "label": "proxy", "required": false, "type": 
"object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", 
"HTTPS" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "HTTPS", "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "To define a p [...]
+    "accessKey": { "index": 17, "kind": "parameter", "displayName": "Access 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Access Key" },
+    "secretKey": { "index": 18, "kind": "parameter", "displayName": "Secret 
Key", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+    "sessionToken": { "index": 19, "kind": "parameter", "displayName": 
"Session Token", "group": "security", "label": "security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": true, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Amazon AWS Session Token 
used when the user needs to assume an IAM role" },
+    "trustAllCertificates": { "index": 20, "kind": "parameter", "displayName": 
"Trust All Certificates", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "If we want to trust all 
certificates in case of ove [...]
+    "useSessionCredentials": { "index": 21, "kind": "parameter", 
"displayName": "Use Session Credentials", "group": "security", "label": 
"security", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 
false, "configurationClass": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration", 
"configurationField": "configuration", "description": "Set whether the Bedrock 
Agent client should expec [...]
+  }
+}
diff --git 
a/components-starter/camel-aws-bedrock-starter/src/main/docs/aws-bedrock.json 
b/components-starter/camel-aws-bedrock-starter/src/main/docs/aws-bedrock.json
index ab018591015..dd0539182a3 100644
--- 
a/components-starter/camel-aws-bedrock-starter/src/main/docs/aws-bedrock.json
+++ 
b/components-starter/camel-aws-bedrock-starter/src/main/docs/aws-bedrock.json
@@ -5,6 +5,11 @@
       "type": 
"org.apache.camel.component.aws2.bedrock.runtime.springboot.BedrockComponentConfiguration",
       "sourceType": 
"org.apache.camel.component.aws2.bedrock.runtime.springboot.BedrockComponentConfiguration"
     },
+    {
+      "name": "camel.component.aws-bedrock-agent",
+      "type": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
     {
       "name": "camel.component.aws-bedrock-agent-runtime",
       "type": 
"org.apache.camel.component.aws2.bedrock.agentruntime.springboot.BedrockAgentRuntimeComponentConfiguration",
@@ -16,6 +21,12 @@
       "sourceType": 
"org.apache.camel.component.aws2.bedrock.agentruntime.springboot.BedrockAgentRuntimeComponentConfiguration",
       "sourceMethod": "getCustomizer()"
     },
+    {
+      "name": "camel.component.aws-bedrock-agent.customizer",
+      "type": 
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "sourceMethod": "getCustomizer()"
+    },
     {
       "name": "camel.component.aws-bedrock.customizer",
       "type": 
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties",
@@ -190,6 +201,178 @@
       "sourceType": 
"org.apache.camel.component.aws2.bedrock.agentruntime.springboot.BedrockAgentRuntimeComponentConfiguration",
       "defaultValue": false
     },
+    {
+      "name": "camel.component.aws-bedrock-agent.access-key",
+      "type": "java.lang.String",
+      "description": "Amazon AWS Access Key",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.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.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": true
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.bedrock-agent-client",
+      "type": 
"software.amazon.awssdk.services.bedrockagent.BedrockAgentClient",
+      "description": "To use an existing configured AWS Bedrock Agent client. 
The option is a software.amazon.awssdk.services.bedrockagent.BedrockAgentClient 
type.",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.configuration",
+      "type": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration",
+      "description": "Component configuration. The option is a 
org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration type.",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.customizer.enabled",
+      "type": "java.lang.Boolean",
+      "sourceType": 
"org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon$CustomizerProperties"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.data-source-id",
+      "type": "java.lang.String",
+      "description": "Define the Data source Id we are going to use",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.enabled",
+      "type": "java.lang.Boolean",
+      "description": "Whether to enable auto configuration of the 
aws-bedrock-agent component. This is enabled by default.",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": 
"camel.component.aws-bedrock-agent.health-check-consumer-enabled",
+      "type": "java.lang.Boolean",
+      "description": "Used for enabling or disabling all consumer based health 
checks from this component",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": true
+    },
+    {
+      "name": 
"camel.component.aws-bedrock-agent.health-check-producer-enabled",
+      "type": "java.lang.Boolean",
+      "description": "Used for enabling or disabling all producer based health 
checks from this component. Notice: Camel has by default disabled all producer 
based health-checks. You can turn on producer checks globally by setting 
camel.health.producersEnabled=true.",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": true
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.knowledge-base-id",
+      "type": "java.lang.String",
+      "description": "Define the Knowledge Base Id we are going to use",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.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.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": false
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.model-id",
+      "type": "java.lang.String",
+      "description": "Define the model Id we are going to use",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.operation",
+      "type": 
"org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations",
+      "description": "The operation to perform",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.override-endpoint",
+      "type": "java.lang.Boolean",
+      "description": "Set the need for overriding the endpoint. This option 
needs to be used in combination with the uriEndpointOverride option",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": false
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.pojo-request",
+      "type": "java.lang.Boolean",
+      "description": "If we want to use a POJO request as body or not",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": false
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.profile-credentials-name",
+      "type": "java.lang.String",
+      "description": "If using a profile credentials provider, this parameter 
will set the profile name",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": "false"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.proxy-host",
+      "type": "java.lang.String",
+      "description": "To define a proxy host when instantiating the Bedrock 
Agent client",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.proxy-port",
+      "type": "java.lang.Integer",
+      "description": "To define a proxy port when instantiating the Bedrock 
Agent client",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.proxy-protocol",
+      "type": "software.amazon.awssdk.core.Protocol",
+      "description": "To define a proxy protocol when instantiating the 
Bedrock Agent client",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.region",
+      "type": "java.lang.String",
+      "description": "The region in which Bedrock Agent client needs to work. 
When using this parameter, the configuration will expect the lowercase name of 
the region (for example, ap-east-1) You'll need to use the name 
Region.EU_WEST_1.id()",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.secret-key",
+      "type": "java.lang.String",
+      "description": "Amazon AWS Secret Key",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.session-token",
+      "type": "java.lang.String",
+      "description": "Amazon AWS Session Token used when the user needs to 
assume an IAM role",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.trust-all-certificates",
+      "type": "java.lang.Boolean",
+      "description": "If we want to trust all certificates in case of 
overriding the endpoint",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": false
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.uri-endpoint-override",
+      "type": "java.lang.String",
+      "description": "Set the overriding uri endpoint. This option needs to be 
used in combination with overrideEndpoint option",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration"
+    },
+    {
+      "name": 
"camel.component.aws-bedrock-agent.use-default-credentials-provider",
+      "type": "java.lang.Boolean",
+      "description": "Set whether the Bedrock Agent client should expect to 
load credentials through a default credentials provider or to expect static 
credentials to be passed in.",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": false
+    },
+    {
+      "name": 
"camel.component.aws-bedrock-agent.use-profile-credentials-provider",
+      "type": "java.lang.Boolean",
+      "description": "Set whether the Bedrock Agent client should expect to 
load credentials through a profile credentials provider.",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": false
+    },
+    {
+      "name": "camel.component.aws-bedrock-agent.use-session-credentials",
+      "type": "java.lang.Boolean",
+      "description": "Set whether the Bedrock Agent client should expect to 
use Session Credentials. This is useful in a situation in which the user needs 
to assume an IAM role for doing operations in Bedrock.",
+      "sourceType": 
"org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConfiguration",
+      "defaultValue": false
+    },
     {
       "name": "camel.component.aws-bedrock.access-key",
       "type": "java.lang.String",
diff --git 
a/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentAutoConfiguration.java
 
b/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentAutoConfiguration.java
new file mode 100644
index 00000000000..a02ba538c00
--- /dev/null
+++ 
b/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentAutoConfiguration.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.aws2.bedrock.agent.springboot;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.Component;
+import org.apache.camel.component.aws2.bedrock.agent.BedrockAgentComponent;
+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,BedrockAgentComponentConfiguration.class})
+@ConditionalOnHierarchicalProperties({"camel.component", 
"camel.component.aws-bedrock-agent"})
+@AutoConfigureAfter({CamelAutoConfiguration.class, 
BedrockAgentComponentConverter.class})
+public class BedrockAgentComponentAutoConfiguration {
+
+    @Autowired
+    private ApplicationContext applicationContext;
+    private final CamelContext camelContext;
+    @Autowired
+    private BedrockAgentComponentConfiguration configuration;
+
+    public BedrockAgentComponentAutoConfiguration(
+            org.apache.camel.CamelContext camelContext) {
+        this.camelContext = camelContext;
+    }
+
+    @Lazy
+    @Bean
+    public ComponentCustomizer configureBedrockAgentComponent() {
+        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.aws-bedrock-agent.customizer")
+                    && target instanceof BedrockAgentComponent;
+            }
+        };
+    }
+}
\ No newline at end of file
diff --git 
a/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentConfiguration.java
 
b/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentConfiguration.java
new file mode 100644
index 00000000000..e33d6637a42
--- /dev/null
+++ 
b/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentConfiguration.java
@@ -0,0 +1,374 @@
+/*
+ * 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.aws2.bedrock.agent.springboot;
+
+import org.apache.camel.component.aws2.bedrock.agent.BedrockAgentComponent;
+import org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration;
+import org.apache.camel.component.aws2.bedrock.agent.BedrockAgentOperations;
+import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import software.amazon.awssdk.core.Protocol;
+import software.amazon.awssdk.services.bedrockagent.BedrockAgentClient;
+
+/**
+ * Operate on AWS Bedrock through its Agent.
+ * 
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.aws-bedrock-agent")
+public class BedrockAgentComponentConfiguration
+        extends
+            ComponentConfigurationPropertiesCommon {
+
+    /**
+     * Whether to enable auto configuration of the aws-bedrock-agent component.
+     * This is enabled by default.
+     */
+    private Boolean enabled;
+    /**
+     * Component configuration. The option is a
+     * org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration
+     * type.
+     */
+    private BedrockAgentConfiguration configuration;
+    /**
+     * Define the Data source Id we are going to use
+     */
+    private String dataSourceId;
+    /**
+     * Define the Knowledge Base Id we are going to use
+     */
+    private String knowledgeBaseId;
+    /**
+     * 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 producer may take a little time
+     * and prolong the total processing time of the processing.
+     */
+    private Boolean lazyStartProducer = false;
+    /**
+     * Define the model Id we are going to use
+     */
+    private String modelId;
+    /**
+     * The operation to perform
+     */
+    private BedrockAgentOperations operation;
+    /**
+     * Set the need for overriding the endpoint. This option needs to be used 
in
+     * combination with the uriEndpointOverride option
+     */
+    private Boolean overrideEndpoint = false;
+    /**
+     * If we want to use a POJO request as body or not
+     */
+    private Boolean pojoRequest = false;
+    /**
+     * If using a profile credentials provider, this parameter will set the
+     * profile name
+     */
+    private String profileCredentialsName = "false";
+    /**
+     * The region in which Bedrock Agent client needs to work. When using this
+     * parameter, the configuration will expect the lowercase name of the 
region
+     * (for example, ap-east-1) You'll need to use the name
+     * Region.EU_WEST_1.id()
+     */
+    private String region;
+    /**
+     * Set the overriding uri endpoint. This option needs to be used in
+     * combination with overrideEndpoint option
+     */
+    private String uriEndpointOverride;
+    /**
+     * Set whether the Bedrock Agent client should expect to load credentials
+     * through a default credentials provider or to expect static credentials 
to
+     * be passed in.
+     */
+    private Boolean useDefaultCredentialsProvider = false;
+    /**
+     * Set whether the Bedrock Agent client should expect to load credentials
+     * through a profile credentials provider.
+     */
+    private Boolean useProfileCredentialsProvider = false;
+    /**
+     * 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.
+     */
+    private Boolean autowiredEnabled = true;
+    /**
+     * To use an existing configured AWS Bedrock Agent client. The option is a
+     * software.amazon.awssdk.services.bedrockagent.BedrockAgentClient type.
+     */
+    private BedrockAgentClient bedrockAgentClient;
+    /**
+     * Used for enabling or disabling all consumer based health checks from 
this
+     * component
+     */
+    private Boolean healthCheckConsumerEnabled = true;
+    /**
+     * Used for enabling or disabling all producer based health checks from 
this
+     * component. Notice: Camel has by default disabled all producer based
+     * health-checks. You can turn on producer checks globally by setting
+     * camel.health.producersEnabled=true.
+     */
+    private Boolean healthCheckProducerEnabled = true;
+    /**
+     * To define a proxy host when instantiating the Bedrock Agent client
+     */
+    private String proxyHost;
+    /**
+     * To define a proxy port when instantiating the Bedrock Agent client
+     */
+    private Integer proxyPort;
+    /**
+     * To define a proxy protocol when instantiating the Bedrock Agent client
+     */
+    private Protocol proxyProtocol = Protocol.HTTPS;
+    /**
+     * Amazon AWS Access Key
+     */
+    private String accessKey;
+    /**
+     * Amazon AWS Secret Key
+     */
+    private String secretKey;
+    /**
+     * Amazon AWS Session Token used when the user needs to assume an IAM role
+     */
+    private String sessionToken;
+    /**
+     * If we want to trust all certificates in case of overriding the endpoint
+     */
+    private Boolean trustAllCertificates = false;
+    /**
+     * Set whether the Bedrock Agent client should expect to use Session
+     * Credentials. This is useful in a situation in which the user needs to
+     * assume an IAM role for doing operations in Bedrock.
+     */
+    private Boolean useSessionCredentials = false;
+
+    public BedrockAgentConfiguration getConfiguration() {
+        return configuration;
+    }
+
+    public void setConfiguration(BedrockAgentConfiguration configuration) {
+        this.configuration = configuration;
+    }
+
+    public String getDataSourceId() {
+        return dataSourceId;
+    }
+
+    public void setDataSourceId(String dataSourceId) {
+        this.dataSourceId = dataSourceId;
+    }
+
+    public String getKnowledgeBaseId() {
+        return knowledgeBaseId;
+    }
+
+    public void setKnowledgeBaseId(String knowledgeBaseId) {
+        this.knowledgeBaseId = knowledgeBaseId;
+    }
+
+    public Boolean getLazyStartProducer() {
+        return lazyStartProducer;
+    }
+
+    public void setLazyStartProducer(Boolean lazyStartProducer) {
+        this.lazyStartProducer = lazyStartProducer;
+    }
+
+    public String getModelId() {
+        return modelId;
+    }
+
+    public void setModelId(String modelId) {
+        this.modelId = modelId;
+    }
+
+    public BedrockAgentOperations getOperation() {
+        return operation;
+    }
+
+    public void setOperation(BedrockAgentOperations operation) {
+        this.operation = operation;
+    }
+
+    public Boolean getOverrideEndpoint() {
+        return overrideEndpoint;
+    }
+
+    public void setOverrideEndpoint(Boolean overrideEndpoint) {
+        this.overrideEndpoint = overrideEndpoint;
+    }
+
+    public Boolean getPojoRequest() {
+        return pojoRequest;
+    }
+
+    public void setPojoRequest(Boolean pojoRequest) {
+        this.pojoRequest = pojoRequest;
+    }
+
+    public String getProfileCredentialsName() {
+        return profileCredentialsName;
+    }
+
+    public void setProfileCredentialsName(String profileCredentialsName) {
+        this.profileCredentialsName = profileCredentialsName;
+    }
+
+    public String getRegion() {
+        return region;
+    }
+
+    public void setRegion(String region) {
+        this.region = region;
+    }
+
+    public String getUriEndpointOverride() {
+        return uriEndpointOverride;
+    }
+
+    public void setUriEndpointOverride(String uriEndpointOverride) {
+        this.uriEndpointOverride = uriEndpointOverride;
+    }
+
+    public Boolean getUseDefaultCredentialsProvider() {
+        return useDefaultCredentialsProvider;
+    }
+
+    public void setUseDefaultCredentialsProvider(
+            Boolean useDefaultCredentialsProvider) {
+        this.useDefaultCredentialsProvider = useDefaultCredentialsProvider;
+    }
+
+    public Boolean getUseProfileCredentialsProvider() {
+        return useProfileCredentialsProvider;
+    }
+
+    public void setUseProfileCredentialsProvider(
+            Boolean useProfileCredentialsProvider) {
+        this.useProfileCredentialsProvider = useProfileCredentialsProvider;
+    }
+
+    public Boolean getAutowiredEnabled() {
+        return autowiredEnabled;
+    }
+
+    public void setAutowiredEnabled(Boolean autowiredEnabled) {
+        this.autowiredEnabled = autowiredEnabled;
+    }
+
+    public BedrockAgentClient getBedrockAgentClient() {
+        return bedrockAgentClient;
+    }
+
+    public void setBedrockAgentClient(BedrockAgentClient bedrockAgentClient) {
+        this.bedrockAgentClient = bedrockAgentClient;
+    }
+
+    public Boolean getHealthCheckConsumerEnabled() {
+        return healthCheckConsumerEnabled;
+    }
+
+    public void setHealthCheckConsumerEnabled(Boolean 
healthCheckConsumerEnabled) {
+        this.healthCheckConsumerEnabled = healthCheckConsumerEnabled;
+    }
+
+    public Boolean getHealthCheckProducerEnabled() {
+        return healthCheckProducerEnabled;
+    }
+
+    public void setHealthCheckProducerEnabled(Boolean 
healthCheckProducerEnabled) {
+        this.healthCheckProducerEnabled = healthCheckProducerEnabled;
+    }
+
+    public String getProxyHost() {
+        return proxyHost;
+    }
+
+    public void setProxyHost(String proxyHost) {
+        this.proxyHost = proxyHost;
+    }
+
+    public Integer getProxyPort() {
+        return proxyPort;
+    }
+
+    public void setProxyPort(Integer proxyPort) {
+        this.proxyPort = proxyPort;
+    }
+
+    public Protocol getProxyProtocol() {
+        return proxyProtocol;
+    }
+
+    public void setProxyProtocol(Protocol proxyProtocol) {
+        this.proxyProtocol = proxyProtocol;
+    }
+
+    public String getAccessKey() {
+        return accessKey;
+    }
+
+    public void setAccessKey(String accessKey) {
+        this.accessKey = accessKey;
+    }
+
+    public String getSecretKey() {
+        return secretKey;
+    }
+
+    public void setSecretKey(String secretKey) {
+        this.secretKey = secretKey;
+    }
+
+    public String getSessionToken() {
+        return sessionToken;
+    }
+
+    public void setSessionToken(String sessionToken) {
+        this.sessionToken = sessionToken;
+    }
+
+    public Boolean getTrustAllCertificates() {
+        return trustAllCertificates;
+    }
+
+    public void setTrustAllCertificates(Boolean trustAllCertificates) {
+        this.trustAllCertificates = trustAllCertificates;
+    }
+
+    public Boolean getUseSessionCredentials() {
+        return useSessionCredentials;
+    }
+
+    public void setUseSessionCredentials(Boolean useSessionCredentials) {
+        this.useSessionCredentials = useSessionCredentials;
+    }
+}
\ No newline at end of file
diff --git 
a/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentConverter.java
 
b/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentConverter.java
new file mode 100644
index 00000000000..808488d5dbf
--- /dev/null
+++ 
b/components-starter/camel-aws-bedrock-starter/src/main/java/org/apache/camel/component/aws2/bedrock/agent/springboot/BedrockAgentComponentConverter.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.aws2.bedrock.agent.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 BedrockAgentComponentConverter 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.aws2.bedrock.agent.BedrockAgentConfiguration.class));
+        answer.add(new ConvertiblePair(String.class, 
software.amazon.awssdk.services.bedrockagent.BedrockAgentClient.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.aws2.bedrock.agent.BedrockAgentConfiguration": 
return applicationContext.getBean(ref, 
org.apache.camel.component.aws2.bedrock.agent.BedrockAgentConfiguration.class);
+            case 
"software.amazon.awssdk.services.bedrockagent.BedrockAgentClient": return 
applicationContext.getBean(ref, 
software.amazon.awssdk.services.bedrockagent.BedrockAgentClient.class);
+        }
+        return null;
+    }
+}
\ No newline at end of file
diff --git 
a/components-starter/camel-aws-bedrock-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
 
b/components-starter/camel-aws-bedrock-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
index 952387cc537..fc724d963ad 100644
--- 
a/components-starter/camel-aws-bedrock-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
+++ 
b/components-starter/camel-aws-bedrock-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
@@ -19,3 +19,5 @@ 
org.apache.camel.component.aws2.bedrock.runtime.springboot.BedrockComponentConve
 
org.apache.camel.component.aws2.bedrock.runtime.springboot.BedrockComponentAutoConfiguration
 
org.apache.camel.component.aws2.bedrock.agentruntime.springboot.BedrockAgentRuntimeComponentConverter
 
org.apache.camel.component.aws2.bedrock.agentruntime.springboot.BedrockAgentRuntimeComponentAutoConfiguration
+org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentConverter
+org.apache.camel.component.aws2.bedrock.agent.springboot.BedrockAgentComponentAutoConfiguration

Reply via email to