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 39641d7 [create-pull-request] automated change
39641d7 is described below
commit 39641d7a4f3d635f004605162f012b4ae7fed40e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Nov 15 00:42:05 2020 +0000
[create-pull-request] automated change
---
.../camel/springboot/catalog/components/aws2-mq.json | 6 ++----
.../src/main/docs/aws2-mq-starter.adoc | 3 +--
.../aws2/mq/springboot/MQ2ComponentConfiguration.java | 14 --------------
docs/modules/ROOT/pages/aws2-mq-starter.adoc | 3 +--
4 files changed, 4 insertions(+), 22 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 6455c1f..7700fb9 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
@@ -22,8 +22,7 @@
"lenientProperties": false
},
"componentProperties": {
- "amazonMqClient": { "kind": "property", "displayName": "Amazon Mq Client",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.services.mq.MqClient", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField":
"configuration", "description": "To use a existing configured AmazonMQClient as
client" },
- "autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover
Client", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField":
"configuration", "description": "Setting the autoDiscoverClient mechanism, if
true, the component will look for a client instan [...]
+ "amazonMqClient": { "kind": "property", "displayName": "Amazon Mq Client",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.services.mq.MqClient", "deprecated": false,
"deprecationNote": "", "autowired": true, "secret": false,
"configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration",
"configurationField": "configuration", "description": "To use a existing
configured AmazonMQClient as client" },
"configuration": { "kind": "property", "displayName": "Configuration",
"group": "producer", "label": "", "required": false, "type": "object",
"javaType": "org.apache.camel.component.aws2.mq.MQ2Configuration",
"deprecated": false, "autowired": 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, "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 during star [...]
"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": "", "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "c
[...]
@@ -39,8 +38,7 @@
},
"properties": {
"label": { "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.mq.MQ2Configuration", "configurationField":
"configuration", "description": "Logical name" },
- "amazonMqClient": { "kind": "parameter", "displayName": "Amazon Mq
Client", "group": "producer", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.services.mq.MqClient", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField":
"configuration", "description": "To use a existing configured AmazonMQClient as
client" },
- "autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover
Client", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField":
"configuration", "description": "Setting the autoDiscoverClient mechanism, if
true, the component will look for a client insta [...]
+ "amazonMqClient": { "kind": "parameter", "displayName": "Amazon Mq
Client", "group": "producer", "label": "", "required": false, "type": "object",
"javaType": "software.amazon.awssdk.services.mq.MqClient", "deprecated": false,
"deprecationNote": "", "autowired": true, "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, "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 during sta [...]
"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": "", "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "
[...]
"pojoRequest": { "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.mq.MQ2Configuration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not" },
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 003737b..493f734 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 15 options, which are listed below.
+The component supports 14 options, which are listed below.
@@ -26,7 +26,6 @@ The component supports 15 options, which are listed below.
| Name | Description | Default | Type
| *camel.component.aws2-mq.access-key* | Amazon AWS Access Key | | String
| *camel.component.aws2-mq.amazon-mq-client* | To use a existing configured
AmazonMQClient as client. The option is a
software.amazon.awssdk.services.mq.MqClient type. | | MqClient
-| *camel.component.aws2-mq.auto-discover-client* | Setting the
autoDiscoverClient mechanism, if true, the component will look for a client
instance in the registry automatically otherwise it will skip that checking. |
true | Boolean
| *camel.component.aws2-mq.autowired-enabled* | Whether autowiring is enabled.
This is used for automatic autowiring options (the option must be marked as
autowired) by looking up in the registry to find if there is a single instance
of matching type, which then gets configured on the component. This can be used
for automatic configuring JDBC data sources, JMS connection factories, AWS
Clients, etc. | true | Boolean
| *camel.component.aws2-mq.configuration* | Component configuration. The
option is a org.apache.camel.component.aws2.mq.MQ2Configuration type. | |
MQ2Configuration
| *camel.component.aws2-mq.enabled* | Whether to enable auto configuration of
the aws2-mq component. This is enabled by default. | | Boolean
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 36b56d3..43b6bc9 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
@@ -47,12 +47,6 @@ public class MQ2ComponentConfiguration
*/
private MqClient amazonMqClient;
/**
- * Setting the autoDiscoverClient mechanism, if true, the component will
- * look for a client instance in the registry automatically otherwise it
- * will skip that checking.
- */
- private Boolean autoDiscoverClient = true;
- /**
* Component configuration. The option is a
* org.apache.camel.component.aws2.mq.MQ2Configuration type.
*/
@@ -124,14 +118,6 @@ public class MQ2ComponentConfiguration
this.amazonMqClient = amazonMqClient;
}
- public Boolean getAutoDiscoverClient() {
- return autoDiscoverClient;
- }
-
- public void setAutoDiscoverClient(Boolean autoDiscoverClient) {
- this.autoDiscoverClient = autoDiscoverClient;
- }
-
public MQ2Configuration getConfiguration() {
return configuration;
}
diff --git a/docs/modules/ROOT/pages/aws2-mq-starter.adoc
b/docs/modules/ROOT/pages/aws2-mq-starter.adoc
index 003737b..493f734 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 15 options, which are listed below.
+The component supports 14 options, which are listed below.
@@ -26,7 +26,6 @@ The component supports 15 options, which are listed below.
| Name | Description | Default | Type
| *camel.component.aws2-mq.access-key* | Amazon AWS Access Key | | String
| *camel.component.aws2-mq.amazon-mq-client* | To use a existing configured
AmazonMQClient as client. The option is a
software.amazon.awssdk.services.mq.MqClient type. | | MqClient
-| *camel.component.aws2-mq.auto-discover-client* | Setting the
autoDiscoverClient mechanism, if true, the component will look for a client
instance in the registry automatically otherwise it will skip that checking. |
true | Boolean
| *camel.component.aws2-mq.autowired-enabled* | Whether autowiring is enabled.
This is used for automatic autowiring options (the option must be marked as
autowired) by looking up in the registry to find if there is a single instance
of matching type, which then gets configured on the component. This can be used
for automatic configuring JDBC data sources, JMS connection factories, AWS
Clients, etc. | true | Boolean
| *camel.component.aws2-mq.configuration* | Component configuration. The
option is a org.apache.camel.component.aws2.mq.MQ2Configuration type. | |
MQ2Configuration
| *camel.component.aws2-mq.enabled* | Whether to enable auto configuration of
the aws2-mq component. This is enabled by default. | | Boolean