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

davsclaus pushed a commit to branch camel-3.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 264d33786db2cfed05d25eaed7de3b07fd3010fa
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Nov 26 09:52:18 2019 +0100

    Regen
---
 .../src/main/docs/activemq-component.adoc          |  8 ++++--
 .../camel-amqp/src/main/docs/amqp-component.adoc   |  8 ++++--
 .../modules/ROOT/pages/activemq-component.adoc     |  8 ++++--
 .../modules/ROOT/pages/amqp-component.adoc         |  8 ++++--
 .../springboot/ActiveMQComponentConfiguration.java | 32 ++++++++++++++++++++++
 .../springboot/AMQPComponentConfiguration.java     | 32 ++++++++++++++++++++++
 6 files changed, 88 insertions(+), 8 deletions(-)

diff --git a/components/camel-activemq/src/main/docs/activemq-component.adoc 
b/components/camel-activemq/src/main/docs/activemq-component.adoc
index dc54465..143ed11 100644
--- a/components/camel-activemq/src/main/docs/activemq-component.adoc
+++ b/components/camel-activemq/src/main/docs/activemq-component.adoc
@@ -48,7 +48,7 @@ activemq:foo
 == Component options
 
 // component options: START
-The ActiveMQ component supports 86 options, which are listed below.
+The ActiveMQ component supports 88 options, which are listed below.
 
 
 
@@ -60,6 +60,8 @@ The ActiveMQ component supports 86 options, which are listed 
below.
 | *usePooledConnection* (common) | Enables or disables whether a 
PooledConnectionFactory will be used so that when messages are sent to ActiveMQ 
from outside of a message consuming thread, pooling will be used rather than 
the default with the Spring JmsTemplate which will create a new connection, 
session, producer for each message then close them all down again. The default 
value is true. | false | boolean
 | *useSingleConnection* (common) | Enables or disables whether a Spring 
SingleConnectionFactory will be used so that when messages are sent to ActiveMQ 
from outside of a message consuming thread, pooling will be used rather than 
the default with the Spring JmsTemplate which will create a new connection, 
session, producer for each message then close them all down again. The default 
value is false and a pooled connection is used by default. | false | boolean
 | *configuration* (common) | Configuration of ActiveMQ |  | JmsConfiguration
+| *allowAutoWired ConnectionFactory* (advanced) | Whether to auto-discover 
ConnectionFactory from the registry, if no connection factory has been 
configured. If only one instance of ConnectionFactory is found then it will be 
used. This is enabled by default. | false | boolean
+| *allowAutoWired DestinationResolver* (advanced) | Whether to auto-discover 
DestinationResolver from the registry, if no destination resolver has been 
configured. If only one instance of DestinationResolver is found then it will 
be used. This is enabled by default. | false | boolean
 | *acceptMessagesWhile Stopping* (consumer) | Specifies whether the consumer 
accept messages while it is stopping. You may consider enabling this option, if 
you start and stop JMS routes at runtime, while there are still messages 
enqueued on the queue. If this option is false, and you stop the JMS route, 
then messages may be rejected, and the JMS broker would have to attempt 
redeliveries, which yet again may be rejected, and eventually the message may 
be moved at a dead letter queue on t [...]
 | *allowReplyManagerQuick Stop* (consumer) | Whether the 
DefaultMessageListenerContainer used in the reply managers for request-reply 
messaging allow the DefaultMessageListenerContainer.runningAllowed flag to 
quick stop in case JmsConfiguration#isAcceptMessagesWhileStopping is enabled, 
and org.apache.camel.CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable this flag. | false  [...]
 | *acknowledgementMode* (consumer) | The JMS acknowledgement mode defined as 
an Integer. Allows you to set vendor-specific extensions to the acknowledgment 
mode. For the regular modes, it is preferable to use the 
acknowledgementModeName instead. |  | int
@@ -285,7 +287,7 @@ When using Spring Boot make sure to use the following Maven 
dependency to have s
 ----
 
 
-The component supports 87 options, which are listed below.
+The component supports 89 options, which are listed below.
 
 
 
@@ -296,6 +298,8 @@ The component supports 87 options, which are listed below.
 | *camel.component.activemq.acknowledgement-mode* | The JMS acknowledgement 
mode defined as an Integer. Allows you to set vendor-specific extensions to the 
acknowledgment mode. For the regular modes, it is preferable to use the 
acknowledgementModeName instead. |  | Integer
 | *camel.component.activemq.acknowledgement-mode-name* | The JMS 
acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, 
AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE | AUTO_ACKNOWLEDGE | String
 | *camel.component.activemq.allow-additional-headers* | This option is used to 
allow additional headers which may have values that are invalid according to 
JMS specification. For example some message systems such as WMQ do this with 
header names using prefix JMS_IBM_MQMD_ containing values with byte array or 
other invalid types. You can specify multiple header names separated by comma, 
and use as suffix for wildcard matching. |  | String
+| *camel.component.activemq.allow-auto-wired-connection-factory* | Whether to 
auto-discover ConnectionFactory from the registry, if no connection factory has 
been configured. If only one instance of ConnectionFactory is found then it 
will be used. This is enabled by default. | false | Boolean
+| *camel.component.activemq.allow-auto-wired-destination-resolver* | Whether 
to auto-discover DestinationResolver from the registry, if no destination 
resolver has been configured. If only one instance of DestinationResolver is 
found then it will be used. This is enabled by default. | false | Boolean
 | *camel.component.activemq.allow-null-body* | Whether to allow sending 
messages with no body. If this option is false and the message body is null, 
then an JMSException is thrown. | true | Boolean
 | *camel.component.activemq.allow-reply-manager-quick-stop* | Whether the 
DefaultMessageListenerContainer used in the reply managers for request-reply 
messaging allow the DefaultMessageListenerContainer.runningAllowed flag to 
quick stop in case JmsConfiguration#isAcceptMessagesWhileStopping is enabled, 
and org.apache.camel.CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable th [...]
 | *camel.component.activemq.always-copy-message* | If true, Camel will always 
make a JMS message copy of the message when it is passed to the producer for 
sending. Copying the message is needed in some situations, such as when a 
replyToDestinationSelectorName is set (incidentally, Camel will set the 
alwaysCopyMessage option to true, if a replyToDestinationSelectorName is set). 
| false | Boolean
diff --git a/components/camel-amqp/src/main/docs/amqp-component.adoc 
b/components/camel-amqp/src/main/docs/amqp-component.adoc
index 43d0aac..3881f33 100644
--- a/components/camel-amqp/src/main/docs/amqp-component.adoc
+++ b/components/camel-amqp/src/main/docs/amqp-component.adoc
@@ -40,7 +40,7 @@ xref:jms-component.adoc[JMS] component after the destination 
name.
 
 
 // component options: START
-The AMQP component supports 83 options, which are listed below.
+The AMQP component supports 85 options, which are listed below.
 
 
 
@@ -48,6 +48,8 @@ The AMQP component supports 83 options, which are listed 
below.
 |===
 | Name | Description | Default | Type
 | *includeAmqpAnnotations* (common) | Whether to include AMQP annotations when 
mapping from AMQP to Camel Message. Setting this to true will map AMQP message 
annotations to message headers. Due to limitations in Apache Qpid JMS API, 
currently delivery annotations are ignored. | false | boolean
+| *allowAutoWired ConnectionFactory* (advanced) | Whether to auto-discover 
ConnectionFactory from the registry, if no connection factory has been 
configured. If only one instance of ConnectionFactory is found then it will be 
used. This is enabled by default. | false | boolean
+| *allowAutoWired DestinationResolver* (advanced) | Whether to auto-discover 
DestinationResolver from the registry, if no destination resolver has been 
configured. If only one instance of DestinationResolver is found then it will 
be used. This is enabled by default. | false | boolean
 | *configuration* (advanced) | To use a shared JMS configuration |  | 
JmsConfiguration
 | *acceptMessagesWhile Stopping* (consumer) | Specifies whether the consumer 
accept messages while it is stopping. You may consider enabling this option, if 
you start and stop JMS routes at runtime, while there are still messages 
enqueued on the queue. If this option is false, and you stop the JMS route, 
then messages may be rejected, and the JMS broker would have to attempt 
redeliveries, which yet again may be rejected, and eventually the message may 
be moved at a dead letter queue on t [...]
 | *allowReplyManagerQuick Stop* (consumer) | Whether the 
DefaultMessageListenerContainer used in the reply managers for request-reply 
messaging allow the DefaultMessageListenerContainer.runningAllowed flag to 
quick stop in case JmsConfiguration#isAcceptMessagesWhileStopping is enabled, 
and org.apache.camel.CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable this flag. | false  [...]
@@ -276,7 +278,7 @@ When using Spring Boot make sure to use the following Maven 
dependency to have s
 ----
 
 
