You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2026/01/28 10:35:35 UTC
(camel) branch main updated: CAMEL-22915 - Camel-AWS-Polly: Expose headers element as endpoint options (#21104)
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.git
The following commit(s) were added to refs/heads/main by this push:
new cfa829e93273 CAMEL-22915 - Camel-AWS-Polly: Expose headers element as endpoint options (#21104)
cfa829e93273 is described below
commit cfa829e93273f2b5452140067e4c86763956bc72
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jan 28 11:35:29 2026 +0100
CAMEL-22915 - Camel-AWS-Polly: Expose headers element as endpoint options (#21104)
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../camel/catalog/components/aws2-polly.json | 108 +++++++------
.../aws2/polly/Polly2ComponentConfigurer.java | 36 +++++
.../aws2/polly/Polly2EndpointConfigurer.java | 36 +++++
.../aws2/polly/Polly2EndpointUriFactory.java | 8 +-
.../camel/component/aws2/polly/aws2-polly.json | 108 +++++++------
.../component/aws2/polly/Polly2Configuration.java | 78 ++++++++++
.../camel/component/aws2/polly/Polly2Producer.java | 168 ++++++++++++---------
.../polly/integration/Polly2ProducerManualIT.java | 11 +-
.../integration/Polly2SpeechToFileManualIT.java | 45 +++---
.../dsl/Aws2PollyComponentBuilderFactory.java | 97 ++++++++++++
.../endpoint/dsl/Polly2EndpointBuilderFactory.java | 85 +++++++++++
11 files changed, 583 insertions(+), 197 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-polly.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-polly.json
index b4e3a41215ec..1be3d3a8c095 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-polly.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-polly.json
@@ -28,31 +28,37 @@
"engine": { "index": 1, "kind": "property", "displayName": "Engine", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.Engine", "enum": [ "standard", "neural", "long-form", "generative", "null" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "The engine to use f [...]
"languageCode": { "index": 2, "kind": "property", "displayName": "Language Code", "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 language code for the synthesis" },
"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 [...]
- "lexiconNames": { "index": 4, "kind": "property", "displayName": "Lexicon Names", "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": "Lexicon names to apply during synthesis" },
- "operation": { "index": 5, "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "enum", "javaType": "org.apache.camel.component.aws2.polly.Polly2Operations", "enum": [ "synthesizeSpeech", "describeVoices", "listLexicons", "getLexicon", "putLexicon", "deleteLexicon", "startSpeechSynthesisTask", "getSpeechSynthesisTask", "listSpeechSynthesisTasks" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, " [...]
- "outputFormat": { "index": 6, "kind": "property", "displayName": "Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum": [ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "MP3", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configurat [...]
- "overrideEndpoint": { "index": 7, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in combinatio [...]
- "pojoRequest": { "index": 8, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
- "region": { "index": 9, "kind": "property", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1", "eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-north [...]
- "sampleRate": { "index": 10, "kind": "property", "displayName": "Sample Rate", "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 sample rate in Hz for the audio output" },
- "textType": { "index": 11, "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": 12, "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": 13, "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": 14, "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": 15, "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": 16, "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": 17, "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": 18, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the Polly client" },
- "proxyPort": { "index": 19, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the Polly client" },
- "proxyProtocol": { "index": 20, "kind": "property", "displayName": "Proxy Protocol", "group": "proxy", "label": "proxy", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol whe [...]
- "accessKey": { "index": 21, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
- "profileCredentialsName": { "index": 22, "kind": "property", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "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": "If using a profile credentials provider, this parameter will set the profile [...]
- "secretKey": { "index": 23, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "sessionToken": { "index": 24, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume an IAM role" },
- "trustAllCertificates": { "index": 25, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the end [...]
- "useDefaultCredentialsProvider": { "index": 26, "kind": "property", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to l [...]
- "useProfileCredentialsProvider": { "index": 27, "kind": "property", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to l [...]
- "useSessionCredentials": { "index": 28, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to use Session Creden [...]
+ "lexiconContent": { "index": 4, "kind": "property", "displayName": "Lexicon Content", "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 content of the lexicon in PLS format for putLexicon operation" },
+ "lexiconName": { "index": 5, "kind": "property", "displayName": "Lexicon Name", "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 name of the lexicon to use for getLexicon, putLexicon, or deleteLexicon operations" },
+ "lexiconNames": { "index": 6, "kind": "property", "displayName": "Lexicon Names", "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": "Lexicon names to apply during synthesis" },
+ "operation": { "index": 7, "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "enum", "javaType": "org.apache.camel.component.aws2.polly.Polly2Operations", "enum": [ "synthesizeSpeech", "describeVoices", "listLexicons", "getLexicon", "putLexicon", "deleteLexicon", "startSpeechSynthesisTask", "getSpeechSynthesisTask", "listSpeechSynthesisTasks" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, " [...]
+ "outputFormat": { "index": 8, "kind": "property", "displayName": "Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum": [ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "MP3", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configurat [...]
+ "overrideEndpoint": { "index": 9, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in combinatio [...]
+ "pojoRequest": { "index": 10, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
+ "region": { "index": 11, "kind": "property", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1", "eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nort [...]
+ "s3Bucket": { "index": 12, "kind": "property", "displayName": "S3 Bucket", "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 S3 bucket name for startSpeechSynthesisTask operation output" },
+ "s3KeyPrefix": { "index": 13, "kind": "property", "displayName": "S3 Key Prefix", "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 S3 key prefix for startSpeechSynthesisTask operation output" },
+ "sampleRate": { "index": 14, "kind": "property", "displayName": "Sample Rate", "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 sample rate in Hz for the audio output" },
+ "snsTopicArn": { "index": 15, "kind": "property", "displayName": "Sns Topic Arn", "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 SNS topic ARN for startSpeechSynthesisTask notifications" },
+ "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 [...]
+ "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" },
+ "healthCheckProducerEnabled": { "index": 23, "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": 24, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the Polly client" },
+ "proxyPort": { "index": 25, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the Polly client" },
+ "proxyProtocol": { "index": 26, "kind": "property", "displayName": "Proxy Protocol", "group": "proxy", "label": "proxy", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol whe [...]
+ "accessKey": { "index": 27, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
+ "profileCredentialsName": { "index": 28, "kind": "property", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "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": "If using a profile credentials provider, this parameter will set the profile [...]
+ "secretKey": { "index": 29, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+ "sessionToken": { "index": 30, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume an IAM role" },
+ "trustAllCertificates": { "index": 31, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the end [...]
+ "useDefaultCredentialsProvider": { "index": 32, "kind": "property", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to l [...]
+ "useProfileCredentialsProvider": { "index": 33, "kind": "property", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to l [...]
+ "useSessionCredentials": { "index": 34, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to use Session Creden [...]
},
"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" },
@@ -76,28 +82,34 @@
"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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Logical name" },
"engine": { "index": 1, "kind": "parameter", "displayName": "Engine", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.Engine", "enum": [ "standard", "neural", "long-form", "generative", "null" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "The engine to use [...]
"languageCode": { "index": 2, "kind": "parameter", "displayName": "Language Code", "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 language code for the synthesis" },
- "lexiconNames": { "index": 3, "kind": "parameter", "displayName": "Lexicon Names", "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": "Lexicon names to apply during synthesis" },
- "operation": { "index": 4, "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "enum", "javaType": "org.apache.camel.component.aws2.polly.Polly2Operations", "enum": [ "synthesizeSpeech", "describeVoices", "listLexicons", "getLexicon", "putLexicon", "deleteLexicon", "startSpeechSynthesisTask", "getSpeechSynthesisTask", "listSpeechSynthesisTasks" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, [...]
- "outputFormat": { "index": 5, "kind": "parameter", "displayName": "Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum": [ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "MP3", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configura [...]
- "overrideEndpoint": { "index": 6, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in combinati [...]
- "pojoRequest": { "index": 7, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
- "region": { "index": 8, "kind": "parameter", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1", "eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nort [...]
- "sampleRate": { "index": 9, "kind": "parameter", "displayName": "Sample Rate", "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 sample rate in Hz for the audio output" },
- "textType": { "index": 10, "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": 11, "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": 12, "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": 13, "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": 14, "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": 15, "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" },
- "proxyPort": { "index": 16, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the Polly client" },
- "proxyProtocol": { "index": 17, "kind": "parameter", "displayName": "Proxy Protocol", "group": "proxy", "label": "proxy", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol wh [...]
- "accessKey": { "index": 18, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
- "profileCredentialsName": { "index": 19, "kind": "parameter", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "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": "If using a profile credentials provider, this parameter will set the profile [...]
- "secretKey": { "index": 20, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "sessionToken": { "index": 21, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume an IAM role" },
- "trustAllCertificates": { "index": 22, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the en [...]
- "useDefaultCredentialsProvider": { "index": 23, "kind": "parameter", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to [...]
- "useProfileCredentialsProvider": { "index": 24, "kind": "parameter", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to [...]
- "useSessionCredentials": { "index": 25, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to use Session Crede [...]
+ "lexiconContent": { "index": 3, "kind": "parameter", "displayName": "Lexicon Content", "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 content of the lexicon in PLS format for putLexicon operation" },
+ "lexiconName": { "index": 4, "kind": "parameter", "displayName": "Lexicon Name", "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 name of the lexicon to use for getLexicon, putLexicon, or deleteLexicon operations" },
+ "lexiconNames": { "index": 5, "kind": "parameter", "displayName": "Lexicon Names", "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": "Lexicon names to apply during synthesis" },
+ "operation": { "index": 6, "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "enum", "javaType": "org.apache.camel.component.aws2.polly.Polly2Operations", "enum": [ "synthesizeSpeech", "describeVoices", "listLexicons", "getLexicon", "putLexicon", "deleteLexicon", "startSpeechSynthesisTask", "getSpeechSynthesisTask", "listSpeechSynthesisTasks" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, [...]
+ "outputFormat": { "index": 7, "kind": "parameter", "displayName": "Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum": [ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "MP3", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configura [...]
+ "overrideEndpoint": { "index": 8, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in combinati [...]
+ "pojoRequest": { "index": 9, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
+ "region": { "index": 10, "kind": "parameter", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1", "eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nor [...]
+ "s3Bucket": { "index": 11, "kind": "parameter", "displayName": "S3 Bucket", "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 S3 bucket name for startSpeechSynthesisTask operation output" },
+ "s3KeyPrefix": { "index": 12, "kind": "parameter", "displayName": "S3 Key Prefix", "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 S3 key prefix for startSpeechSynthesisTask operation output" },
+ "sampleRate": { "index": 13, "kind": "parameter", "displayName": "Sample Rate", "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 sample rate in Hz for the audio output" },
+ "snsTopicArn": { "index": 14, "kind": "parameter", "displayName": "Sns Topic Arn", "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 SNS topic ARN for startSpeechSynthesisTask notifications" },
+ "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 [...]
+ "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" },
+ "proxyPort": { "index": 22, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the Polly client" },
+ "proxyProtocol": { "index": 23, "kind": "parameter", "displayName": "Proxy Protocol", "group": "proxy", "label": "proxy", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol wh [...]
+ "accessKey": { "index": 24, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
+ "profileCredentialsName": { "index": 25, "kind": "parameter", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "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": "If using a profile credentials provider, this parameter will set the profile [...]
+ "secretKey": { "index": 26, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+ "sessionToken": { "index": 27, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume an IAM role" },
+ "trustAllCertificates": { "index": 28, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the en [...]
+ "useDefaultCredentialsProvider": { "index": 29, "kind": "parameter", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to [...]
+ "useProfileCredentialsProvider": { "index": 30, "kind": "parameter", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to [...]
+ "useSessionCredentials": { "index": 31, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to use Session Crede [...]
}
}
diff --git a/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2ComponentConfigurer.java b/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2ComponentConfigurer.java
index e6e5c007b225..a565416d93a3 100644
--- a/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2ComponentConfigurer.java
+++ b/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2ComponentConfigurer.java
@@ -44,6 +44,10 @@ public class Polly2ComponentConfigurer extends PropertyConfigurerSupport impleme
case "languageCode": getOrCreateConfiguration(target).setLanguageCode(property(camelContext, java.lang.String.class, value)); return true;
case "lazystartproducer":
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "lexiconcontent":
+ case "lexiconContent": getOrCreateConfiguration(target).setLexiconContent(property(camelContext, java.lang.String.class, value)); return true;
+ case "lexiconname":
+ case "lexiconName": getOrCreateConfiguration(target).setLexiconName(property(camelContext, java.lang.String.class, value)); return true;
case "lexiconnames":
case "lexiconNames": getOrCreateConfiguration(target).setLexiconNames(property(camelContext, java.lang.String.class, value)); return true;
case "operation": getOrCreateConfiguration(target).setOperation(property(camelContext, org.apache.camel.component.aws2.polly.Polly2Operations.class, value)); return true;
@@ -64,12 +68,20 @@ public class Polly2ComponentConfigurer extends PropertyConfigurerSupport impleme
case "proxyprotocol":
case "proxyProtocol": getOrCreateConfiguration(target).setProxyProtocol(property(camelContext, software.amazon.awssdk.core.Protocol.class, value)); return true;
case "region": getOrCreateConfiguration(target).setRegion(property(camelContext, java.lang.String.class, value)); return true;
+ case "s3bucket":
+ case "s3Bucket": getOrCreateConfiguration(target).setS3Bucket(property(camelContext, java.lang.String.class, value)); return true;
+ case "s3keyprefix":
+ case "s3KeyPrefix": getOrCreateConfiguration(target).setS3KeyPrefix(property(camelContext, java.lang.String.class, value)); return true;
case "samplerate":
case "sampleRate": getOrCreateConfiguration(target).setSampleRate(property(camelContext, java.lang.String.class, value)); return true;
case "secretkey":
case "secretKey": getOrCreateConfiguration(target).setSecretKey(property(camelContext, java.lang.String.class, value)); return true;
case "sessiontoken":
case "sessionToken": getOrCreateConfiguration(target).setSessionToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "snstopicarn":
+ case "snsTopicArn": getOrCreateConfiguration(target).setSnsTopicArn(property(camelContext, java.lang.String.class, value)); return true;
+ case "taskid":
+ case "taskId": getOrCreateConfiguration(target).setTaskId(property(camelContext, java.lang.String.class, value)); return true;
case "texttype":
case "textType": getOrCreateConfiguration(target).setTextType(property(camelContext, software.amazon.awssdk.services.polly.model.TextType.class, value)); return true;
case "trustallcertificates":
@@ -110,6 +122,10 @@ public class Polly2ComponentConfigurer extends PropertyConfigurerSupport impleme
case "languageCode": return java.lang.String.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
+ case "lexiconcontent":
+ case "lexiconContent": return java.lang.String.class;
+ case "lexiconname":
+ case "lexiconName": return java.lang.String.class;
case "lexiconnames":
case "lexiconNames": return java.lang.String.class;
case "operation": return org.apache.camel.component.aws2.polly.Polly2Operations.class;
@@ -130,12 +146,20 @@ public class Polly2ComponentConfigurer extends PropertyConfigurerSupport impleme
case "proxyprotocol":
case "proxyProtocol": return software.amazon.awssdk.core.Protocol.class;
case "region": return java.lang.String.class;
+ case "s3bucket":
+ case "s3Bucket": return java.lang.String.class;
+ case "s3keyprefix":
+ case "s3KeyPrefix": return java.lang.String.class;
case "samplerate":
case "sampleRate": return java.lang.String.class;
case "secretkey":
case "secretKey": return java.lang.String.class;
case "sessiontoken":
case "sessionToken": return java.lang.String.class;
+ case "snstopicarn":
+ case "snsTopicArn": return java.lang.String.class;
+ case "taskid":
+ case "taskId": return java.lang.String.class;
case "texttype":
case "textType": return software.amazon.awssdk.services.polly.model.TextType.class;
case "trustallcertificates":
@@ -172,6 +196,10 @@ public class Polly2ComponentConfigurer extends PropertyConfigurerSupport impleme
case "languageCode": return getOrCreateConfiguration(target).getLanguageCode();
case "lazystartproducer":
case "lazyStartProducer": return target.isLazyStartProducer();
+ case "lexiconcontent":
+ case "lexiconContent": return getOrCreateConfiguration(target).getLexiconContent();
+ case "lexiconname":
+ case "lexiconName": return getOrCreateConfiguration(target).getLexiconName();
case "lexiconnames":
case "lexiconNames": return getOrCreateConfiguration(target).getLexiconNames();
case "operation": return getOrCreateConfiguration(target).getOperation();
@@ -192,12 +220,20 @@ public class Polly2ComponentConfigurer extends PropertyConfigurerSupport impleme
case "proxyprotocol":
case "proxyProtocol": return getOrCreateConfiguration(target).getProxyProtocol();
case "region": return getOrCreateConfiguration(target).getRegion();
+ case "s3bucket":
+ case "s3Bucket": return getOrCreateConfiguration(target).getS3Bucket();
+ case "s3keyprefix":
+ case "s3KeyPrefix": return getOrCreateConfiguration(target).getS3KeyPrefix();
case "samplerate":
case "sampleRate": return getOrCreateConfiguration(target).getSampleRate();
case "secretkey":
case "secretKey": return getOrCreateConfiguration(target).getSecretKey();
case "sessiontoken":
case "sessionToken": return getOrCreateConfiguration(target).getSessionToken();
+ case "snstopicarn":
+ case "snsTopicArn": return getOrCreateConfiguration(target).getSnsTopicArn();
+ case "taskid":
+ case "taskId": return getOrCreateConfiguration(target).getTaskId();
case "texttype":
case "textType": return getOrCreateConfiguration(target).getTextType();
case "trustallcertificates":
diff --git a/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2EndpointConfigurer.java b/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2EndpointConfigurer.java
index 2612e0e6ba74..a20d6da3725a 100644
--- a/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2EndpointConfigurer.java
+++ b/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2EndpointConfigurer.java
@@ -30,6 +30,10 @@ public class Polly2EndpointConfigurer extends PropertyConfigurerSupport implemen
case "languageCode": target.getConfiguration().setLanguageCode(property(camelContext, java.lang.String.class, value)); return true;
case "lazystartproducer":
case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true;
+ case "lexiconcontent":
+ case "lexiconContent": target.getConfiguration().setLexiconContent(property(camelContext, java.lang.String.class, value)); return true;
+ case "lexiconname":
+ case "lexiconName": target.getConfiguration().setLexiconName(property(camelContext, java.lang.String.class, value)); return true;
case "lexiconnames":
case "lexiconNames": target.getConfiguration().setLexiconNames(property(camelContext, java.lang.String.class, value)); return true;
case "operation": target.getConfiguration().setOperation(property(camelContext, org.apache.camel.component.aws2.polly.Polly2Operations.class, value)); return true;
@@ -50,12 +54,20 @@ public class Polly2EndpointConfigurer extends PropertyConfigurerSupport implemen
case "proxyprotocol":
case "proxyProtocol": target.getConfiguration().setProxyProtocol(property(camelContext, software.amazon.awssdk.core.Protocol.class, value)); return true;
case "region": target.getConfiguration().setRegion(property(camelContext, java.lang.String.class, value)); return true;
+ case "s3bucket":
+ case "s3Bucket": target.getConfiguration().setS3Bucket(property(camelContext, java.lang.String.class, value)); return true;
+ case "s3keyprefix":
+ case "s3KeyPrefix": target.getConfiguration().setS3KeyPrefix(property(camelContext, java.lang.String.class, value)); return true;
case "samplerate":
case "sampleRate": target.getConfiguration().setSampleRate(property(camelContext, java.lang.String.class, value)); return true;
case "secretkey":
case "secretKey": target.getConfiguration().setSecretKey(property(camelContext, java.lang.String.class, value)); return true;
case "sessiontoken":
case "sessionToken": target.getConfiguration().setSessionToken(property(camelContext, java.lang.String.class, value)); return true;
+ case "snstopicarn":
+ case "snsTopicArn": target.getConfiguration().setSnsTopicArn(property(camelContext, java.lang.String.class, value)); return true;
+ case "taskid":
+ case "taskId": target.getConfiguration().setTaskId(property(camelContext, java.lang.String.class, value)); return true;
case "texttype":
case "textType": target.getConfiguration().setTextType(property(camelContext, software.amazon.awssdk.services.polly.model.TextType.class, value)); return true;
case "trustallcertificates":
@@ -89,6 +101,10 @@ public class Polly2EndpointConfigurer extends PropertyConfigurerSupport implemen
case "languageCode": return java.lang.String.class;
case "lazystartproducer":
case "lazyStartProducer": return boolean.class;
+ case "lexiconcontent":
+ case "lexiconContent": return java.lang.String.class;
+ case "lexiconname":
+ case "lexiconName": return java.lang.String.class;
case "lexiconnames":
case "lexiconNames": return java.lang.String.class;
case "operation": return org.apache.camel.component.aws2.polly.Polly2Operations.class;
@@ -109,12 +125,20 @@ public class Polly2EndpointConfigurer extends PropertyConfigurerSupport implemen
case "proxyprotocol":
case "proxyProtocol": return software.amazon.awssdk.core.Protocol.class;
case "region": return java.lang.String.class;
+ case "s3bucket":
+ case "s3Bucket": return java.lang.String.class;
+ case "s3keyprefix":
+ case "s3KeyPrefix": return java.lang.String.class;
case "samplerate":
case "sampleRate": return java.lang.String.class;
case "secretkey":
case "secretKey": return java.lang.String.class;
case "sessiontoken":
case "sessionToken": return java.lang.String.class;
+ case "snstopicarn":
+ case "snsTopicArn": return java.lang.String.class;
+ case "taskid":
+ case "taskId": return java.lang.String.class;
case "texttype":
case "textType": return software.amazon.awssdk.services.polly.model.TextType.class;
case "trustallcertificates":
@@ -144,6 +168,10 @@ public class Polly2EndpointConfigurer extends PropertyConfigurerSupport implemen
case "languageCode": return target.getConfiguration().getLanguageCode();
case "lazystartproducer":
case "lazyStartProducer": return target.isLazyStartProducer();
+ case "lexiconcontent":
+ case "lexiconContent": return target.getConfiguration().getLexiconContent();
+ case "lexiconname":
+ case "lexiconName": return target.getConfiguration().getLexiconName();
case "lexiconnames":
case "lexiconNames": return target.getConfiguration().getLexiconNames();
case "operation": return target.getConfiguration().getOperation();
@@ -164,12 +192,20 @@ public class Polly2EndpointConfigurer extends PropertyConfigurerSupport implemen
case "proxyprotocol":
case "proxyProtocol": return target.getConfiguration().getProxyProtocol();
case "region": return target.getConfiguration().getRegion();
+ case "s3bucket":
+ case "s3Bucket": return target.getConfiguration().getS3Bucket();
+ case "s3keyprefix":
+ case "s3KeyPrefix": return target.getConfiguration().getS3KeyPrefix();
case "samplerate":
case "sampleRate": return target.getConfiguration().getSampleRate();
case "secretkey":
case "secretKey": return target.getConfiguration().getSecretKey();
case "sessiontoken":
case "sessionToken": return target.getConfiguration().getSessionToken();
+ case "snstopicarn":
+ case "snsTopicArn": return target.getConfiguration().getSnsTopicArn();
+ case "taskid":
+ case "taskId": return target.getConfiguration().getTaskId();
case "texttype":
case "textType": return target.getConfiguration().getTextType();
case "trustallcertificates":
diff --git a/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2EndpointUriFactory.java b/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2EndpointUriFactory.java
index 5e29378eb593..0e169f239632 100644
--- a/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2EndpointUriFactory.java
+++ b/components/camel-aws/camel-aws2-polly/src/generated/java/org/apache/camel/component/aws2/polly/Polly2EndpointUriFactory.java
@@ -23,12 +23,14 @@ public class Polly2EndpointUriFactory extends org.apache.camel.support.component
private static final Set<String> SECRET_PROPERTY_NAMES;
private static final Map<String, String> MULTI_VALUE_PREFIXES;
static {
- Set<String> props = new HashSet<>(26);
+ Set<String> props = new HashSet<>(32);
props.add("accessKey");
props.add("engine");
props.add("label");
props.add("languageCode");
props.add("lazyStartProducer");
+ props.add("lexiconContent");
+ props.add("lexiconName");
props.add("lexiconNames");
props.add("operation");
props.add("outputFormat");
@@ -40,9 +42,13 @@ public class Polly2EndpointUriFactory extends org.apache.camel.support.component
props.add("proxyPort");
props.add("proxyProtocol");
props.add("region");
+ props.add("s3Bucket");
+ props.add("s3KeyPrefix");
props.add("sampleRate");
props.add("secretKey");
props.add("sessionToken");
+ props.add("snsTopicArn");
+ props.add("taskId");
props.add("textType");
props.add("trustAllCertificates");
props.add("uriEndpointOverride");
diff --git a/components/camel-aws/camel-aws2-polly/src/generated/resources/META-INF/org/apache/camel/component/aws2/polly/aws2-polly.json b/components/camel-aws/camel-aws2-polly/src/generated/resources/META-INF/org/apache/camel/component/aws2/polly/aws2-polly.json
index b4e3a41215ec..1be3d3a8c095 100644
--- a/components/camel-aws/camel-aws2-polly/src/generated/resources/META-INF/org/apache/camel/component/aws2/polly/aws2-polly.json
+++ b/components/camel-aws/camel-aws2-polly/src/generated/resources/META-INF/org/apache/camel/component/aws2/polly/aws2-polly.json
@@ -28,31 +28,37 @@
"engine": { "index": 1, "kind": "property", "displayName": "Engine", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.Engine", "enum": [ "standard", "neural", "long-form", "generative", "null" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "The engine to use f [...]
"languageCode": { "index": 2, "kind": "property", "displayName": "Language Code", "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 language code for the synthesis" },
"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 [...]
- "lexiconNames": { "index": 4, "kind": "property", "displayName": "Lexicon Names", "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": "Lexicon names to apply during synthesis" },
- "operation": { "index": 5, "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "enum", "javaType": "org.apache.camel.component.aws2.polly.Polly2Operations", "enum": [ "synthesizeSpeech", "describeVoices", "listLexicons", "getLexicon", "putLexicon", "deleteLexicon", "startSpeechSynthesisTask", "getSpeechSynthesisTask", "listSpeechSynthesisTasks" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, " [...]
- "outputFormat": { "index": 6, "kind": "property", "displayName": "Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum": [ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "MP3", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configurat [...]
- "overrideEndpoint": { "index": 7, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in combinatio [...]
- "pojoRequest": { "index": 8, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
- "region": { "index": 9, "kind": "property", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1", "eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-north [...]
- "sampleRate": { "index": 10, "kind": "property", "displayName": "Sample Rate", "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 sample rate in Hz for the audio output" },
- "textType": { "index": 11, "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": 12, "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": 13, "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": 14, "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": 15, "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": 16, "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": 17, "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": 18, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the Polly client" },
- "proxyPort": { "index": 19, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the Polly client" },
- "proxyProtocol": { "index": 20, "kind": "property", "displayName": "Proxy Protocol", "group": "proxy", "label": "proxy", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol whe [...]
- "accessKey": { "index": 21, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
- "profileCredentialsName": { "index": 22, "kind": "property", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "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": "If using a profile credentials provider, this parameter will set the profile [...]
- "secretKey": { "index": 23, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "sessionToken": { "index": 24, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume an IAM role" },
- "trustAllCertificates": { "index": 25, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the end [...]
- "useDefaultCredentialsProvider": { "index": 26, "kind": "property", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to l [...]
- "useProfileCredentialsProvider": { "index": 27, "kind": "property", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to l [...]
- "useSessionCredentials": { "index": 28, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to use Session Creden [...]
+ "lexiconContent": { "index": 4, "kind": "property", "displayName": "Lexicon Content", "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 content of the lexicon in PLS format for putLexicon operation" },
+ "lexiconName": { "index": 5, "kind": "property", "displayName": "Lexicon Name", "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 name of the lexicon to use for getLexicon, putLexicon, or deleteLexicon operations" },
+ "lexiconNames": { "index": 6, "kind": "property", "displayName": "Lexicon Names", "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": "Lexicon names to apply during synthesis" },
+ "operation": { "index": 7, "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "enum", "javaType": "org.apache.camel.component.aws2.polly.Polly2Operations", "enum": [ "synthesizeSpeech", "describeVoices", "listLexicons", "getLexicon", "putLexicon", "deleteLexicon", "startSpeechSynthesisTask", "getSpeechSynthesisTask", "listSpeechSynthesisTasks" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, " [...]
+ "outputFormat": { "index": 8, "kind": "property", "displayName": "Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum": [ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "MP3", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configurat [...]
+ "overrideEndpoint": { "index": 9, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in combinatio [...]
+ "pojoRequest": { "index": 10, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
+ "region": { "index": 11, "kind": "property", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1", "eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nort [...]
+ "s3Bucket": { "index": 12, "kind": "property", "displayName": "S3 Bucket", "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 S3 bucket name for startSpeechSynthesisTask operation output" },
+ "s3KeyPrefix": { "index": 13, "kind": "property", "displayName": "S3 Key Prefix", "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 S3 key prefix for startSpeechSynthesisTask operation output" },
+ "sampleRate": { "index": 14, "kind": "property", "displayName": "Sample Rate", "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 sample rate in Hz for the audio output" },
+ "snsTopicArn": { "index": 15, "kind": "property", "displayName": "Sns Topic Arn", "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 SNS topic ARN for startSpeechSynthesisTask notifications" },
+ "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 [...]
+ "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" },
+ "healthCheckProducerEnabled": { "index": 23, "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": 24, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the Polly client" },
+ "proxyPort": { "index": 25, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the Polly client" },
+ "proxyProtocol": { "index": 26, "kind": "property", "displayName": "Proxy Protocol", "group": "proxy", "label": "proxy", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol whe [...]
+ "accessKey": { "index": 27, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
+ "profileCredentialsName": { "index": 28, "kind": "property", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "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": "If using a profile credentials provider, this parameter will set the profile [...]
+ "secretKey": { "index": 29, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+ "sessionToken": { "index": 30, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume an IAM role" },
+ "trustAllCertificates": { "index": 31, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the end [...]
+ "useDefaultCredentialsProvider": { "index": 32, "kind": "property", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to l [...]
+ "useProfileCredentialsProvider": { "index": 33, "kind": "property", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to l [...]
+ "useSessionCredentials": { "index": 34, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to use Session Creden [...]
},
"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" },
@@ -76,28 +82,34 @@
"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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Logical name" },
"engine": { "index": 1, "kind": "parameter", "displayName": "Engine", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.Engine", "enum": [ "standard", "neural", "long-form", "generative", "null" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "The engine to use [...]
"languageCode": { "index": 2, "kind": "parameter", "displayName": "Language Code", "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 language code for the synthesis" },
- "lexiconNames": { "index": 3, "kind": "parameter", "displayName": "Lexicon Names", "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": "Lexicon names to apply during synthesis" },
- "operation": { "index": 4, "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "enum", "javaType": "org.apache.camel.component.aws2.polly.Polly2Operations", "enum": [ "synthesizeSpeech", "describeVoices", "listLexicons", "getLexicon", "putLexicon", "deleteLexicon", "startSpeechSynthesisTask", "getSpeechSynthesisTask", "listSpeechSynthesisTasks" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, [...]
- "outputFormat": { "index": 5, "kind": "parameter", "displayName": "Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum": [ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "MP3", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configura [...]
- "overrideEndpoint": { "index": 6, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in combinati [...]
- "pojoRequest": { "index": 7, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
- "region": { "index": 8, "kind": "parameter", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1", "eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nort [...]
- "sampleRate": { "index": 9, "kind": "parameter", "displayName": "Sample Rate", "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 sample rate in Hz for the audio output" },
- "textType": { "index": 10, "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": 11, "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": 12, "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": 13, "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": 14, "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": 15, "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" },
- "proxyPort": { "index": 16, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the Polly client" },
- "proxyProtocol": { "index": 17, "kind": "parameter", "displayName": "Proxy Protocol", "group": "proxy", "label": "proxy", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol wh [...]
- "accessKey": { "index": 18, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
- "profileCredentialsName": { "index": 19, "kind": "parameter", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "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": "If using a profile credentials provider, this parameter will set the profile [...]
- "secretKey": { "index": 20, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" },
- "sessionToken": { "index": 21, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume an IAM role" },
- "trustAllCertificates": { "index": 22, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the en [...]
- "useDefaultCredentialsProvider": { "index": 23, "kind": "parameter", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to [...]
- "useProfileCredentialsProvider": { "index": 24, "kind": "parameter", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to [...]
- "useSessionCredentials": { "index": 25, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to use Session Crede [...]
+ "lexiconContent": { "index": 3, "kind": "parameter", "displayName": "Lexicon Content", "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 content of the lexicon in PLS format for putLexicon operation" },
+ "lexiconName": { "index": 4, "kind": "parameter", "displayName": "Lexicon Name", "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 name of the lexicon to use for getLexicon, putLexicon, or deleteLexicon operations" },
+ "lexiconNames": { "index": 5, "kind": "parameter", "displayName": "Lexicon Names", "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": "Lexicon names to apply during synthesis" },
+ "operation": { "index": 6, "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "enum", "javaType": "org.apache.camel.component.aws2.polly.Polly2Operations", "enum": [ "synthesizeSpeech", "describeVoices", "listLexicons", "getLexicon", "putLexicon", "deleteLexicon", "startSpeechSynthesisTask", "getSpeechSynthesisTask", "listSpeechSynthesisTasks" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, [...]
+ "outputFormat": { "index": 7, "kind": "parameter", "displayName": "Output Format", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.services.polly.model.OutputFormat", "enum": [ "json", "mp3", "ogg_opus", "ogg_vorbis", "pcm", "null" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "MP3", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configura [...]
+ "overrideEndpoint": { "index": 8, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in combinati [...]
+ "pojoRequest": { "index": 9, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" },
+ "region": { "index": 10, "kind": "parameter", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "ap-south-2", "ap-south-1", "eu-south-1", "eu-south-2", "us-gov-east-1", "me-central-1", "il-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "eu-central-2", "eu-isoe-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-nor [...]
+ "s3Bucket": { "index": 11, "kind": "parameter", "displayName": "S3 Bucket", "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 S3 bucket name for startSpeechSynthesisTask operation output" },
+ "s3KeyPrefix": { "index": 12, "kind": "parameter", "displayName": "S3 Key Prefix", "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 S3 key prefix for startSpeechSynthesisTask operation output" },
+ "sampleRate": { "index": 13, "kind": "parameter", "displayName": "Sample Rate", "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 sample rate in Hz for the audio output" },
+ "snsTopicArn": { "index": 14, "kind": "parameter", "displayName": "Sns Topic Arn", "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 SNS topic ARN for startSpeechSynthesisTask notifications" },
+ "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 [...]
+ "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" },
+ "proxyPort": { "index": 22, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the Polly client" },
+ "proxyProtocol": { "index": 23, "kind": "parameter", "displayName": "Proxy Protocol", "group": "proxy", "label": "proxy", "required": false, "type": "enum", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol wh [...]
+ "accessKey": { "index": 24, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" },
+ "profileCredentialsName": { "index": 25, "kind": "parameter", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "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": "If using a profile credentials provider, this parameter will set the profile [...]
+ "secretKey": { "index": 26, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" },
+ "sessionToken": { "index": 27, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume an IAM role" },
+ "trustAllCertificates": { "index": 28, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the en [...]
+ "useDefaultCredentialsProvider": { "index": 29, "kind": "parameter", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to [...]
+ "useProfileCredentialsProvider": { "index": 30, "kind": "parameter", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to [...]
+ "useSessionCredentials": { "index": 31, "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.polly.Polly2Configuration", "configurationField": "configuration", "description": "Set whether the Polly client should expect to use Session Crede [...]
}
}
diff --git a/components/camel-aws/camel-aws2-polly/src/main/java/org/apache/camel/component/aws2/polly/Polly2Configuration.java b/components/camel-aws/camel-aws2-polly/src/main/java/org/apache/camel/component/aws2/polly/Polly2Configuration.java
index 4fe33b7cc4cd..7b4252ba50d9 100644
--- a/components/camel-aws/camel-aws2-polly/src/main/java/org/apache/camel/component/aws2/polly/Polly2Configuration.java
+++ b/components/camel-aws/camel-aws2-polly/src/main/java/org/apache/camel/component/aws2/polly/Polly2Configuration.java
@@ -69,6 +69,18 @@ public class Polly2Configuration implements Cloneable, AwsCommonConfiguration {
private String languageCode;
@UriParam(description = "Lexicon names to apply during synthesis")
private String lexiconNames;
+ @UriParam(description = "The name of the lexicon to use for getLexicon, putLexicon, or deleteLexicon operations")
+ private String lexiconName;
+ @UriParam(description = "The content of the lexicon in PLS format for putLexicon operation")
+ private String lexiconContent;
+ @UriParam(description = "The task ID for getSpeechSynthesisTask operation")
+ private String taskId;
+ @UriParam(description = "The S3 bucket name for startSpeechSynthesisTask operation output")
+ private String s3Bucket;
+ @UriParam(description = "The S3 key prefix for startSpeechSynthesisTask operation output")
+ private String s3KeyPrefix;
+ @UriParam(description = "The SNS topic ARN for startSpeechSynthesisTask notifications")
+ private String snsTopicArn;
@UriParam
private boolean pojoRequest;
@UriParam(label = "security")
@@ -264,6 +276,72 @@ public class Polly2Configuration implements Cloneable, AwsCommonConfiguration {
this.lexiconNames = lexiconNames;
}
+ public String getLexiconName() {
+ return lexiconName;
+ }
+
+ /**
+ * The name of the lexicon to use for getLexicon, putLexicon, or deleteLexicon operations
+ */
+ public void setLexiconName(String lexiconName) {
+ this.lexiconName = lexiconName;
+ }
+
+ public String getLexiconContent() {
+ return lexiconContent;
+ }
+
+ /**
+ * The content of the lexicon in PLS format for putLexicon operation
+ */
+ public void setLexiconContent(String lexiconContent) {
+ this.lexiconContent = lexiconContent;
+ }
+
+ public String getTaskId() {
+ return taskId;
+ }
+
+ /**
+ * The task ID for getSpeechSynthesisTask operation
+ */
+ public void setTaskId(String taskId) {
+ this.taskId = taskId;
+ }
+
+ public String getS3Bucket() {
+ return s3Bucket;
+ }
+
+ /**
+ * The S3 bucket name for startSpeechSynthesisTask operation output
+ */
+ public void setS3Bucket(String s3Bucket) {
+ this.s3Bucket = s3Bucket;
+ }
+
+ public String getS3KeyPrefix() {
+ return s3KeyPrefix;
+ }
+
+ /**
+ * The S3 key prefix for startSpeechSynthesisTask operation output
+ */
+ public void setS3KeyPrefix(String s3KeyPrefix) {
+ this.s3KeyPrefix = s3KeyPrefix;
+ }
+
+ public String getSnsTopicArn() {
+ return snsTopicArn;
+ }
+
+ /**
+ * The SNS topic ARN for startSpeechSynthesisTask notifications
+ */
+ public void setSnsTopicArn(String snsTopicArn) {
+ this.snsTopicArn = snsTopicArn;
+ }
+
public boolean isPojoRequest() {
return pojoRequest;
}
diff --git a/components/camel-aws/camel-aws2-polly/src/main/java/org/apache/camel/component/aws2/polly/Polly2Producer.java b/components/camel-aws/camel-aws2-polly/src/main/java/org/apache/camel/component/aws2/polly/Polly2Producer.java
index bdbd4a80e96b..86261b8794e8 100644
--- a/components/camel-aws/camel-aws2-polly/src/main/java/org/apache/camel/component/aws2/polly/Polly2Producer.java
+++ b/components/camel-aws/camel-aws2-polly/src/main/java/org/apache/camel/component/aws2/polly/Polly2Producer.java
@@ -152,61 +152,65 @@ public class Polly2Producer extends DefaultProducer {
} else {
SynthesizeSpeechRequest.Builder request = SynthesizeSpeechRequest.builder();
- // Set voice ID
- VoiceId voiceId = exchange.getIn().getHeader(Polly2Constants.VOICE_ID, VoiceId.class);
+ // Set voice ID - endpoint option first, then header
+ VoiceId voiceId = getConfiguration().getVoiceId();
if (voiceId == null) {
- voiceId = getConfiguration().getVoiceId();
+ voiceId = exchange.getIn().getHeader(Polly2Constants.VOICE_ID, VoiceId.class);
}
if (voiceId == null) {
- throw new IllegalArgumentException("Voice ID must be specified as header or endpoint option");
+ throw new IllegalArgumentException("Voice ID must be specified as endpoint option or header");
}
request.voiceId(voiceId);
- // Set output format
- OutputFormat outputFormat = exchange.getIn().getHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.class);
+ // Set output format - endpoint option first, then header
+ OutputFormat outputFormat = getConfiguration().getOutputFormat();
if (outputFormat == null) {
- outputFormat = getConfiguration().getOutputFormat();
+ outputFormat = exchange.getIn().getHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.class);
+ }
+ if (outputFormat != null) {
+ request.outputFormat(outputFormat);
}
- request.outputFormat(outputFormat);
- // Set text type
- TextType textType = exchange.getIn().getHeader(Polly2Constants.TEXT_TYPE, TextType.class);
+ // Set text type - endpoint option first, then header
+ TextType textType = getConfiguration().getTextType();
if (textType == null) {
- textType = getConfiguration().getTextType();
+ textType = exchange.getIn().getHeader(Polly2Constants.TEXT_TYPE, TextType.class);
+ }
+ if (textType != null) {
+ request.textType(textType);
}
- request.textType(textType);
- // Set engine
- Engine engine = exchange.getIn().getHeader(Polly2Constants.ENGINE, Engine.class);
- if (engine == null && getConfiguration().getEngine() != null) {
- engine = getConfiguration().getEngine();
+ // Set engine - endpoint option first, then header
+ Engine engine = getConfiguration().getEngine();
+ if (engine == null) {
+ engine = exchange.getIn().getHeader(Polly2Constants.ENGINE, Engine.class);
}
if (engine != null) {
request.engine(engine);
}
- // Set sample rate
- String sampleRate = exchange.getIn().getHeader(Polly2Constants.SAMPLE_RATE, String.class);
+ // Set sample rate - endpoint option first, then header
+ String sampleRate = getConfiguration().getSampleRate();
if (sampleRate == null) {
- sampleRate = getConfiguration().getSampleRate();
+ sampleRate = exchange.getIn().getHeader(Polly2Constants.SAMPLE_RATE, String.class);
}
if (sampleRate != null) {
request.sampleRate(sampleRate);
}
- // Set language code
- String languageCode = exchange.getIn().getHeader(Polly2Constants.LANGUAGE_CODE, String.class);
+ // Set language code - endpoint option first, then header
+ String languageCode = getConfiguration().getLanguageCode();
if (languageCode == null) {
- languageCode = getConfiguration().getLanguageCode();
+ languageCode = exchange.getIn().getHeader(Polly2Constants.LANGUAGE_CODE, String.class);
}
if (languageCode != null) {
request.languageCode(languageCode);
}
- // Set lexicon names
- String lexiconNames = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAMES, String.class);
+ // Set lexicon names - endpoint option first, then header
+ String lexiconNames = getConfiguration().getLexiconNames();
if (lexiconNames == null) {
- lexiconNames = getConfiguration().getLexiconNames();
+ lexiconNames = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAMES, String.class);
}
if (lexiconNames != null) {
request.lexiconNames(Arrays.asList(lexiconNames.split(",")));
@@ -248,19 +252,19 @@ public class Polly2Producer extends DefaultProducer {
} else {
DescribeVoicesRequest.Builder request = DescribeVoicesRequest.builder();
- // Set engine filter
- Engine engine = exchange.getIn().getHeader(Polly2Constants.ENGINE, Engine.class);
- if (engine == null && getConfiguration().getEngine() != null) {
- engine = getConfiguration().getEngine();
+ // Set engine filter - endpoint option first, then header
+ Engine engine = getConfiguration().getEngine();
+ if (engine == null) {
+ engine = exchange.getIn().getHeader(Polly2Constants.ENGINE, Engine.class);
}
if (engine != null) {
request.engine(engine);
}
- // Set language code filter
- String languageCode = exchange.getIn().getHeader(Polly2Constants.LANGUAGE_CODE, String.class);
+ // Set language code filter - endpoint option first, then header
+ String languageCode = getConfiguration().getLanguageCode();
if (languageCode == null) {
- languageCode = getConfiguration().getLanguageCode();
+ languageCode = exchange.getIn().getHeader(Polly2Constants.LANGUAGE_CODE, String.class);
}
if (languageCode != null) {
request.languageCode(languageCode);
@@ -321,7 +325,10 @@ public class Polly2Producer extends DefaultProducer {
message.setBody(result.lexicon());
}
} else {
- String lexiconName = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAME, String.class);
+ String lexiconName = getConfiguration().getLexiconName();
+ if (ObjectHelper.isEmpty(lexiconName)) {
+ lexiconName = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAME, String.class);
+ }
if (ObjectHelper.isEmpty(lexiconName)) {
throw new IllegalArgumentException("Lexicon name must be specified");
}
@@ -353,8 +360,14 @@ public class Polly2Producer extends DefaultProducer {
message.setBody(result);
}
} else {
- String lexiconName = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAME, String.class);
- String lexiconContent = exchange.getIn().getHeader(Polly2Constants.LEXICON_CONTENT, String.class);
+ String lexiconName = getConfiguration().getLexiconName();
+ if (ObjectHelper.isEmpty(lexiconName)) {
+ lexiconName = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAME, String.class);
+ }
+ String lexiconContent = getConfiguration().getLexiconContent();
+ if (ObjectHelper.isEmpty(lexiconContent)) {
+ lexiconContent = exchange.getIn().getHeader(Polly2Constants.LEXICON_CONTENT, String.class);
+ }
if (ObjectHelper.isEmpty(lexiconContent)) {
lexiconContent = exchange.getMessage().getBody(String.class);
}
@@ -395,7 +408,10 @@ public class Polly2Producer extends DefaultProducer {
message.setBody(result);
}
} else {
- String lexiconName = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAME, String.class);
+ String lexiconName = getConfiguration().getLexiconName();
+ if (ObjectHelper.isEmpty(lexiconName)) {
+ lexiconName = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAME, String.class);
+ }
if (ObjectHelper.isEmpty(lexiconName)) {
throw new IllegalArgumentException("Lexicon name must be specified");
}
@@ -431,80 +447,93 @@ public class Polly2Producer extends DefaultProducer {
} else {
StartSpeechSynthesisTaskRequest.Builder request = StartSpeechSynthesisTaskRequest.builder();
- // Set voice ID
- VoiceId voiceId = exchange.getIn().getHeader(Polly2Constants.VOICE_ID, VoiceId.class);
+ // Set voice ID - endpoint option first, then header
+ VoiceId voiceId = getConfiguration().getVoiceId();
if (voiceId == null) {
- voiceId = getConfiguration().getVoiceId();
+ voiceId = exchange.getIn().getHeader(Polly2Constants.VOICE_ID, VoiceId.class);
}
if (voiceId == null) {
- throw new IllegalArgumentException("Voice ID must be specified as header or endpoint option");
+ throw new IllegalArgumentException("Voice ID must be specified as endpoint option or header");
}
request.voiceId(voiceId);
- // Set output format
- OutputFormat outputFormat = exchange.getIn().getHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.class);
+ // Set output format - endpoint option first, then header
+ OutputFormat outputFormat = getConfiguration().getOutputFormat();
if (outputFormat == null) {
- outputFormat = getConfiguration().getOutputFormat();
+ outputFormat = exchange.getIn().getHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.class);
+ }
+ if (outputFormat != null) {
+ request.outputFormat(outputFormat);
}
- request.outputFormat(outputFormat);
- // Set S3 bucket
- String s3Bucket = exchange.getIn().getHeader(Polly2Constants.S3_BUCKET, String.class);
+ // Set S3 bucket - endpoint option first, then header
+ String s3Bucket = getConfiguration().getS3Bucket();
+ if (ObjectHelper.isEmpty(s3Bucket)) {
+ s3Bucket = exchange.getIn().getHeader(Polly2Constants.S3_BUCKET, String.class);
+ }
if (ObjectHelper.isEmpty(s3Bucket)) {
throw new IllegalArgumentException("S3 bucket must be specified for async synthesis");
}
request.outputS3BucketName(s3Bucket);
- // Set S3 key prefix (optional)
- String s3KeyPrefix = exchange.getIn().getHeader(Polly2Constants.S3_KEY_PREFIX, String.class);
+ // Set S3 key prefix (optional) - endpoint option first, then header
+ String s3KeyPrefix = getConfiguration().getS3KeyPrefix();
+ if (ObjectHelper.isEmpty(s3KeyPrefix)) {
+ s3KeyPrefix = exchange.getIn().getHeader(Polly2Constants.S3_KEY_PREFIX, String.class);
+ }
if (ObjectHelper.isNotEmpty(s3KeyPrefix)) {
request.outputS3KeyPrefix(s3KeyPrefix);
}
- // Set SNS topic ARN (optional)
- String snsTopicArn = exchange.getIn().getHeader(Polly2Constants.SNS_TOPIC_ARN, String.class);
+ // Set SNS topic ARN (optional) - endpoint option first, then header
+ String snsTopicArn = getConfiguration().getSnsTopicArn();
+ if (ObjectHelper.isEmpty(snsTopicArn)) {
+ snsTopicArn = exchange.getIn().getHeader(Polly2Constants.SNS_TOPIC_ARN, String.class);
+ }
if (ObjectHelper.isNotEmpty(snsTopicArn)) {
request.snsTopicArn(snsTopicArn);
}
- // Set text type
- TextType textType = exchange.getIn().getHeader(Polly2Constants.TEXT_TYPE, TextType.class);
+ // Set text type - endpoint option first, then header
+ TextType textType = getConfiguration().getTextType();
if (textType == null) {
- textType = getConfiguration().getTextType();
+ textType = exchange.getIn().getHeader(Polly2Constants.TEXT_TYPE, TextType.class);
+ }
+ if (textType != null) {
+ request.textType(textType);
}
- request.textType(textType);
- // Set engine
- Engine engine = exchange.getIn().getHeader(Polly2Constants.ENGINE, Engine.class);
- if (engine == null && getConfiguration().getEngine() != null) {
- engine = getConfiguration().getEngine();
+ // Set engine - endpoint option first, then header
+ Engine engine = getConfiguration().getEngine();
+ if (engine == null) {
+ engine = exchange.getIn().getHeader(Polly2Constants.ENGINE, Engine.class);
}
if (engine != null) {
request.engine(engine);
}
- // Set sample rate
- String sampleRate = exchange.getIn().getHeader(Polly2Constants.SAMPLE_RATE, String.class);
+ // Set sample rate - endpoint option first, then header
+ String sampleRate = getConfiguration().getSampleRate();
if (sampleRate == null) {
- sampleRate = getConfiguration().getSampleRate();
+ sampleRate = exchange.getIn().getHeader(Polly2Constants.SAMPLE_RATE, String.class);
}
if (sampleRate != null) {
request.sampleRate(sampleRate);
}
- // Set language code
- String languageCode = exchange.getIn().getHeader(Polly2Constants.LANGUAGE_CODE, String.class);
+ // Set language code - endpoint option first, then header
+ String languageCode = getConfiguration().getLanguageCode();
if (languageCode == null) {
- languageCode = getConfiguration().getLanguageCode();
+ languageCode = exchange.getIn().getHeader(Polly2Constants.LANGUAGE_CODE, String.class);
}
if (languageCode != null) {
request.languageCode(languageCode);
}
- // Set lexicon names
- String lexiconNames = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAMES, String.class);
+ // Set lexicon names - endpoint option first, then header
+ String lexiconNames = getConfiguration().getLexiconNames();
if (lexiconNames == null) {
- lexiconNames = getConfiguration().getLexiconNames();
+ lexiconNames = exchange.getIn().getHeader(Polly2Constants.LEXICON_NAMES, String.class);
}
if (lexiconNames != null) {
request.lexiconNames(Arrays.asList(lexiconNames.split(",")));
@@ -543,7 +572,10 @@ public class Polly2Producer extends DefaultProducer {
message.setBody(result.synthesisTask());
}
} else {
- String taskId = exchange.getIn().getHeader(Polly2Constants.TASK_ID, String.class);
+ String taskId = getConfiguration().getTaskId();
+ if (ObjectHelper.isEmpty(taskId)) {
+ taskId = exchange.getIn().getHeader(Polly2Constants.TASK_ID, String.class);
+ }
if (ObjectHelper.isEmpty(taskId)) {
throw new IllegalArgumentException("Task ID must be specified");
}
diff --git a/components/camel-aws/camel-aws2-polly/src/test/java/org/apache/camel/component/aws2/polly/integration/Polly2ProducerManualIT.java b/components/camel-aws/camel-aws2-polly/src/test/java/org/apache/camel/component/aws2/polly/integration/Polly2ProducerManualIT.java
index 57d1551bdbea..94f539536e3e 100644
--- a/components/camel-aws/camel-aws2-polly/src/test/java/org/apache/camel/component/aws2/polly/integration/Polly2ProducerManualIT.java
+++ b/components/camel-aws/camel-aws2-polly/src/test/java/org/apache/camel/component/aws2/polly/integration/Polly2ProducerManualIT.java
@@ -24,7 +24,6 @@ import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.aws2.polly.Polly2Constants;
-import org.apache.camel.component.aws2.polly.Polly2Operations;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit5.CamelTestSupport;
import org.junit.jupiter.api.Test;
@@ -56,10 +55,6 @@ public class Polly2ProducerManualIT extends CamelTestSupport {
Exchange exchange = template.request("direct:synthesizeSpeech", new Processor() {
@Override
public void process(Exchange exchange) {
- exchange.getIn().setHeader(Polly2Constants.OPERATION, Polly2Operations.synthesizeSpeech);
- exchange.getIn().setHeader(Polly2Constants.VOICE_ID, VoiceId.JOANNA);
- exchange.getIn().setHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.MP3);
- exchange.getIn().setHeader(Polly2Constants.TEXT_TYPE, TextType.TEXT);
exchange.getIn().setBody("Hello, this is a test of Amazon Polly.");
}
});
@@ -97,7 +92,7 @@ public class Polly2ProducerManualIT extends CamelTestSupport {
Exchange exchange = template.request("direct:describeVoices", new Processor() {
@Override
public void process(Exchange exchange) {
- exchange.getIn().setHeader(Polly2Constants.OPERATION, Polly2Operations.describeVoices);
+ // No headers needed - operation is set in endpoint
}
});
@@ -133,7 +128,7 @@ public class Polly2ProducerManualIT extends CamelTestSupport {
Exchange exchange = template.request("direct:listLexicons", new Processor() {
@Override
public void process(Exchange exchange) {
- exchange.getIn().setHeader(Polly2Constants.OPERATION, Polly2Operations.listLexicons);
+ // No headers needed - operation is set in endpoint
}
});
@@ -150,7 +145,7 @@ public class Polly2ProducerManualIT extends CamelTestSupport {
@Override
public void configure() {
from("direct:synthesizeSpeech")
- .to("aws2-polly://test?accessKey=RAW({{aws.access.key}})&secretKey=RAW({{aws.secret.key}})®ion=us-east-1&operation=synthesizeSpeech")
+ .to("aws2-polly://test?accessKey=RAW({{aws.access.key}})&secretKey=RAW({{aws.secret.key}})®ion=us-east-1&operation=synthesizeSpeech&voiceId=JOANNA&outputFormat=MP3&textType=TEXT")
.to("mock:result");
from("direct:synthesizeSpeechPojo")
diff --git a/components/camel-aws/camel-aws2-polly/src/test/java/org/apache/camel/component/aws2/polly/integration/Polly2SpeechToFileManualIT.java b/components/camel-aws/camel-aws2-polly/src/test/java/org/apache/camel/component/aws2/polly/integration/Polly2SpeechToFileManualIT.java
index 7160e7d50f4f..dded392b70a4 100644
--- a/components/camel-aws/camel-aws2-polly/src/test/java/org/apache/camel/component/aws2/polly/integration/Polly2SpeechToFileManualIT.java
+++ b/components/camel-aws/camel-aws2-polly/src/test/java/org/apache/camel/component/aws2/polly/integration/Polly2SpeechToFileManualIT.java
@@ -22,16 +22,11 @@ import org.apache.camel.EndpointInject;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.component.aws2.polly.Polly2Constants;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit5.CamelTestSupport;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.EnabledIfSystemProperties;
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
-import software.amazon.awssdk.services.polly.model.Engine;
-import software.amazon.awssdk.services.polly.model.OutputFormat;
-import software.amazon.awssdk.services.polly.model.TextType;
-import software.amazon.awssdk.services.polly.model.VoiceId;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -54,12 +49,9 @@ public class Polly2SpeechToFileManualIT extends CamelTestSupport {
public void synthesizeSpeechToMp3FileTest() throws Exception {
mock.expectedMessageCount(1);
- template.send("direct:synthesizeToFile", new Processor() {
+ template.send("direct:synthesizeToFileMp3", new Processor() {
@Override
public void process(Exchange exchange) {
- exchange.getIn().setHeader(Polly2Constants.VOICE_ID, VoiceId.JOANNA);
- exchange.getIn().setHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.MP3);
- exchange.getIn().setHeader(Polly2Constants.TEXT_TYPE, TextType.TEXT);
exchange.getIn().setHeader(Exchange.FILE_NAME, "polly-test-joanna.mp3");
exchange.getIn().setBody("Hello, this is a test of Amazon Polly. The audio is saved to a file.");
}
@@ -76,13 +68,9 @@ public class Polly2SpeechToFileManualIT extends CamelTestSupport {
public void synthesizeSpeechWithNeuralEngineToFileTest() throws Exception {
mock.expectedMessageCount(1);
- template.send("direct:synthesizeToFile", new Processor() {
+ template.send("direct:synthesizeToFileNeural", new Processor() {
@Override
public void process(Exchange exchange) {
- exchange.getIn().setHeader(Polly2Constants.VOICE_ID, VoiceId.JOANNA);
- exchange.getIn().setHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.MP3);
- exchange.getIn().setHeader(Polly2Constants.TEXT_TYPE, TextType.TEXT);
- exchange.getIn().setHeader(Polly2Constants.ENGINE, Engine.NEURAL);
exchange.getIn().setHeader(Exchange.FILE_NAME, "polly-test-joanna-neural.mp3");
exchange.getIn().setBody("Hello, this is a test using the neural engine. It sounds more natural.");
}
@@ -99,12 +87,9 @@ public class Polly2SpeechToFileManualIT extends CamelTestSupport {
public void synthesizeSpeechWithSsmlToFileTest() throws Exception {
mock.expectedMessageCount(1);
- template.send("direct:synthesizeToFile", new Processor() {
+ template.send("direct:synthesizeToFileSsml", new Processor() {
@Override
public void process(Exchange exchange) {
- exchange.getIn().setHeader(Polly2Constants.VOICE_ID, VoiceId.JOANNA);
- exchange.getIn().setHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.MP3);
- exchange.getIn().setHeader(Polly2Constants.TEXT_TYPE, TextType.SSML);
exchange.getIn().setHeader(Exchange.FILE_NAME, "polly-test-ssml.mp3");
exchange.getIn().setBody(
"<speak>Hello! <break time=\"500ms\"/> This is a test with <emphasis level=\"strong\">SSML</emphasis> markup.</speak>");
@@ -122,12 +107,9 @@ public class Polly2SpeechToFileManualIT extends CamelTestSupport {
public void synthesizeSpeechToOggFileTest() throws Exception {
mock.expectedMessageCount(1);
- template.send("direct:synthesizeToFile", new Processor() {
+ template.send("direct:synthesizeToFileOgg", new Processor() {
@Override
public void process(Exchange exchange) {
- exchange.getIn().setHeader(Polly2Constants.VOICE_ID, VoiceId.MATTHEW);
- exchange.getIn().setHeader(Polly2Constants.OUTPUT_FORMAT, OutputFormat.OGG_VORBIS);
- exchange.getIn().setHeader(Polly2Constants.TEXT_TYPE, TextType.TEXT);
exchange.getIn().setHeader(Exchange.FILE_NAME, "polly-test-matthew.ogg");
exchange.getIn().setBody("Hello, this is Matthew speaking. The audio is in OGG format.");
}
@@ -145,8 +127,23 @@ public class Polly2SpeechToFileManualIT extends CamelTestSupport {
return new RouteBuilder() {
@Override
public void configure() {
- from("direct:synthesizeToFile")
- .to("aws2-polly://test?accessKey=RAW({{aws.access.key}})&secretKey=RAW({{aws.secret.key}})®ion=us-east-1&operation=synthesizeSpeech")
+ from("direct:synthesizeToFileMp3")
+ .to("aws2-polly://test?accessKey=RAW({{aws.access.key}})&secretKey=RAW({{aws.secret.key}})®ion=us-east-1&operation=synthesizeSpeech&voiceId=JOANNA&outputFormat=MP3&textType=TEXT")
+ .to("file:" + OUTPUT_DIR)
+ .to("mock:result");
+
+ from("direct:synthesizeToFileNeural")
+ .to("aws2-polly://test?accessKey=RAW({{aws.access.key}})&secretKey=RAW({{aws.secret.key}})®ion=us-east-1&operation=synthesizeSpeech&voiceId=JOANNA&outputFormat=MP3&textType=TEXT&engine=NEURAL")
+ .to("file:" + OUTPUT_DIR)
+ .to("mock:result");
+
+ from("direct:synthesizeToFileSsml")
+ .to("aws2-polly://test?accessKey=RAW({{aws.access.key}})&secretKey=RAW({{aws.secret.key}})®ion=us-east-1&operation=synthesizeSpeech&voiceId=JOANNA&outputFormat=MP3&textType=SSML")
+ .to("file:" + OUTPUT_DIR)
+ .to("mock:result");
+
+ from("direct:synthesizeToFileOgg")
+ .to("aws2-polly://test?accessKey=RAW({{aws.access.key}})&secretKey=RAW({{aws.secret.key}})®ion=us-east-1&operation=synthesizeSpeech&voiceId=MATTHEW&outputFormat=OGG_VORBIS&textType=TEXT")
.to("file:" + OUTPUT_DIR)
.to("mock:result");
}
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2PollyComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2PollyComponentBuilderFactory.java
index b660e8a8b354..431ba661b6c8 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2PollyComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2PollyComponentBuilderFactory.java
@@ -123,6 +123,37 @@ public interface Aws2PollyComponentBuilderFactory {
return this;
}
+ /**
+ * The content of the lexicon in PLS format for putLexicon operation.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param lexiconContent the value to set
+ * @return the dsl builder
+ */
+ default Aws2PollyComponentBuilder lexiconContent(java.lang.String lexiconContent) {
+ doSetProperty("lexiconContent", lexiconContent);
+ return this;
+ }
+
+ /**
+ * The name of the lexicon to use for getLexicon, putLexicon, or
+ * deleteLexicon operations.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param lexiconName the value to set
+ * @return the dsl builder
+ */
+ default Aws2PollyComponentBuilder lexiconName(java.lang.String lexiconName) {
+ doSetProperty("lexiconName", lexiconName);
+ return this;
+ }
+
/**
* Lexicon names to apply during synthesis.
*
@@ -227,6 +258,36 @@ public interface Aws2PollyComponentBuilderFactory {
return this;
}
+ /**
+ * The S3 bucket name for startSpeechSynthesisTask operation output.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param s3Bucket the value to set
+ * @return the dsl builder
+ */
+ default Aws2PollyComponentBuilder s3Bucket(java.lang.String s3Bucket) {
+ doSetProperty("s3Bucket", s3Bucket);
+ return this;
+ }
+
+ /**
+ * The S3 key prefix for startSpeechSynthesisTask operation output.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param s3KeyPrefix the value to set
+ * @return the dsl builder
+ */
+ default Aws2PollyComponentBuilder s3KeyPrefix(java.lang.String s3KeyPrefix) {
+ doSetProperty("s3KeyPrefix", s3KeyPrefix);
+ return this;
+ }
+
/**
* The sample rate in Hz for the audio output.
*
@@ -242,6 +303,36 @@ public interface Aws2PollyComponentBuilderFactory {
return this;
}
+ /**
+ * The SNS topic ARN for startSpeechSynthesisTask notifications.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param snsTopicArn the value to set
+ * @return the dsl builder
+ */
+ default Aws2PollyComponentBuilder snsTopicArn(java.lang.String snsTopicArn) {
+ doSetProperty("snsTopicArn", snsTopicArn);
+ return this;
+ }
+
+ /**
+ * The task ID for getSpeechSynthesisTask operation.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param taskId the value to set
+ * @return the dsl builder
+ */
+ default Aws2PollyComponentBuilder taskId(java.lang.String taskId) {
+ doSetProperty("taskId", taskId);
+ return this;
+ }
+
/**
* The type of text input (text or ssml).
@@ -576,13 +667,19 @@ public interface Aws2PollyComponentBuilderFactory {
case "engine": getOrCreateConfiguration((Polly2Component) component).setEngine((software.amazon.awssdk.services.polly.model.Engine) value); return true;
case "languageCode": getOrCreateConfiguration((Polly2Component) component).setLanguageCode((java.lang.String) value); return true;
case "lazyStartProducer": ((Polly2Component) component).setLazyStartProducer((boolean) value); return true;
+ case "lexiconContent": getOrCreateConfiguration((Polly2Component) component).setLexiconContent((java.lang.String) value); return true;
+ case "lexiconName": getOrCreateConfiguration((Polly2Component) component).setLexiconName((java.lang.String) value); return true;
case "lexiconNames": getOrCreateConfiguration((Polly2Component) component).setLexiconNames((java.lang.String) value); return true;
case "operation": getOrCreateConfiguration((Polly2Component) component).setOperation((org.apache.camel.component.aws2.polly.Polly2Operations) value); return true;
case "outputFormat": getOrCreateConfiguration((Polly2Component) component).setOutputFormat((software.amazon.awssdk.services.polly.model.OutputFormat) value); return true;
case "overrideEndpoint": getOrCreateConfiguration((Polly2Component) component).setOverrideEndpoint((boolean) value); return true;
case "pojoRequest": getOrCreateConfiguration((Polly2Component) component).setPojoRequest((boolean) value); return true;
case "region": getOrCreateConfiguration((Polly2Component) component).setRegion((java.lang.String) value); return true;
+ case "s3Bucket": getOrCreateConfiguration((Polly2Component) component).setS3Bucket((java.lang.String) value); return true;
+ case "s3KeyPrefix": getOrCreateConfiguration((Polly2Component) component).setS3KeyPrefix((java.lang.String) value); return true;
case "sampleRate": getOrCreateConfiguration((Polly2Component) component).setSampleRate((java.lang.String) value); return true;
+ case "snsTopicArn": getOrCreateConfiguration((Polly2Component) component).setSnsTopicArn((java.lang.String) value); return true;
+ case "taskId": getOrCreateConfiguration((Polly2Component) component).setTaskId((java.lang.String) value); return true;
case "textType": getOrCreateConfiguration((Polly2Component) component).setTextType((software.amazon.awssdk.services.polly.model.TextType) value); return true;
case "uriEndpointOverride": getOrCreateConfiguration((Polly2Component) component).setUriEndpointOverride((java.lang.String) value); return true;
case "voiceId": getOrCreateConfiguration((Polly2Component) component).setVoiceId((software.amazon.awssdk.services.polly.model.VoiceId) value); return true;
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Polly2EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Polly2EndpointBuilderFactory.java
index 5213d77f7dcf..3a92ece41d15 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Polly2EndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Polly2EndpointBuilderFactory.java
@@ -90,6 +90,35 @@ public interface Polly2EndpointBuilderFactory {
doSetProperty("languageCode", languageCode);
return this;
}
+ /**
+ * The content of the lexicon in PLS format for putLexicon operation.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param lexiconContent the value to set
+ * @return the dsl builder
+ */
+ default Polly2EndpointBuilder lexiconContent(String lexiconContent) {
+ doSetProperty("lexiconContent", lexiconContent);
+ return this;
+ }
+ /**
+ * The name of the lexicon to use for getLexicon, putLexicon, or
+ * deleteLexicon operations.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param lexiconName the value to set
+ * @return the dsl builder
+ */
+ default Polly2EndpointBuilder lexiconName(String lexiconName) {
+ doSetProperty("lexiconName", lexiconName);
+ return this;
+ }
/**
* Lexicon names to apply during synthesis.
*
@@ -253,6 +282,34 @@ public interface Polly2EndpointBuilderFactory {
doSetProperty("region", region);
return this;
}
+ /**
+ * The S3 bucket name for startSpeechSynthesisTask operation output.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param s3Bucket the value to set
+ * @return the dsl builder
+ */
+ default Polly2EndpointBuilder s3Bucket(String s3Bucket) {
+ doSetProperty("s3Bucket", s3Bucket);
+ return this;
+ }
+ /**
+ * The S3 key prefix for startSpeechSynthesisTask operation output.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param s3KeyPrefix the value to set
+ * @return the dsl builder
+ */
+ default Polly2EndpointBuilder s3KeyPrefix(String s3KeyPrefix) {
+ doSetProperty("s3KeyPrefix", s3KeyPrefix);
+ return this;
+ }
/**
* The sample rate in Hz for the audio output.
*
@@ -267,6 +324,34 @@ public interface Polly2EndpointBuilderFactory {
doSetProperty("sampleRate", sampleRate);
return this;
}
+ /**
+ * The SNS topic ARN for startSpeechSynthesisTask notifications.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param snsTopicArn the value to set
+ * @return the dsl builder
+ */
+ default Polly2EndpointBuilder snsTopicArn(String snsTopicArn) {
+ doSetProperty("snsTopicArn", snsTopicArn);
+ return this;
+ }
+ /**
+ * The task ID for getSpeechSynthesisTask operation.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param taskId the value to set
+ * @return the dsl builder
+ */
+ default Polly2EndpointBuilder taskId(String taskId) {
+ doSetProperty("taskId", taskId);
+ return this;
+ }
/**
* The type of text input (text or ssml).
*