This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/master by this push: new 2540523 Regen after aws2-mq updates 2540523 is described below commit 2540523c6811f91c614029d53ca0e9c6ed330764 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Apr 15 12:54:34 2020 +0200 Regen after aws2-mq updates --- .../apache/camel/springboot/catalog/components/aws2-mq.json | 2 ++ .../camel-aws2-mq-starter/src/main/docs/aws2-mq-starter.adoc | 3 ++- .../aws2/mq/springboot/MQ2ComponentConfiguration.java | 12 ++++++++++++ docs/modules/ROOT/pages/aws2-mq-starter.adoc | 3 ++- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-mq.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-mq.json index e1024af..08673f1 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-mq.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-mq.json @@ -25,6 +25,7 @@ "configuration": { "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.mq.MQ2Configuration", "deprecated": false, "secret": false, "description": "Component configuration" }, "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 [...] "operation": { "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.aws2.mq.MQ2Operations", "enum": [ "listBrokers", "createBroker", "deleteBroker", "rebootBroker", "updateBroker", "describeBroker" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "desc [...] + "pojoRequest": { "kind": "property", "displayName": "Pojo Request", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" }, "proxyHost": { "kind": "property", "displayName": "Proxy Host", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the MQ client" }, "proxyPort": { "kind": "property", "displayName": "Proxy Port", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the MQ client" }, "proxyProtocol": { "kind": "property", "displayName": "Proxy Protocol", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol when instantiating the MQ client" }, @@ -38,6 +39,7 @@ "amazonMqClient": { "kind": "parameter", "displayName": "Amazon Mq Client", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "software.amazon.awssdk.services.mq.MqClient", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "To use a existing configured AmazonMQClient as client" }, "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 [...] "operation": { "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.aws2.mq.MQ2Operations", "enum": [ "listBrokers", "createBroker", "deleteBroker", "rebootBroker", "updateBroker", "describeBroker" ], "deprecated": false, "deprecationNote": "", "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "des [...] + "pojoRequest": { "kind": "parameter", "displayName": "Pojo Request", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": "false", "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" }, "proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the MQ client" }, "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the MQ client" }, "proxyProtocol": { "kind": "parameter", "displayName": "Proxy Protocol", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol when instantiating the MQ client" }, diff --git a/components-starter/camel-aws2-mq-starter/src/main/docs/aws2-mq-starter.adoc b/components-starter/camel-aws2-mq-starter/src/main/docs/aws2-mq-starter.adoc index df52fa0..546edef 100644 --- a/components-starter/camel-aws2-mq-starter/src/main/docs/aws2-mq-starter.adoc +++ b/components-starter/camel-aws2-mq-starter/src/main/docs/aws2-mq-starter.adoc @@ -17,7 +17,7 @@ When using aws2-mq with Spring Boot make sure to use the following Maven depende ---- -The component supports 12 options, which are listed below. +The component supports 13 options, which are listed below. @@ -31,6 +31,7 @@ The component supports 12 options, which are listed below. | *camel.component.aws2-mq.enabled* | Whether to enable auto configuration of the aws2-mq component. This is enabled by default. | | Boolean | *camel.component.aws2-mq.lazy-start-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 th [...] | *camel.component.aws2-mq.operation* | The operation to perform. It can be listBrokers,createBroker,deleteBroker | | MQ2Operations +| *camel.component.aws2-mq.pojo-request* | If we want to use a POJO request as body or not | false | Boolean | *camel.component.aws2-mq.proxy-host* | To define a proxy host when instantiating the MQ client | | String | *camel.component.aws2-mq.proxy-port* | To define a proxy port when instantiating the MQ client | | Integer | *camel.component.aws2-mq.proxy-protocol* | To define a proxy protocol when instantiating the MQ client | | Protocol diff --git a/components-starter/camel-aws2-mq-starter/src/main/java/org/apache/camel/component/aws2/mq/springboot/MQ2ComponentConfiguration.java b/components-starter/camel-aws2-mq-starter/src/main/java/org/apache/camel/component/aws2/mq/springboot/MQ2ComponentConfiguration.java index ad68050..67f10e4 100644 --- a/components-starter/camel-aws2-mq-starter/src/main/java/org/apache/camel/component/aws2/mq/springboot/MQ2ComponentConfiguration.java +++ b/components-starter/camel-aws2-mq-starter/src/main/java/org/apache/camel/component/aws2/mq/springboot/MQ2ComponentConfiguration.java @@ -65,6 +65,10 @@ public class MQ2ComponentConfiguration */ private MQ2Operations operation; /** + * If we want to use a POJO request as body or not + */ + private Boolean pojoRequest = false; + /** * To define a proxy host when instantiating the MQ client */ private String proxyHost; @@ -128,6 +132,14 @@ public class MQ2ComponentConfiguration this.operation = operation; } + public Boolean getPojoRequest() { + return pojoRequest; + } + + public void setPojoRequest(Boolean pojoRequest) { + this.pojoRequest = pojoRequest; + } + public String getProxyHost() { return proxyHost; } diff --git a/docs/modules/ROOT/pages/aws2-mq-starter.adoc b/docs/modules/ROOT/pages/aws2-mq-starter.adoc index df52fa0..546edef 100644 --- a/docs/modules/ROOT/pages/aws2-mq-starter.adoc +++ b/docs/modules/ROOT/pages/aws2-mq-starter.adoc @@ -17,7 +17,7 @@ When using aws2-mq with Spring Boot make sure to use the following Maven depende ---- -The component supports 12 options, which are listed below. +The component supports 13 options, which are listed below. @@ -31,6 +31,7 @@ The component supports 12 options, which are listed below. | *camel.component.aws2-mq.enabled* | Whether to enable auto configuration of the aws2-mq component. This is enabled by default. | | Boolean | *camel.component.aws2-mq.lazy-start-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 th [...] | *camel.component.aws2-mq.operation* | The operation to perform. It can be listBrokers,createBroker,deleteBroker | | MQ2Operations +| *camel.component.aws2-mq.pojo-request* | If we want to use a POJO request as body or not | false | Boolean | *camel.component.aws2-mq.proxy-host* | To define a proxy host when instantiating the MQ client | | String | *camel.component.aws2-mq.proxy-port* | To define a proxy port when instantiating the MQ client | | Integer | *camel.component.aws2-mq.proxy-protocol* | To define a proxy protocol when instantiating the MQ client | | Protocol