-The component supports 84 options, which are listed below.
+The component supports 86 options, which are listed below.
 
 
 
@@ -287,6 +289,8 @@ The component supports 84 options, which are listed below.
 | *camel.component.amqp.acknowledgement-mode* | The JMS acknowledgement mode 
defined as an Integer. Allows you to set vendor-specific extensions to the 
acknowledgment mode. For the regular modes, it is preferable to use the 
acknowledgementModeName instead. |  | Integer
 | *camel.component.amqp.acknowledgement-mode-name* | The JMS acknowledgement 
name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, 
AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE | AUTO_ACKNOWLEDGE | String
 | *camel.component.amqp.allow-additional-headers* | This option is used to 
allow additional headers which may have values that are invalid according to 
JMS specification. For example some message systems such as WMQ do this with 
header names using prefix JMS_IBM_MQMD_ containing values with byte array or 
other invalid types. You can specify multiple header names separated by comma, 
and use as suffix for wildcard matching. |  | String
+| *camel.component.amqp.allow-auto-wired-connection-factory* | Whether to 
auto-discover ConnectionFactory from the registry, if no connection factory has 
been configured. If only one instance of ConnectionFactory is found then it 
will be used. This is enabled by default. | false | Boolean
+| *camel.component.amqp.allow-auto-wired-destination-resolver* | Whether to 
auto-discover DestinationResolver from the registry, if no destination resolver 
has been configured. If only one instance of DestinationResolver is found then 
it will be used. This is enabled by default. | false | Boolean
 | *camel.component.amqp.allow-null-body* | Whether to allow sending messages 
with no body. If this option is false and the message body is null, then an 
JMSException is thrown. | true | Boolean
 | *camel.component.amqp.allow-reply-manager-quick-stop* | Whether the 
DefaultMessageListenerContainer used in the reply managers for request-reply 
messaging allow the DefaultMessageListenerContainer.runningAllowed flag to 
quick stop in case JmsConfiguration#isAcceptMessagesWhileStopping is enabled, 
and org.apache.camel.CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable this f [...]
 | *camel.component.amqp.always-copy-message* | If true, Camel will always make 
a JMS message copy of the message when it is passed to the producer for 
sending. Copying the message is needed in some situations, such as when a 
replyToDestinationSelectorName is set (incidentally, Camel will set the 
alwaysCopyMessage option to true, if a replyToDestinationSelectorName is set). 
| false | Boolean
diff --git a/docs/components/modules/ROOT/pages/activemq-component.adoc 
b/docs/components/modules/ROOT/pages/activemq-component.adoc
index e7283bc83..5d0ee31 100644
--- a/docs/components/modules/ROOT/pages/activemq-component.adoc
+++ b/docs/components/modules/ROOT/pages/activemq-component.adoc
@@ -49,7 +49,7 @@ activemq:foo
 == Component options
 
 // component options: START
-The ActiveMQ component supports 86 options, which are listed below.
+The ActiveMQ component supports 88 options, which are listed below.
 
 
 
@@ -61,6 +61,8 @@ The ActiveMQ component supports 86 options, which are listed 
below.
 | *usePooledConnection* (common) | Enables or disables whether a 
PooledConnectionFactory will be used so that when messages are sent to ActiveMQ 
from outside of a message consuming thread, pooling will be used rather than 
the default with the Spring JmsTemplate which will create a new connection, 
session, producer for each message then close them all down again. The default 
value is true. | false | boolean
 | *useSingleConnection* (common) | Enables or disables whether a Spring 
SingleConnectionFactory will be used so that when messages are sent to ActiveMQ 
from outside of a message consuming thread, pooling will be used rather than 
the default with the Spring JmsTemplate which will create a new connection, 
session, producer for each message then close them all down again. The default 
value is false and a pooled connection is used by default. | false | boolean
 | *configuration* (common) | Configuration of ActiveMQ |  | JmsConfiguration
+| *allowAutoWired ConnectionFactory* (advanced) | Whether to auto-discover 
ConnectionFactory from the registry, if no connection factory has been 
configured. If only one instance of ConnectionFactory is found then it will be 
used. This is enabled by default. | false | boolean
+| *allowAutoWired DestinationResolver* (advanced) | Whether to auto-discover 
DestinationResolver from the registry, if no destination resolver has been 
configured. If only one instance of DestinationResolver is found then it will 
be used. This is enabled by default. | false | boolean
 | *acceptMessagesWhile Stopping* (consumer) | Specifies whether the consumer 
