camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject [10/15] camel git commit: CAMEL-10550: re-generated starters
Date Tue, 06 Dec 2016 16:09:07 GMT
CAMEL-10550: re-generated starters


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2f9a99cc
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2f9a99cc
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2f9a99cc

Branch: refs/heads/camel-2.18.x
Commit: 2f9a99ccdabaf8b4666b8ae9556adc3513238c02
Parents: 2d902ab
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Tue Dec 6 15:24:32 2016 +0100
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Tue Dec 6 15:24:32 2016 +0100

----------------------------------------------------------------------
 .../AhcComponentAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../WsComponentAutoConfiguration.java           |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../AMQPComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../ApnsComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../WebsocketComponentAutoConfiguration.java    |  33 ++++
 .../WebsocketComponentConfiguration.java        |   4 +-
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../AvroComponentAutoConfiguration.java         |  33 ++++
 .../AvroDataFormatAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../BarcodeDataFormatAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../Base64DataFormatAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../BeanIODataFormatAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../BeanstalkComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../BindyCsvDataFormatAutoConfiguration.java    |  33 ++++
 ...yFixedLengthDataFormatAutoConfiguration.java |  33 ++++
 ...KeyValuePairDataFormatAutoConfiguration.java |  33 ++++
 ...dditional-spring-configuration-metadata.json |  22 +++
 .../BoonDataFormatAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../BoxComponentAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../BraintreeComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../CacheComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../CastorDataFormatAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../CometdComponentAutoConfiguration.java       |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../DirectComponentAutoConfiguration.java       |  33 ++++
 .../DirectVmComponentAutoConfiguration.java     |  33 ++++
 .../LogComponentAutoConfiguration.java          |  33 ++++
 .../PropertiesComponentAutoConfiguration.java   |  33 ++++
 .../RestComponentAutoConfiguration.java         |  33 ++++
 .../SchedulerComponentAutoConfiguration.java    |  33 ++++
 .../SedaComponentAutoConfiguration.java         |  33 ++++
 .../StubComponentAutoConfiguration.java         |  33 ++++
 .../ValidatorComponentAutoConfiguration.java    |  33 ++++
 .../VmComponentAutoConfiguration.java           |  32 ++++
 .../XsltComponentAutoConfiguration.java         |  33 ++++
 .../GzipDataFormatAutoConfiguration.java        |  33 ++++
 ...erializationDataFormatAutoConfiguration.java |  33 ++++
 .../StringDataFormatAutoConfiguration.java      |  33 ++++
 .../ZipDataFormatAutoConfiguration.java         |  33 ++++
 .../BeanLanguageAutoConfiguration.java          |  33 ++++
 .../ConstantLanguageAutoConfiguration.java      |  33 ++++
 .../HeaderLanguageAutoConfiguration.java        |  33 ++++
 ...changePropertyLanguageAutoConfiguration.java |  33 ++++
 .../RefLanguageAutoConfiguration.java           |  32 ++++
 .../FileLanguageAutoConfiguration.java          |  33 ++++
 .../SimpleLanguageAutoConfiguration.java        |  33 ++++
 .../TokenizeLanguageAutoConfiguration.java      |  33 ++++
 .../XMLTokenizeLanguageAutoConfiguration.java   |  33 ++++
 .../XPathLanguageAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json | 154 +++++++++++++++++++
 ...italSignatureComponentAutoConfiguration.java |  33 ++++
 .../CryptoDataFormatAutoConfiguration.java      |  33 ++++
 .../PGPDataFormatAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  22 +++
 .../CsvDataFormatAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../CxfRsComponentAutoConfiguration.java        |  33 ++++
 .../CxfComponentAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../DisruptorComponentAutoConfiguration.java    |  33 ++++
 .../DisruptorVmComponentAutoConfiguration.java  |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../DockerComponentAutoConfiguration.java       |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 ...ElasticsearchComponentAutoConfiguration.java |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../ElsqlComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../FacebookComponentAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../FlatpackDataFormatAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../FlinkComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../FreemarkerComponentAutoConfiguration.java   |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../GangliaComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 ...oogleCalendarComponentAutoConfiguration.java |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../GoogleDriveComponentAutoConfiguration.java  |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../GoogleMailComponentAutoConfiguration.java   |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../GroovyLanguageAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../GsonDataFormatAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 ...GuavaEventBusComponentAutoConfiguration.java |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../HazelcastComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../HBaseComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../HdfsComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../HdfsComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../HessianDataFormatAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../HL7DataFormatAutoConfiguration.java         |  33 ++++
 .../TerserLanguageAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../HttpComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../HttpComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../ICalDataFormatAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JacksonDataFormatAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JacksonXMLDataFormatAutoConfiguration.java  |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JaxbDataFormatAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JdbcComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JettyHttpComponentAutoConfiguration9.java   |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JGroupsComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JibxDataFormatAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JmsComponentAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JohnzonDataFormatAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JoltComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SqlLanguageAutoConfiguration.java           |  32 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JpaComponentAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../ScpComponentAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JsonPathLanguageAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../Jt400ComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JuelLanguageAutoConfiguration.java          |  32 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../JXPathLanguageAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../KafkaComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../KestrelComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../LinkedInComponentAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../LuceneComponentAutoConfiguration.java       |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../LumberjackComponentAutoConfiguration.java   |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../LZFDataFormatAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../MailComponentAutoConfiguration.java         |  33 ++++
 ...imeMultipartDataFormatAutoConfiguration.java |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../MetricsComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../Mina2ComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../MQTTComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../MsvComponentAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../MustacheComponentAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../MvelLanguageAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../MyBatisComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../NagiosComponentAutoConfiguration.java       |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../NettyHttpComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../NettyComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../NettyHttpComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../NettyComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../OgnlLanguageAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../Olingo2ComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../OpenShiftComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../PahoComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../ProtobufDataFormatAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../QuartzComponentAutoConfiguration.java       |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../QuickfixjComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../RestletComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../RssDataFormatAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SalesforceComponentAutoConfiguration.java   |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../XQueryComponentAutoConfiguration.java       |  33 ++++
 .../XQueryLanguageAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../JavaScriptLanguageAutoConfiguration.java    |  33 ++++
 .../PhpLanguageAutoConfiguration.java           |  32 ++++
 .../PythonLanguageAutoConfiguration.java        |  33 ++++
 .../RubyLanguageAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  28 ++++
 .../ServiceNowComponentAutoConfiguration.java   |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../ServletComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SjmsBatchComponentAutoConfiguration.java    |  33 ++++
 .../SjmsComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../SlackComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SmppComponentAutoConfiguration.java         |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SnakeYAMLDataFormatAutoConfiguration.java   |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SoapJaxbDataFormatAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SparkComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SplunkComponentAutoConfiguration.java       |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SpringBatchComponentAutoConfiguration.java  |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../EventComponentAutoConfiguration.java        |  33 ++++
 .../SpelLanguageAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../SqlComponentAutoConfiguration.java          |  33 ++++
 .../SqlStoredComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../SshComponentAutoConfiguration.java          |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../StompComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../SyslogDataFormatAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../TidyMarkupDataFormatAutoConfiguration.java  |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../TarFileDataFormatAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../TelegramComponentAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../TwitterComponentAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../UndertowComponentAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 ...UniVocityCsvDataFormatAutoConfiguration.java |  33 ++++
 ...tyFixedWidthDataFormatAutoConfiguration.java |  33 ++++
 ...UniVocityTsvDataFormatAutoConfiguration.java |  33 ++++
 ...dditional-spring-configuration-metadata.json |  22 +++
 .../VelocityComponentAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../VertxComponentAutoConfiguration.java        |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../WebsocketComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../XmlBeansDataFormatAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../XmlJsonDataFormatAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../XmlRpcDataFormatAutoConfiguration.java      |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../XmlSignatureComponentAutoConfiguration.java |  33 ++++
 .../XMLSecurityDataFormatAutoConfiguration.java |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../JsonDataFormatAutoConfiguration.java        |  33 ++++
 .../XStreamDataFormatAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  16 ++
 .../YammerComponentAutoConfiguration.java       |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../ZipFileDataFormatAutoConfiguration.java     |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 .../ZooKeeperComponentAutoConfiguration.java    |  33 ++++
 ...dditional-spring-configuration-metadata.json |  10 ++
 295 files changed, 7088 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java b/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
