This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new b37203a CAMEL-14568: Fixed camel-aws2-sqs option that was enum based
should advertise the type as a string.
b37203a is described below
commit b37203afb2426b58b83706ec0cbb7615b63b5d36
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Feb 28 12:19:41 2020 +0100
CAMEL-14568: Fixed camel-aws2-sqs option that was enum based should
advertise the type as a string.
---
.../camel/component/aws2/sqs/Sqs2ComponentConfigurer.java | 4 ++--
.../camel/component/aws2/sqs/Sqs2EndpointConfigurer.java | 4 ++--
.../org/apache/camel/component/aws2/sqs/aws2-sqs.json | 8 ++++----
.../camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc | 8 ++++----
.../apache/camel/component/aws2/sqs/Sqs2Configuration.java | 4 ++--
.../component/dsl/Aws2SqsComponentBuilderFactory.java | 14 ++++++--------
docs/components/modules/ROOT/pages/aws2-sqs-component.adoc | 8 ++++----
7 files changed, 24 insertions(+), 26 deletions(-)
diff --git
a/components/camel-aws2-sqs/src/generated/java/org/apache/camel/component/aws2/sqs/Sqs2ComponentConfigurer.java
b/components/camel-aws2-sqs/src/generated/java/org/apache/camel/component/aws2/sqs/Sqs2ComponentConfigurer.java
index 8524ee1..c588727 100644
---
a/components/camel-aws2-sqs/src/generated/java/org/apache/camel/component/aws2/sqs/Sqs2ComponentConfigurer.java
+++
b/components/camel-aws2-sqs/src/generated/java/org/apache/camel/component/aws2/sqs/Sqs2ComponentConfigurer.java
@@ -69,9 +69,9 @@ public class Sqs2ComponentConfigurer extends
PropertyConfigurerSupport implement
case "lazystartproducer":
case "lazyStartProducer":
target.setLazyStartProducer(property(camelContext, boolean.class, value));
return true;
case "messagededuplicationidstrategy":
- case "messageDeduplicationIdStrategy":
getOrCreateConfiguration(target).setMessageDeduplicationIdStrategy(property(camelContext,
org.apache.camel.component.aws2.sqs.MessageDeduplicationIdStrategy.class,
value)); return true;
+ case "messageDeduplicationIdStrategy":
getOrCreateConfiguration(target).setMessageDeduplicationIdStrategy(property(camelContext,
java.lang.String.class, value)); return true;
case "messagegroupidstrategy":
- case "messageGroupIdStrategy":
getOrCreateConfiguration(target).setMessageGroupIdStrategy(property(camelContext,
org.apache.camel.component.aws2.sqs.MessageGroupIdStrategy.class, value));
return true;
+ case "messageGroupIdStrategy":
getOrCreateConfiguration(target).setMessageGroupIdStrategy(property(camelContext,
java.lang.String.class, value)); return true;
case "operation":
getOrCreateConfiguration(target).setOperation(property(camelContext,
org.apache.camel.component.aws2.sqs.Sqs2Operations.class, value)); return true;
case "basicpropertybinding":
case "basicPropertyBinding":
target.setBasicPropertyBinding(property(camelContext, boolean.class, value));
return true;
diff --git
a/components/camel-aws2-sqs/src/generated/java/org/apache/camel/component/aws2/sqs/Sqs2EndpointConfigurer.java
b/components/camel-aws2-sqs/src/generated/java/org/apache/camel/component/aws2/sqs/Sqs2EndpointConfigurer.java
index ff6d80c..d96feed 100644
---
a/components/camel-aws2-sqs/src/generated/java/org/apache/camel/component/aws2/sqs/Sqs2EndpointConfigurer.java
+++
b/components/camel-aws2-sqs/src/generated/java/org/apache/camel/component/aws2/sqs/Sqs2EndpointConfigurer.java
@@ -70,9 +70,9 @@ public class Sqs2EndpointConfigurer extends
PropertyConfigurerSupport implements
case "lazystartproducer":
case "lazyStartProducer":
target.setLazyStartProducer(property(camelContext, boolean.class, value));
return true;
case "messagededuplicationidstrategy":
- case "messageDeduplicationIdStrategy":
target.getConfiguration().setMessageDeduplicationIdStrategy(property(camelContext,
org.apache.camel.component.aws2.sqs.MessageDeduplicationIdStrategy.class,
value)); return true;
+ case "messageDeduplicationIdStrategy":
target.getConfiguration().setMessageDeduplicationIdStrategy(property(camelContext,
java.lang.String.class, value)); return true;
case "messagegroupidstrategy":
- case "messageGroupIdStrategy":
target.getConfiguration().setMessageGroupIdStrategy(property(camelContext,
org.apache.camel.component.aws2.sqs.MessageGroupIdStrategy.class, value));
return true;
+ case "messageGroupIdStrategy":
target.getConfiguration().setMessageGroupIdStrategy(property(camelContext,
java.lang.String.class, value)); return true;
case "operation":
target.getConfiguration().setOperation(property(camelContext,
org.apache.camel.component.aws2.sqs.Sqs2Operations.class, value)); return true;
case "basicpropertybinding":
case "basicPropertyBinding":
target.setBasicPropertyBinding(property(camelContext, boolean.class, value));
return true;
diff --git
a/components/camel-aws2-sqs/src/generated/resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json
b/components/camel-aws2-sqs/src/generated/resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json
index bd499dd..5300689 100644
---
a/components/camel-aws2-sqs/src/generated/resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json
+++
b/components/camel-aws2-sqs/src/generated/resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json
@@ -43,8 +43,8 @@
"waitTimeSeconds": { "kind": "property", "displayName": "Wait Time
Seconds", "group": "consumer", "label": "consumer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "Duration in seconds (0 to 20) that the
ReceiveMessage action call will wait until a message is in the queue to include
in the [...]
"delaySeconds": { "kind": "property", "displayName": "Delay Seconds",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.sqs.Sqs2Configuration",
"configurationField": "configuration", "description": "Delay sending messages
for a number of seconds." },
"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": 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 during starting and cause the r [...]
- "messageDeduplicationIdStrategy": { "kind": "property", "displayName":
"Message Deduplication Id Strategy", "group": "producer", "label": "producer",
"required": false, "type": "object", "javaType":
"org.apache.camel.component.aws2.sqs.MessageDeduplicationIdStrategy", "enum": [
"useExchangeId", "useContentBasedDeduplication" ], "deprecated": false,
"secret": false, "defaultValue": "useExchangeId", "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configu [...]
- "messageGroupIdStrategy": { "kind": "property", "displayName": "Message
Group Id Strategy", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.aws2.sqs.MessageGroupIdStrategy", "enum": [
"useConstant", "useExchangeId", "usePropertyValue" ], "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "Only fo [...]
+ "messageDeduplicationIdStrategy": { "kind": "property", "displayName":
"Message Deduplication Id Strategy", "group": "producer", "label": "producer",
"required": false, "type": "string", "javaType": "java.lang.String", "enum": [
"useExchangeId", "useContentBasedDeduplication" ], "deprecated": false,
"secret": false, "defaultValue": "useExchangeId", "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "Onl [...]
+ "messageGroupIdStrategy": { "kind": "property", "displayName": "Message
Group Id Strategy", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "enum": [
"useConstant", "useExchangeId", "usePropertyValue" ], "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "Only for FIFO queues. Strategy for setting the
me [...]
"operation": { "kind": "property", "displayName": "Operation", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.aws2.sqs.Sqs2Operations", "enum": [
"sendBatchMessage", "deleteMessage", "listQueues" ], "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "The operation to do in case the user don't wa
[...]
"basicPropertyBinding": { "kind": "property", "displayName": "Basic
Property Binding", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "Whether the component should use basic
property binding (Camel 2.x) or the newer property binding with additional
capabilities" },
"configuration": { "kind": "property", "displayName": "Configuration",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.component.aws2.sqs.Sqs2Configuration",
"deprecated": false, "secret": false, "description": "The AWS SQS default
configuration" },
@@ -88,8 +88,8 @@
"pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation before an Exchange h [...]
"delaySeconds": { "kind": "parameter", "displayName": "Delay Seconds",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.sqs.Sqs2Configuration",
"configurationField": "configuration", "description": "Delay sending messages
for a number of seconds." },
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": 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 during starting and cause the [...]
- "messageDeduplicationIdStrategy": { "kind": "parameter", "displayName":
"Message Deduplication Id Strategy", "group": "producer", "label": "producer",
"required": false, "type": "object", "javaType":
"org.apache.camel.component.aws2.sqs.MessageDeduplicationIdStrategy", "enum": [
"useExchangeId", "useContentBasedDeduplication" ], "deprecated": false,
"secret": false, "defaultValue": "useExchangeId", "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "config [...]
- "messageGroupIdStrategy": { "kind": "parameter", "displayName": "Message
Group Id Strategy", "group": "producer", "label": "producer", "required":
false, "type": "object", "javaType":
"org.apache.camel.component.aws2.sqs.MessageGroupIdStrategy", "enum": [
"useConstant", "useExchangeId", "usePropertyValue" ], "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "Only f [...]
+ "messageDeduplicationIdStrategy": { "kind": "parameter", "displayName":
"Message Deduplication Id Strategy", "group": "producer", "label": "producer",
"required": false, "type": "string", "javaType": "java.lang.String", "enum": [
"useExchangeId", "useContentBasedDeduplication" ], "deprecated": false,
"secret": false, "defaultValue": "useExchangeId", "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "On [...]
+ "messageGroupIdStrategy": { "kind": "parameter", "displayName": "Message
Group Id Strategy", "group": "producer", "label": "producer", "required":
false, "type": "string", "javaType": "java.lang.String", "enum": [
"useConstant", "useExchangeId", "usePropertyValue" ], "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "Only for FIFO queues. Strategy for setting the
m [...]
"operation": { "kind": "parameter", "displayName": "Operation", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.aws2.sqs.Sqs2Operations", "enum": [
"sendBatchMessage", "deleteMessage", "listQueues" ], "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "The operation to do in case the user don't w
[...]
"basicPropertyBinding": { "kind": "parameter", "displayName": "Basic
Property Binding", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "Whether the endpoint should use basic
property binding (Camel 2.x) or the newer property binding with additional
capabilities" },
"delayQueue": { "kind": "parameter", "displayName": "Delay Queue",
"group": "advanced", "label": "advanced", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
false, "configurationClass":
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField":
"configuration", "description": "Define if you want to apply delaySeconds
option to the queue or on single messages" },
diff --git a/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
b/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
index b8f221f..0aa8d4c 100644
--- a/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
+++ b/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
@@ -67,8 +67,8 @@ The AWS 2 Simple Queue Service component supports 38 options,
which are listed b
| *waitTimeSeconds* (consumer) | Duration in seconds (0 to 20) that the
ReceiveMessage action call will wait until a message is in the queue to include
in the response. | | Integer
| *delaySeconds* (producer) | Delay sending messages for a number of seconds.
| | Integer
| *lazyStartProducer* (producer) | Whether the producer should be started lazy
(on the first message). By starting lazy you can use this to allow CamelContext
and routes to startup in situations where a producer may otherwise fail during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
-| *messageDeduplicationIdStrategy* (producer) | Only for FIFO queues. Strategy
for setting the messageDeduplicationId on the message. Can be one of the
following options: useExchangeId, useContentBasedDeduplication. For the
useContentBasedDeduplication option, no messageDeduplicationId will be set on
the message. The value can be one of: useExchangeId,
useContentBasedDeduplication | useExchangeId | MessageDeduplicationIdStrategy
-| *messageGroupIdStrategy* (producer) | Only for FIFO queues. Strategy for
setting the messageGroupId on the message. Can be one of the following options:
useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option,
the value of property CamelAwsMessageGroupId will be used. The value can be one
of: useConstant, useExchangeId, usePropertyValue | | MessageGroupIdStrategy
+| *messageDeduplicationIdStrategy* (producer) | Only for FIFO queues. Strategy
for setting the messageDeduplicationId on the message. Can be one of the
following options: useExchangeId, useContentBasedDeduplication. For the
useContentBasedDeduplication option, no messageDeduplicationId will be set on
the message. The value can be one of: useExchangeId,
useContentBasedDeduplication | useExchangeId | String
+| *messageGroupIdStrategy* (producer) | Only for FIFO queues. Strategy for
setting the messageGroupId on the message. Can be one of the following options:
useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option,
the value of property CamelAwsMessageGroupId will be used. The value can be one
of: useConstant, useExchangeId, usePropertyValue | | String
| *operation* (producer) | The operation to do in case the user don't want to
send only a message. The value can be one of: sendBatchMessage, deleteMessage,
listQueues | | Sqs2Operations
| *basicPropertyBinding* (advanced) | Whether the component should use basic
property binding (Camel 2.x) or the newer property binding with additional
capabilities | false | boolean
| *configuration* (advanced) | The AWS SQS default configuration | |
Sqs2Configuration
@@ -144,8 +144,8 @@ with the following path and query parameters:
| *pollStrategy* (consumer) | A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation before an Exchange have been created and being routed in Camel.
| | PollingConsumerPollStrategy
| *delaySeconds* (producer) | Delay sending messages for a number of seconds.
| | Integer
| *lazyStartProducer* (producer) | Whether the producer should be started lazy
(on the first message). By starting lazy you can use this to allow CamelContext
and routes to startup in situations where a producer may otherwise fail during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
-| *messageDeduplicationIdStrategy* (producer) | Only for FIFO queues. Strategy
for setting the messageDeduplicationId on the message. Can be one of the
following options: useExchangeId, useContentBasedDeduplication. For the
useContentBasedDeduplication option, no messageDeduplicationId will be set on
the message. The value can be one of: useExchangeId,
useContentBasedDeduplication | useExchangeId | MessageDeduplicationIdStrategy
-| *messageGroupIdStrategy* (producer) | Only for FIFO queues. Strategy for
setting the messageGroupId on the message. Can be one of the following options:
useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option,
the value of property CamelAwsMessageGroupId will be used. The value can be one
of: useConstant, useExchangeId, usePropertyValue | | MessageGroupIdStrategy
+| *messageDeduplicationIdStrategy* (producer) | Only for FIFO queues. Strategy
for setting the messageDeduplicationId on the message. Can be one of the
following options: useExchangeId, useContentBasedDeduplication. For the
useContentBasedDeduplication option, no messageDeduplicationId will be set on
the message. The value can be one of: useExchangeId,
useContentBasedDeduplication | useExchangeId | String
+| *messageGroupIdStrategy* (producer) | Only for FIFO queues. Strategy for
setting the messageGroupId on the message. Can be one of the following options:
useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option,
the value of property CamelAwsMessageGroupId will be used. The value can be one
of: useConstant, useExchangeId, usePropertyValue | | String
| *operation* (producer) | The operation to do in case the user don't want to
send only a message. The value can be one of: sendBatchMessage, deleteMessage,
listQueues | | Sqs2Operations
| *basicPropertyBinding* (advanced) | Whether the endpoint should use basic
property binding (Camel 2.x) or the newer property binding with additional
capabilities | false | boolean
| *delayQueue* (advanced) | Define if you want to apply delaySeconds option to
the queue or on single messages | false | boolean
diff --git
a/components/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Configuration.java
b/components/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Configuration.java
index 0ccdeb9..3740e22 100644
---
a/components/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Configuration.java
+++
b/components/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Configuration.java
@@ -82,9 +82,9 @@ public class Sqs2Configuration implements Cloneable {
// producer properties
@UriParam(label = "advanced")
private boolean delayQueue;
- @UriParam(label = "producer", enums =
"useConstant,useExchangeId,usePropertyValue")
+ @UriParam(label = "producer", javaType = "java.lang.String", enums =
"useConstant,useExchangeId,usePropertyValue")
private MessageGroupIdStrategy messageGroupIdStrategy;
- @UriParam(label = "producer", defaultValue = "useExchangeId", enums =
"useExchangeId,useContentBasedDeduplication")
+ @UriParam(label = "producer", javaType = "java.lang.String", defaultValue
= "useExchangeId", enums = "useExchangeId,useContentBasedDeduplication")
private MessageDeduplicationIdStrategy messageDeduplicationIdStrategy =
new ExchangeIdMessageDeduplicationIdStrategy();
@UriParam(label = "producer")
private Sqs2Operations operation;
diff --git
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java
index 8a881a4..d9b18d2 100644
---
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java
+++
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java
@@ -384,14 +384,13 @@ public interface Aws2SqsComponentBuilderFactory {
* useContentBasedDeduplication. For the useContentBasedDeduplication
* option, no messageDeduplicationId will be set on the message.
*
- * The option is a:
- *
<code>org.apache.camel.component.aws2.sqs.MessageDeduplicationIdStrategy</code>
type.
+ * The option is a: <code>java.lang.String</code> type.
*
* Default: useExchangeId
* Group: producer
*/
default Aws2SqsComponentBuilder messageDeduplicationIdStrategy(
-
org.apache.camel.component.aws2.sqs.MessageDeduplicationIdStrategy
messageDeduplicationIdStrategy) {
+ java.lang.String messageDeduplicationIdStrategy) {
doSetProperty("messageDeduplicationIdStrategy",
messageDeduplicationIdStrategy);
return this;
}
@@ -401,13 +400,12 @@ public interface Aws2SqsComponentBuilderFactory {
* useExchangeId, usePropertyValue. For the usePropertyValue option,
the
* value of property CamelAwsMessageGroupId will be used.
*
- * The option is a:
- *
<code>org.apache.camel.component.aws2.sqs.MessageGroupIdStrategy</code> type.
+ * The option is a: <code>java.lang.String</code> type.
*
* Group: producer
*/
default Aws2SqsComponentBuilder messageGroupIdStrategy(
- org.apache.camel.component.aws2.sqs.MessageGroupIdStrategy
messageGroupIdStrategy) {
+ java.lang.String messageGroupIdStrategy) {
doSetProperty("messageGroupIdStrategy", messageGroupIdStrategy);
return this;
}
@@ -614,8 +612,8 @@ public interface Aws2SqsComponentBuilderFactory {
case "waitTimeSeconds": getOrCreateConfiguration((Sqs2Component)
component).setWaitTimeSeconds((java.lang.Integer) value); return true;
case "delaySeconds": getOrCreateConfiguration((Sqs2Component)
component).setDelaySeconds((java.lang.Integer) value); return true;
case "lazyStartProducer": ((Sqs2Component)
component).setLazyStartProducer((boolean) value); return true;
- case "messageDeduplicationIdStrategy":
getOrCreateConfiguration((Sqs2Component)
component).setMessageDeduplicationIdStrategy((org.apache.camel.component.aws2.sqs.MessageDeduplicationIdStrategy)
value); return true;
- case "messageGroupIdStrategy":
getOrCreateConfiguration((Sqs2Component)
component).setMessageGroupIdStrategy((org.apache.camel.component.aws2.sqs.MessageGroupIdStrategy)
value); return true;
+ case "messageDeduplicationIdStrategy":
getOrCreateConfiguration((Sqs2Component)
component).setMessageDeduplicationIdStrategy((java.lang.String) value); return
true;
+ case "messageGroupIdStrategy":
getOrCreateConfiguration((Sqs2Component)
component).setMessageGroupIdStrategy((java.lang.String) value); return true;
case "operation": getOrCreateConfiguration((Sqs2Component)
component).setOperation((org.apache.camel.component.aws2.sqs.Sqs2Operations)
value); return true;
case "basicPropertyBinding": ((Sqs2Component)
component).setBasicPropertyBinding((boolean) value); return true;
case "configuration": ((Sqs2Component)
component).setConfiguration((org.apache.camel.component.aws2.sqs.Sqs2Configuration)
value); return true;
diff --git a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
index 2cde778..c66430c 100644
--- a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc
@@ -68,8 +68,8 @@ The AWS 2 Simple Queue Service component supports 38 options,
which are listed b
| *waitTimeSeconds* (consumer) | Duration in seconds (0 to 20) that the
ReceiveMessage action call will wait until a message is in the queue to include
in the response. | | Integer
| *delaySeconds* (producer) | Delay sending messages for a number of seconds.
| | Integer
| *lazyStartProducer* (producer) | Whether the producer should be started lazy
(on the first message). By starting lazy you can use this to allow CamelContext
and routes to startup in situations where a producer may otherwise fail during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
-| *messageDeduplicationIdStrategy* (producer) | Only for FIFO queues. Strategy
for setting the messageDeduplicationId on the message. Can be one of the
following options: useExchangeId, useContentBasedDeduplication. For the
useContentBasedDeduplication option, no messageDeduplicationId will be set on
the message. The value can be one of: useExchangeId,
useContentBasedDeduplication | useExchangeId | MessageDeduplicationIdStrategy
-| *messageGroupIdStrategy* (producer) | Only for FIFO queues. Strategy for
setting the messageGroupId on the message. Can be one of the following options:
useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option,
the value of property CamelAwsMessageGroupId will be used. The value can be one
of: useConstant, useExchangeId, usePropertyValue | | MessageGroupIdStrategy
+| *messageDeduplicationIdStrategy* (producer) | Only for FIFO queues. Strategy
for setting the messageDeduplicationId on the message. Can be one of the
following options: useExchangeId, useContentBasedDeduplication. For the
useContentBasedDeduplication option, no messageDeduplicationId will be set on
the message. The value can be one of: useExchangeId,
useContentBasedDeduplication | useExchangeId | String
+| *messageGroupIdStrategy* (producer) | Only for FIFO queues. Strategy for
setting the messageGroupId on the message. Can be one of the following options:
useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option,
the value of property CamelAwsMessageGroupId will be used. The value can be one
of: useConstant, useExchangeId, usePropertyValue | | String
| *operation* (producer) | The operation to do in case the user don't want to
send only a message. The value can be one of: sendBatchMessage, deleteMessage,
listQueues | | Sqs2Operations
| *basicPropertyBinding* (advanced) | Whether the component should use basic
property binding (Camel 2.x) or the newer property binding with additional
capabilities | false | boolean
| *configuration* (advanced) | The AWS SQS default configuration | |
Sqs2Configuration
@@ -145,8 +145,8 @@ with the following path and query parameters:
| *pollStrategy* (consumer) | A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation before an Exchange have been created and being routed in Camel.
| | PollingConsumerPollStrategy
| *delaySeconds* (producer) | Delay sending messages for a number of seconds.
| | Integer
| *lazyStartProducer* (producer) | Whether the producer should be started lazy
(on the first message). By starting lazy you can use this to allow CamelContext
and routes to startup in situations where a producer may otherwise fail during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
-| *messageDeduplicationIdStrategy* (producer) | Only for FIFO queues. Strategy
for setting the messageDeduplicationId on the message. Can be one of the
following options: useExchangeId, useContentBasedDeduplication. For the
useContentBasedDeduplication option, no messageDeduplicationId will be set on
the message. The value can be one of: useExchangeId,
useContentBasedDeduplication | useExchangeId | MessageDeduplicationIdStrategy
-| *messageGroupIdStrategy* (producer) | Only for FIFO queues. Strategy for
setting the messageGroupId on the message. Can be one of the following options:
useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option,
the value of property CamelAwsMessageGroupId will be used. The value can be one
of: useConstant, useExchangeId, usePropertyValue | | MessageGroupIdStrategy
+| *messageDeduplicationIdStrategy* (producer) | Only for FIFO queues. Strategy
for setting the messageDeduplicationId on the message. Can be one of the
following options: useExchangeId, useContentBasedDeduplication. For the
useContentBasedDeduplication option, no messageDeduplicationId will be set on
the message. The value can be one of: useExchangeId,
useContentBasedDeduplication | useExchangeId | String
+| *messageGroupIdStrategy* (producer) | Only for FIFO queues. Strategy for
setting the messageGroupId on the message. Can be one of the following options:
useConstant, useExchangeId, usePropertyValue. For the usePropertyValue option,
the value of property CamelAwsMessageGroupId will be used. The value can be one
of: useConstant, useExchangeId, usePropertyValue | | String
| *operation* (producer) | The operation to do in case the user don't want to
send only a message. The value can be one of: sendBatchMessage, deleteMessage,
listQueues | | Sqs2Operations
| *basicPropertyBinding* (advanced) | Whether the endpoint should use basic
property binding (Camel 2.x) or the newer property binding with additional
capabilities | false | boolean
| *delayQueue* (advanced) | Define if you want to apply delaySeconds option to
the queue or on single messages | false | boolean