accept messages while it is stopping. You may consider enabling this option, if 
you start and stop JMS routes at runtime, while there are still messages 
enqueued on the queue. If this option is false, and you stop the JMS route, 
then messages may be rejected, and the JMS broker would have to attempt 
redeliveries, which yet again may be rejected, and eventually the message may 
be moved at a dead letter queue on t [...]
 | *allowReplyManagerQuick Stop* (consumer) | Whether the 
DefaultMessageListenerContainer used in the reply managers for request-reply 
messaging allow the DefaultMessageListenerContainer.runningAllowed flag to 
quick stop in case JmsConfiguration#isAcceptMessagesWhileStopping is enabled, 
and org.apache.camel.CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable this flag. | false  [...]
 | *acknowledgementMode* (consumer) | The JMS acknowledgement mode defined as 
an Integer. Allows you to set vendor-specific extensions to the acknowledgment 
mode. For the regular modes, it is preferable to use the 
acknowledgementModeName instead. |  | int
@@ -286,7 +288,7 @@ When using Spring Boot make sure to use the following Maven 
dependency to have s
 ----
 
 
-The component supports 87 options, which are listed below.
+The component supports 89 options, which are listed below.
 
 
 
@@ -297,6 +299,8 @@ The component supports 87 options, which are listed below.
 | *camel.component.activemq.acknowledgement-mode* | The JMS acknowledgement 
mode defined as an Integer. Allows you to set vendor-specific extensions to the 
acknowledgment mode. For the regular modes, it is preferable to use the 
acknowledgementModeName instead. |  | Integer
 | *camel.component.activemq.acknowledgement-mode-name* | The JMS 
acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, 
AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE | AUTO_ACKNOWLEDGE | String
 | *camel.component.activemq.allow-additional-headers* | This option is used to 
allow additional headers which may have values that are invalid according to 
JMS specification. For example some message systems such as WMQ do this with 
header names using prefix JMS_IBM_MQMD_ containing values with byte array or 
other invalid types. You can specify multiple header names separated by comma, 
and use as suffix for wildcard matching. |  | String
+| *camel.component.activemq.allow-auto-wired-connection-factory* | Whether to 
auto-discover ConnectionFactory from the registry, if no connection factory has 
been configured. If only one instance of ConnectionFactory is found then it 
will be used. This is enabled by default. | false | Boolean
+| *camel.component.activemq.allow-auto-wired-destination-resolver* | Whether 
to auto-discover DestinationResolver from the registry, if no destination 
resolver has been configured. If only one instance of DestinationResolver is 
found then it will be used. This is enabled by default. | false | Boolean
 | *camel.component.activemq.allow-null-body* | Whether to allow sending 
messages with no body. If this option is false and the message body is null, 
then an JMSException is thrown. | true | Boolean
 | *camel.component.activemq.allow-reply-manager-quick-stop* | Whether the 
DefaultMessageListenerContainer used in the reply managers for request-reply 
messaging allow the DefaultMessageListenerContainer.runningAllowed flag to 
quick stop in case JmsConfiguration#isAcceptMessagesWhileStopping is enabled, 
and org.apache.camel.CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable th [...]
 | *camel.component.activemq.always-copy-message* | If true, Camel will always 
make a JMS message copy of the message when it is passed to the producer for 
sending. Copying the message is needed in some situations, such as when a 
replyToDestinationSelectorName is set (incidentally, Camel will set the 
alwaysCopyMessage option to true, if a replyToDestinationSelectorName is set). 
| false | Boolean
diff --git a/docs/components/modules/ROOT/pages/amqp-component.adoc 
b/docs/components/modules/ROOT/pages/amqp-component.adoc
index 62d4fc1..bfbbd9e 100644
--- a/docs/components/modules/ROOT/pages/amqp-component.adoc
+++ b/docs/components/modules/ROOT/pages/amqp-component.adoc
@@ -41,7 +41,7 @@ xref:jms-component.adoc[JMS] component after the destination 
name.
 
 
 // component options: START
-The AMQP component supports 83 options, which are listed below.
+The AMQP component supports 85 options, which are listed below.
 
 
 
@@ -49,6 +49,8 @@ The AMQP component supports 83 options, which are listed 
below.
 |===
 | Name | Description | Default | Type
 | *includeAmqpAnnotations* (common) | Whether to include AMQP annotations when 