index e226da5..10bb171 100644
--- a/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
+++ b/components-starter/camel-ahc-starter/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
@@ -21,17 +21,25 @@ import java.util.Map;
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.ahc.AhcComponent;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(AhcComponentConfiguration.class)
+@Conditional(AhcComponentAutoConfiguration.Condition.class)
 public class AhcComponentAutoConfiguration {
 
     @Bean(name = "ahc-component")
@@ -68,4 +76,29 @@ public class AhcComponentAutoConfiguration {
                 camelContext.getTypeConverter(), component, parameters);
         return component;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.component.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.component.ahc");
+            if (isEnabled(conditionContext, "camel.component.ahc.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-ahc-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-ahc-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-ahc-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..395494a
--- /dev/null
+++ b/components-starter/camel-ahc-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.component.ahc.enabled",
+      "description": "Enable ahc component",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java b/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
index 97427fd..aa4bb5b 100644
--- a/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
+++ b/components-starter/camel-ahc-ws-starter/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
@@ -21,17 +21,25 @@ import java.util.Map;
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.ahc.ws.WsComponent;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(WsComponentConfiguration.class)
+@Conditional(WsComponentAutoConfiguration.Condition.class)
 public class WsComponentAutoConfiguration {
 
     @Bean(name = {"ahc-ws-component", "ahc-wss-component"})
@@ -68,4 +76,29 @@ public class WsComponentAutoConfiguration {
                 camelContext.getTypeConverter(), component, parameters);
         return component;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.component.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.component.ahc-ws");
+            if (isEnabled(conditionContext, "camel.component.ahc-ws.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-ahc-ws-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-ahc-ws-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-ahc-ws-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..9a4a60b
--- /dev/null
+++ b/components-starter/camel-ahc-ws-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.component.ahc-ws.enabled",
+      "description": "Enable ahc-ws component",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java b/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
index 6da1448..2ed5076 100644
--- a/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
+++ b/components-starter/camel-amqp-starter/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
@@ -21,17 +21,25 @@ import java.util.Map;
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.amqp.AMQPComponent;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(AMQPComponentConfiguration.class)
+@Conditional(AMQPComponentAutoConfiguration.Condition.class)
 public class AMQPComponentAutoConfiguration {
 
     @Bean(name = "amqp-component")
@@ -68,4 +76,29 @@ public class AMQPComponentAutoConfiguration {
                 camelContext.getTypeConverter(), component, parameters);
         return component;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.component.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.component.amqp");
+            if (isEnabled(conditionContext, "camel.component.amqp.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-amqp-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-amqp-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-amqp-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..8689eeb
--- /dev/null
+++ b/components-starter/camel-amqp-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.component.amqp.enabled",
+      "description": "Enable amqp component",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java b/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
index 7d623dc..d6c762b 100644
--- a/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
+++ b/components-starter/camel-apns-starter/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
@@ -21,17 +21,25 @@ import java.util.Map;
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.apns.ApnsComponent;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(ApnsComponentConfiguration.class)
+@Conditional(ApnsComponentAutoConfiguration.Condition.class)
 public class ApnsComponentAutoConfiguration {
 
     @Bean(name = "apns-component")
@@ -68,4 +76,29 @@ public class ApnsComponentAutoConfiguration {
                 camelContext.getTypeConverter(), component, parameters);
         return component;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.component.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.component.apns");
+            if (isEnabled(conditionContext, "camel.component.apns.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-apns-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-apns-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-apns-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..8bacd41
--- /dev/null
+++ b/components-starter/camel-apns-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.component.apns.enabled",
+      "description": "Enable apns component",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java b/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
index 8ca721c..7114836 100644
--- a/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
+++ b/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
@@ -21,17 +21,25 @@ import java.util.Map;
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.atmosphere.websocket.WebsocketComponent;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(WebsocketComponentConfiguration.class)
+@Conditional(WebsocketComponentAutoConfiguration.Condition.class)
 public class WebsocketComponentAutoConfiguration {
 
     @Bean(name = "atmosphere-websocket-component")
@@ -69,4 +77,29 @@ public class WebsocketComponentAutoConfiguration {
                 camelContext.getTypeConverter(), component, parameters);
         return component;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.component.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.component.atmosphere-websocket");
+            if (isEnabled(conditionContext,
+                    "camel.component.atmosphere-websocket.", groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java b/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
index 190bb22..c930430 100644
--- a/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
+++ b/components-starter/camel-atmosphere-websocket-starter/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
@@ -42,8 +42,8 @@ public class WebsocketComponentConfiguration {
     private HttpRegistry httpRegistry;
     /**
      * Whether to automatic bind multipart/form-data as attachments on the Camel
-     * Exchange. This is turn off by default as this may require servet specific
-     * configuration to enable this when using Servlet's.
+     * Exchange. This is turn off by default as this may require servlet
+     * specific configuration to enable this when using Servlet's.
      */
     private Boolean attachmentMultipartBinding;
     /**

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-atmosphere-websocket-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-atmosphere-websocket-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-atmosphere-websocket-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..481ba0b
--- /dev/null
+++ b/components-starter/camel-atmosphere-websocket-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.component.atmosphere-websocket.enabled",
+      "description": "Enable atmosphere-websocket component",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java b/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
index 9a10743..54ec3de 100644
--- a/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
+++ b/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
@@ -21,17 +21,25 @@ import java.util.Map;
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.avro.AvroComponent;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(AvroComponentConfiguration.class)
+@Conditional(AvroComponentAutoConfiguration.Condition.class)
 public class AvroComponentAutoConfiguration {
 
     @Bean(name = "avro-component")
@@ -68,4 +76,29 @@ public class AvroComponentAutoConfiguration {
                 camelContext.getTypeConverter(), component, parameters);
         return component;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.component.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.component.avro");
+            if (isEnabled(conditionContext, "camel.component.avro.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java b/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
index 9d744ea..b34249e 100644
--- a/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
+++ b/components-starter/camel-avro-starter/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
@@ -22,17 +22,25 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.dataformat.avro.AvroDataFormat;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(AvroDataFormatConfiguration.class)
+@Conditional(AvroDataFormatAutoConfiguration.Condition.class)
 public class AvroDataFormatAutoConfiguration {
 
     @Bean(name = "avro-dataformat")
@@ -51,4 +59,29 @@ public class AvroDataFormatAutoConfiguration {
                 camelContext.getTypeConverter(), dataformat, parameters);
         return dataformat;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.dataformat.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.dataformat.avro");
+            if (isEnabled(conditionContext, "camel.dataformat.avro.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-avro-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-avro-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-avro-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..cf6bff0
--- /dev/null
+++ b/components-starter/camel-avro-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,16 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.component.avro.enabled",
+      "description": "Enable avro component",
+      "type": "java.lang.Boolean"
+    },
+    {
+      "defaultValue": true,
+      "name": "camel.dataformat.avro.enabled",
+      "description": "Enable avro dataformat",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java b/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
index c865566..3cb528f 100644
--- a/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
+++ b/components-starter/camel-barcode-starter/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
@@ -22,17 +22,25 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.dataformat.barcode.BarcodeDataFormat;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(BarcodeDataFormatConfiguration.class)
+@Conditional(BarcodeDataFormatAutoConfiguration.Condition.class)
 public class BarcodeDataFormatAutoConfiguration {
 
     @Bean(name = "barcode-dataformat")
@@ -52,4 +60,29 @@ public class BarcodeDataFormatAutoConfiguration {
                 camelContext.getTypeConverter(), dataformat, parameters);
         return dataformat;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.dataformat.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.dataformat.barcode");
+            if (isEnabled(conditionContext, "camel.dataformat.barcode.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-barcode-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-barcode-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-barcode-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..b837fea
--- /dev/null
+++ b/components-starter/camel-barcode-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.dataformat.barcode.enabled",
+      "description": "Enable barcode dataformat",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java b/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
index 204efb2..8b1639c 100644
--- a/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
+++ b/components-starter/camel-base64-starter/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
@@ -22,17 +22,25 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.dataformat.base64.Base64DataFormat;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(Base64DataFormatConfiguration.class)
+@Conditional(Base64DataFormatAutoConfiguration.Condition.class)
 public class Base64DataFormatAutoConfiguration {
 
     @Bean(name = "base64-dataformat")
@@ -52,4 +60,29 @@ public class Base64DataFormatAutoConfiguration {
                 camelContext.getTypeConverter(), dataformat, parameters);
         return dataformat;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.dataformat.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.dataformat.base64");
+            if (isEnabled(conditionContext, "camel.dataformat.base64.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-base64-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-base64-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-base64-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..e036a73
--- /dev/null
+++ b/components-starter/camel-base64-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.dataformat.base64.enabled",
+      "description": "Enable base64 dataformat",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java b/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
index 00121a8..b65aa7c 100644
--- a/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
+++ b/components-starter/camel-beanio-starter/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
@@ -22,17 +22,25 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.dataformat.beanio.BeanIODataFormat;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(BeanIODataFormatConfiguration.class)
+@Conditional(BeanIODataFormatAutoConfiguration.Condition.class)
 public class BeanIODataFormatAutoConfiguration {
 
     @Bean(name = "beanio-dataformat")
@@ -52,4 +60,29 @@ public class BeanIODataFormatAutoConfiguration {
                 camelContext.getTypeConverter(), dataformat, parameters);
         return dataformat;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.dataformat.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.dataformat.beanio");
+            if (isEnabled(conditionContext, "camel.dataformat.beanio.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-beanio-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-beanio-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-beanio-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..443ace7
--- /dev/null
+++ b/components-starter/camel-beanio-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.dataformat.beanio.enabled",
+      "description": "Enable beanio dataformat",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java b/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
index b0cdb93..129bcff 100644
--- a/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
+++ b/components-starter/camel-beanstalk-starter/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
@@ -21,17 +21,25 @@ import java.util.Map;
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.beanstalk.BeanstalkComponent;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(BeanstalkComponentConfiguration.class)
+@Conditional(BeanstalkComponentAutoConfiguration.Condition.class)
 public class BeanstalkComponentAutoConfiguration {
 
     @Bean(name = "beanstalk-component")
@@ -69,4 +77,29 @@ public class BeanstalkComponentAutoConfiguration {
                 camelContext.getTypeConverter(), component, parameters);
         return component;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.component.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.component.beanstalk");
+            if (isEnabled(conditionContext, "camel.component.beanstalk.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-beanstalk-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-beanstalk-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-beanstalk-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..e408e11
--- /dev/null
+++ b/components-starter/camel-beanstalk-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.component.beanstalk.enabled",
+      "description": "Enable beanstalk component",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java b/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
index 5126a88..e02c0d3 100644
--- a/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
+++ b/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
@@ -22,17 +22,25 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(BindyCsvDataFormatConfiguration.class)
+@Conditional(BindyCsvDataFormatAutoConfiguration.Condition.class)
 public class BindyCsvDataFormatAutoConfiguration {
 
     @Bean(name = "bindy-csv-dataformat")
@@ -52,4 +60,29 @@ public class BindyCsvDataFormatAutoConfiguration {
                 camelContext.getTypeConverter(), dataformat, parameters);
         return dataformat;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.dataformat.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.dataformat.bindy-csv");
+            if (isEnabled(conditionContext, "camel.dataformat.bindy-csv.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java b/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
index b29c731..4f977a8 100644
--- a/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
+++ b/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
@@ -22,17 +22,25 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.dataformat.bindy.fixed.BindyFixedLengthDataFormat;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(BindyFixedLengthDataFormatConfiguration.class)
+@Conditional(BindyFixedLengthDataFormatAutoConfiguration.Condition.class)
 public class BindyFixedLengthDataFormatAutoConfiguration {
 
     @Bean(name = "bindy-fixed-dataformat")
@@ -53,4 +61,29 @@ public class BindyFixedLengthDataFormatAutoConfiguration {
                 camelContext.getTypeConverter(), dataformat, parameters);
         return dataformat;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.dataformat.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.dataformat.bindy-fixed");
+            if (isEnabled(conditionContext, "camel.dataformat.bindy-fixed.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java b/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
index e2a986f..f1d1fad 100644
--- a/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
+++ b/components-starter/camel-bindy-starter/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
@@ -22,17 +22,25 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.dataformat.bindy.kvp.BindyKeyValuePairDataFormat;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(BindyKeyValuePairDataFormatConfiguration.class)
+@Conditional(BindyKeyValuePairDataFormatAutoConfiguration.Condition.class)
 public class BindyKeyValuePairDataFormatAutoConfiguration {
 
     @Bean(name = "bindy-kvp-dataformat")
@@ -53,4 +61,29 @@ public class BindyKeyValuePairDataFormatAutoConfiguration {
                 camelContext.getTypeConverter(), dataformat, parameters);
         return dataformat;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.dataformat.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.dataformat.bindy-kvp");
+            if (isEnabled(conditionContext, "camel.dataformat.bindy-kvp.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-bindy-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-bindy-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-bindy-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..9951609
--- /dev/null
+++ b/components-starter/camel-bindy-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,22 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.dataformat.bindy-csv.enabled",
+      "description": "Enable bindy-csv dataformat",
+      "type": "java.lang.Boolean"
+    },
+    {
+      "defaultValue": true,
+      "name": "camel.dataformat.bindy-fixed.enabled",
+      "description": "Enable bindy-fixed dataformat",
+      "type": "java.lang.Boolean"
+    },
+    {
+      "defaultValue": true,
+      "name": "camel.dataformat.bindy-kvp.enabled",
+      "description": "Enable bindy-kvp dataformat",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java b/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
index 36afa5b..92e449b 100644
--- a/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
+++ b/components-starter/camel-boon-starter/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
@@ -22,17 +22,25 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.component.boon.BoonDataFormat;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(BoonDataFormatConfiguration.class)
+@Conditional(BoonDataFormatAutoConfiguration.Condition.class)
 public class BoonDataFormatAutoConfiguration {
 
     @Bean(name = "boon-dataformat")
@@ -51,4 +59,29 @@ public class BoonDataFormatAutoConfiguration {
                 camelContext.getTypeConverter(), dataformat, parameters);
         return dataformat;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.dataformat.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.dataformat.boon");
+            if (isEnabled(conditionContext, "camel.dataformat.boon.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-boon-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/components-starter/camel-boon-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/components-starter/camel-boon-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..d5105e7
--- /dev/null
+++ b/components-starter/camel-boon-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.dataformat.boon.enabled",
+      "description": "Enable boon dataformat",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/2f9a99cc/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java b/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
index efd45ed..24fe897 100644
--- a/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
+++ b/components-starter/camel-box-starter/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
@@ -21,17 +21,25 @@ import java.util.Map;
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.box.BoxComponent;
 import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.boot.autoconfigure.condition.ConditionMessage;
+import org.springframework.boot.autoconfigure.condition.ConditionOutcome;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
+import org.springframework.boot.bind.RelaxedPropertyResolver;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.ConditionContext;
+import org.springframework.context.annotation.Conditional;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.core.type.AnnotatedTypeMetadata;
 
 /**
  * Generated by camel-package-maven-plugin - do not edit this file!
  */
 @Configuration
 @EnableConfigurationProperties(BoxComponentConfiguration.class)
+@Conditional(BoxComponentAutoConfiguration.Condition.class)
 public class BoxComponentAutoConfiguration {
 
     @Bean(name = "box-component")
@@ -68,4 +76,29 @@ public class BoxComponentAutoConfiguration {
                 camelContext.getTypeConverter(), component, parameters);
         return component;
     }
+
+    public static class Condition extends SpringBootCondition {
+        @Override
+        public ConditionOutcome getMatchOutcome(
+                ConditionContext conditionContext,
+                AnnotatedTypeMetadata annotatedTypeMetadata) {
+            boolean groupEnabled = isEnabled(conditionContext,
+                    "camel.component.", true);
+            ConditionMessage.Builder message = ConditionMessage
+                    .forCondition("camel.component.box");
+            if (isEnabled(conditionContext, "camel.component.box.",
+                    groupEnabled)) {
+                return ConditionOutcome.match(message.because("enabled"));
+            }
+            return ConditionOutcome.noMatch(message.because("not enabled"));
+        }
+
+        private boolean isEnabled(
+                org.springframework.context.annotation.ConditionContext context,
+                java.lang.String prefix, boolean defaultValue) {
+            RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(
+                    context.getEnvironment(), prefix);
+            return resolver.getProperty("enabled", Boolean.class, defaultValue);
+        }
+    }
 }
\ No newline at end of file


Mime
View raw message