mapping from AMQP to Camel Message. Setting this to true will map AMQP message 
annotations to message headers. Due to limitations in Apache Qpid JMS API, 
currently delivery annotations are ignored. | false | boolean
+| *allowAutoWired ConnectionFactory* (advanced) | Whether to auto-discover 
ConnectionFactory from the registry, if no connection factory has been 
configured. If only one instance of ConnectionFactory is found then it will be 
used. This is enabled by default. | false | boolean
+| *allowAutoWired DestinationResolver* (advanced) | Whether to auto-discover 
DestinationResolver from the registry, if no destination resolver has been 
configured. If only one instance of DestinationResolver is found then it will 
be used. This is enabled by default. | false | boolean
 | *configuration* (advanced) | To use a shared JMS configuration |  | 
JmsConfiguration
 | *acceptMessagesWhile Stopping* (consumer) | Specifies whether the consumer 
accept messages while it is stopping. You may consider enabling this option, if 
you start and stop JMS routes at runtime, while there are still messages 
enqueued on the queue. If this option is false, and you stop the JMS route, 
then messages may be rejected, and the JMS broker would have to attempt 
redeliveries, which yet again may be rejected, and eventually the message may 
be moved at a dead letter queue on t [...]
 | *allowReplyManagerQuick Stop* (consumer) | Whether the 
DefaultMessageListenerContainer used in the reply managers for request-reply 
messaging allow the DefaultMessageListenerContainer.runningAllowed flag to 
quick stop in case JmsConfiguration#isAcceptMessagesWhileStopping is enabled, 
and org.apache.camel.CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable this flag. | false  [...]
@@ -277,7 +279,7 @@ When using Spring Boot make sure to use the following Maven 
dependency to have s
 ----
 
 
-The component supports 84 options, which are listed below.
+The component supports 86 options, which are listed below.
 
 
 
@@ -288,6 +290,8 @@ The component supports 84 options, which are listed below.
 | *camel.component.amqp.acknowledgement-mode* | The JMS acknowledgement mode 
defined as an Integer. Allows you to set vendor-specific extensions to the 
acknowledgment mode. For the regular modes, it is preferable to use the 
acknowledgementModeName instead. |  | Integer
 | *camel.component.amqp.acknowledgement-mode-name* | The JMS acknowledgement 
name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, 
AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE | AUTO_ACKNOWLEDGE | String
 | *camel.component.amqp.allow-additional-headers* | This option is used to 
allow additional headers which may have values that are invalid according to 
JMS specification. For example some message systems such as WMQ do this with 
header names using prefix JMS_IBM_MQMD_ containing values with byte array or 
other invalid types. You can specify multiple header names separated by comma, 
and use as suffix for wildcard matching. |  | String
+| *camel.component.amqp.allow-auto-wired-connection-factory* | Whether to 
auto-discover ConnectionFactory from the registry, if no connection factory has 
been configured. If only one instance of ConnectionFactory is found then it 
will be used. This is enabled by default. | false | Boolean
+| *camel.component.amqp.allow-auto-wired-destination-resolver* | Whether to 
auto-discover DestinationResolver from the registry, if no destination resolver 
has been configured. If only one instance of DestinationResolver is found then 
it will be used. This is enabled by default. | false | Boolean
 | *camel.component.amqp.allow-null-body* | Whether to allow sending messages 
with no body. If this option is false and the message body is null, then an 
JMSException is thrown. | true | Boolean
 | *camel.component.amqp.allow-reply-manager-quick-stop* | Whether the 
DefaultMessageListenerContainer used in the reply managers for request-reply 
messaging allow the DefaultMessageListenerContainer.runningAllowed flag to 
quick stop in case JmsConfiguration#isAcceptMessagesWhileStopping is enabled, 
and org.apache.camel.CamelContext is currently being stopped. This quick stop 
ability is enabled by default in the regular JMS consumers but to enable for 
reply managers you must enable this f [...]
 | *camel.component.amqp.always-copy-message* | If true, Camel will always make 
a JMS message copy of the message when it is passed to the producer for 
sending. Copying the message is needed in some situations, such as when a 
replyToDestinationSelectorName is set (incidentally, Camel will set the 
alwaysCopyMessage option to true, if a replyToDestinationSelectorName is set). 
| false | Boolean
diff --git 
a/platforms/spring-boot/components-starter/camel-activemq-starter/src/main/java/org/apache/camel/component/activemq/springboot/ActiveMQComponentConfiguration.java
 
b/platforms/spring-boot/components-starter/camel-activemq-starter/src/main/java/org/apache/camel/component/activemq/springboot/ActiveMQComponentConfiguration.java
index fb91826..c5e6ef5 100644
--- 
a/platforms/spring-boot/components-starter/camel-activemq-starter/src/main/java/org/apache/camel/component/activemq/springboot/ActiveMQComponentConfiguration.java
+++ 
b/platforms/spring-boot/components-starter/camel-activemq-starter/src/main/java/org/apache/camel/component/activemq/springboot/ActiveMQComponentConfiguration.java
@@ -76,6 +76,20 @@ public class ActiveMQComponentConfiguration
      */
     private String configuration;
     /**
+     * Whether to auto-discover ConnectionFactory from the registry, if no
+     * connection factory has been configured. If only one instance of
+     * ConnectionFactory is found then it will be used. This is enabled by
+     * default.
+     */
+    private Boolean allowAutoWiredConnectionFactory = false;
+    /**
+     * Whether to auto-discover DestinationResolver from the registry, if no
+     * destination resolver has been configured. If only one instance of
+     * DestinationResolver is found then it will be used. This is enabled by
+     * default.
+     */
+    private Boolean allowAutoWiredDestinationResolver = false;
+    /**
      * Specifies whether the consumer accept messages while it is stopping. You
      * may consider enabling this option, if you start and stop JMS routes at
      * runtime, while there are still messages enqueued on the queue. If this
@@ -708,6 +722,24 @@ public class ActiveMQComponentConfiguration
         this.configuration = configuration;
     }
 
+    public Boolean getAllowAutoWiredConnectionFactory() {
+        return allowAutoWiredConnectionFactory;
+    }
+
+    public void setAllowAutoWiredConnectionFactory(
+            Boolean allowAutoWiredConnectionFactory) {
+        this.allowAutoWiredConnectionFactory = allowAutoWiredConnectionFactory;
+    }
+
+    public Boolean getAllowAutoWiredDestinationResolver() {
+        return allowAutoWiredDestinationResolver;
+    }
+
+    public void setAllowAutoWiredDestinationResolver(
+            Boolean allowAutoWiredDestinationResolver) {
+        this.allowAutoWiredDestinationResolver = 
allowAutoWiredDestinationResolver;
+    }
+
     public Boolean getAcceptMessagesWhileStopping() {
         return acceptMessagesWhileStopping;
     }
diff --git 
a/platforms/spring-boot/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
 
b/platforms/spring-boot/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
index 7efaab6..6296b25 100644
--- 
a/platforms/spring-boot/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
+++ 
b/platforms/spring-boot/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
@@ -48,6 +48,20 @@ public class AMQPComponentConfiguration
      */
     private Boolean includeAmqpAnnotations = false;
     /**
+     * Whether to auto-discover ConnectionFactory from the registry, if no
+     * connection factory has been configured. If only one instance of
+     * ConnectionFactory is found then it will be used. This is enabled by
+     * default.
+     */
+    private Boolean allowAutoWiredConnectionFactory = false;
+    /**
+     * Whether to auto-discover DestinationResolver from the registry, if no
+     * destination resolver has been configured. If only one instance of
+     * DestinationResolver is found then it will be used. This is enabled by
+     * default.
+     */
+    private Boolean allowAutoWiredDestinationResolver = false;
+    /**
      * To use a shared JMS configuration. The option is a
      * org.apache.camel.component.jms.JmsConfiguration type.
      */
@@ -653,6 +667,24 @@ public class AMQPComponentConfiguration
         this.includeAmqpAnnotations = includeAmqpAnnotations;
     }
 
+    public Boolean getAllowAutoWiredConnectionFactory() {
+        return allowAutoWiredConnectionFactory;
+    }
+
+    public void setAllowAutoWiredConnectionFactory(
+            Boolean allowAutoWiredConnectionFactory) {
+        this.allowAutoWiredConnectionFactory = allowAutoWiredConnectionFactory;
+    }
+
+    public Boolean getAllowAutoWiredDestinationResolver() {
+        return allowAutoWiredDestinationResolver;
+    }
+
+    public void setAllowAutoWiredDestinationResolver(
+            Boolean allowAutoWiredDestinationResolver) {
+        this.allowAutoWiredDestinationResolver = 
allowAutoWiredDestinationResolver;
+    }
+
     public String getConfiguration() {
         return configuration;
     }

Reply via email to