You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/06/08 09:33:50 UTC
[01/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Repository: camel
Updated Branches:
refs/heads/boot-generate 75ca9d139 -> 4b7844732
Experiment with generating spring-boot auto configuration for the Camel components.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/9c4c43e2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9c4c43e2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9c4c43e2
Branch: refs/heads/boot-generate
Commit: 9c4c43e2cc98fb170480bd60bad0621e6b9c59a8
Parents: 75ca9d1
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Jun 7 16:21:07 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Jun 7 16:21:07 2016 +0200
----------------------------------------------------------------------
.../SpringBootAutoConfigurationMojo.java | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/9c4c43e2/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
index 0d33997..3009a37 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
@@ -113,14 +113,18 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
if (json != null) {
ComponentModel model = generateComponentModel(componentName, json);
- // use springboot as sub package name so the code is not in normal
- // package so the Spring Boot JARs can be optional at runtime
- int pos = model.getJavaType().lastIndexOf(".");
- String pkg = model.getJavaType().substring(0, pos) + ".springboot";
-
- createComponentConfigurationSource(pkg, model);
- createComponentAutoConfigurationSource(pkg, model);
- createSpringFactorySource(pkg, model);
+ // only create source code if the component has options that can be used in auto configuration
+ if (!model.getComponentOptions().isEmpty() {
+
+ // use springboot as sub package name so the code is not in normal
+ // package so the Spring Boot JARs can be optional at runtime
+ int pos = model.getJavaType().lastIndexOf(".");
+ String pkg = model.getJavaType().substring(0, pos) + ".springboot";
+
+ createComponentConfigurationSource(pkg, model);
+ createComponentAutoConfigurationSource(pkg, model);
+ createSpringFactorySource(pkg, model);
+ }
}
}
}
[25/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
new file mode 100644
index 0000000..67ce178
--- /dev/null
+++ b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
@@ -0,0 +1,56 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.google.mail.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.google.mail.GoogleMailConfiguration;
+import org.apache.camel.component.google.mail.GoogleMailClientFactory;
+
+/**
+ * The google-mail component provides access to Google Mail.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.google-mail")
+public class GoogleMailComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private GoogleMailConfiguration configuration;
+ /**
+ * To use the GoogleCalendarClientFactory as factory for creating the
+ * client. Will by default use BatchGoogleMailClientFactory
+ */
+ private GoogleMailClientFactory clientFactory;
+
+ public GoogleMailConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(GoogleMailConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public GoogleMailClientFactory getClientFactory() {
+ return clientFactory;
+ }
+
+ public void setClientFactory(GoogleMailClientFactory clientFactory) {
+ this.clientFactory = clientFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-mail/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/resources/META-INF/spring.factories b/components/camel-google-mail/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..0640543
--- /dev/null
+++ b/components/camel-google-mail/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.google.mail.springboot.GoogleMailComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
new file mode 100644
index 0000000..3d56cb1
--- /dev/null
+++ b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.guava.eventbus.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.guava.eventbus.GuavaEventBusComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(GuavaEventBusComponentConfiguration.class)
+public class GuavaEventBusComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(GuavaEventBusComponent.class)
+ public GuavaEventBusComponent configureComponent(CamelContext camelContext,
+ GuavaEventBusComponentConfiguration configuration) throws Exception {
+ GuavaEventBusComponent component = new GuavaEventBusComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
new file mode 100644
index 0000000..e669ac3
--- /dev/null
+++ b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
@@ -0,0 +1,59 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.guava.eventbus.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.google.common.eventbus.EventBus;
+
+/**
+ * The guava-eventbus component provides integration bridge between Camel and
+ * Google Guava EventBus.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.guava-eventbus")
+public class GuavaEventBusComponentConfiguration {
+
+ /**
+ * To use the given Guava EventBus instance
+ */
+ private EventBus eventBus;
+ /**
+ * The interface with method(s) marked with the Subscribe annotation.
+ * Dynamic proxy will be created over the interface so it could be
+ * registered as the EventBus listener. Particularly useful when creating
+ * multi-event listeners and for handling DeadEvent properly. This option
+ * cannot be used together with eventClass option.
+ */
+ private Class listenerInterface;
+
+ public EventBus getEventBus() {
+ return eventBus;
+ }
+
+ public void setEventBus(EventBus eventBus) {
+ this.eventBus = eventBus;
+ }
+
+ public Class getListenerInterface() {
+ return listenerInterface;
+ }
+
+ public void setListenerInterface(Class listenerInterface) {
+ this.listenerInterface = listenerInterface;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-guava-eventbus/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-guava-eventbus/src/main/resources/META-INF/spring.factories b/components/camel-guava-eventbus/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..c3fab29
--- /dev/null
+++ b/components/camel-guava-eventbus/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.guava.eventbus.springboot.GuavaEventBusComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
new file mode 100644
index 0000000..057be33
--- /dev/null
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hazelcast.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.hazelcast.HazelcastComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(HazelcastComponentConfiguration.class)
+public class HazelcastComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(HazelcastComponent.class)
+ public HazelcastComponent configureComponent(CamelContext camelContext,
+ HazelcastComponentConfiguration configuration) throws Exception {
+ HazelcastComponent component = new HazelcastComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
new file mode 100644
index 0000000..a755c13
--- /dev/null
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
@@ -0,0 +1,45 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hazelcast.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.hazelcast.core.HazelcastInstance;
+
+/**
+ * The hazelcast component allows you to work with the Hazelcast distributed
+ * data grid / cache.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.hazelcast")
+public class HazelcastComponentConfiguration {
+
+ /**
+ * The hazelcast instance reference which can be used for hazelcast
+ * endpoint. If you don't specify the instance reference camel use the
+ * default hazelcast instance from the camel-hazelcast instance.
+ */
+ private HazelcastInstance hazelcastInstance;
+
+ public HazelcastInstance getHazelcastInstance() {
+ return hazelcastInstance;
+ }
+
+ public void setHazelcastInstance(HazelcastInstance hazelcastInstance) {
+ this.hazelcastInstance = hazelcastInstance;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hazelcast/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/resources/META-INF/spring.factories b/components/camel-hazelcast/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..ea9aee3
--- /dev/null
+++ b/components/camel-hazelcast/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.hazelcast.springboot.HazelcastComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
new file mode 100644
index 0000000..5ca5a71
--- /dev/null
+++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hbase.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.hbase.HBaseComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(HBaseComponentConfiguration.class)
+public class HBaseComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(HBaseComponent.class)
+ public HBaseComponent configureComponent(CamelContext camelContext,
+ HBaseComponentConfiguration configuration) throws Exception {
+ HBaseComponent component = new HBaseComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
new file mode 100644
index 0000000..5358a47
--- /dev/null
+++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
@@ -0,0 +1,55 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hbase.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.hadoop.conf.Configuration;
+
+/**
+ * For reading/writing from/to an HBase store (Hadoop database).
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.hbase")
+public class HBaseComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private Configuration configuration;
+ /**
+ * Maximum number of references to keep for each table in the HTable pool.
+ * The default value is 10.
+ */
+ private int poolMaxSize;
+
+ public Configuration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(Configuration configuration) {
+ this.configuration = configuration;
+ }
+
+ public int getPoolMaxSize() {
+ return poolMaxSize;
+ }
+
+ public void setPoolMaxSize(int poolMaxSize) {
+ this.poolMaxSize = poolMaxSize;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hbase/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/resources/META-INF/spring.factories b/components/camel-hbase/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..f38fac0
--- /dev/null
+++ b/components/camel-hbase/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.hbase.springboot.HBaseComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
new file mode 100644
index 0000000..1c0960a
--- /dev/null
+++ b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hdfs.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.hdfs.HdfsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(HdfsComponentConfiguration.class)
+public class HdfsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(HdfsComponent.class)
+ public HdfsComponent configureComponent(CamelContext camelContext,
+ HdfsComponentConfiguration configuration) throws Exception {
+ HdfsComponent component = new HdfsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
new file mode 100644
index 0000000..d8ab877
--- /dev/null
+++ b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hdfs.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.security.auth.login.Configuration;
+
+/**
+ * For reading/writing from/to an HDFS filesystem using Hadoop 1.x.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.hdfs")
+public class HdfsComponentConfiguration {
+
+ /**
+ * To use the given configuration for security with JAAS.
+ */
+ private Configuration jAASConfiguration;
+
+ public Configuration getJAASConfiguration() {
+ return jAASConfiguration;
+ }
+
+ public void setJAASConfiguration(Configuration jAASConfiguration) {
+ this.jAASConfiguration = jAASConfiguration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hdfs/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/main/resources/META-INF/spring.factories b/components/camel-hdfs/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..ad3f96f
--- /dev/null
+++ b/components/camel-hdfs/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.hdfs.springboot.HdfsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
new file mode 100644
index 0000000..fb76ec0
--- /dev/null
+++ b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hdfs2.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.hdfs2.HdfsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(HdfsComponentConfiguration.class)
+public class HdfsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(HdfsComponent.class)
+ public HdfsComponent configureComponent(CamelContext camelContext,
+ HdfsComponentConfiguration configuration) throws Exception {
+ HdfsComponent component = new HdfsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
new file mode 100644
index 0000000..80d5bea
--- /dev/null
+++ b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.hdfs2.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.security.auth.login.Configuration;
+
+/**
+ * For reading/writing from/to an HDFS filesystem using Hadoop 2.x.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.hdfs2")
+public class HdfsComponentConfiguration {
+
+ /**
+ * To use the given configuration for security with JAAS.
+ */
+ private Configuration jAASConfiguration;
+
+ public Configuration getJAASConfiguration() {
+ return jAASConfiguration;
+ }
+
+ public void setJAASConfiguration(Configuration jAASConfiguration) {
+ this.jAASConfiguration = jAASConfiguration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-hdfs2/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/resources/META-INF/spring.factories b/components/camel-hdfs2/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..a5b0dc9
--- /dev/null
+++ b/components/camel-hdfs2/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.hdfs2.springboot.HdfsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
new file mode 100644
index 0000000..eb39d0f
--- /dev/null
+++ b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.http.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.http.HttpComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(HttpComponentConfiguration.class)
+public class HttpComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(HttpComponent.class)
+ public HttpComponent configureComponent(CamelContext camelContext,
+ HttpComponentConfiguration configuration) throws Exception {
+ HttpComponent component = new HttpComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
new file mode 100644
index 0000000..6e2d7f3
--- /dev/null
+++ b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
@@ -0,0 +1,116 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.http.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.http.HttpClientConfigurer;
+import org.apache.commons.httpclient.HttpConnectionManager;
+import org.apache.camel.http.common.HttpBinding;
+import org.apache.camel.http.common.HttpConfiguration;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * For calling out to external HTTP servers using Apache HTTP Client 3.x.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.https")
+public class HttpComponentConfiguration {
+
+ /**
+ * To use the custom HttpClientConfigurer to perform configuration of the
+ * HttpClient that will be used.
+ */
+ private HttpClientConfigurer httpClientConfigurer;
+ /**
+ * To use a custom HttpConnectionManager to manage connections
+ */
+ private HttpConnectionManager httpConnectionManager;
+ /**
+ * To use a custom HttpBinding to control the mapping between Camel message
+ * and HttpClient.
+ */
+ private HttpBinding httpBinding;
+ /**
+ * To use the shared HttpConfiguration as base configuration.
+ */
+ private HttpConfiguration httpConfiguration;
+ /**
+ * Whether to allow java serialization when a request uses
+ * context-type=application/x-java-serialized-object This is by default
+ * turned off. If you enable this then be aware that Java will deserialize
+ * the incoming data from the request to Java and that can be a potential
+ * security risk.
+ */
+ private boolean allowJavaSerializedObject;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public HttpClientConfigurer getHttpClientConfigurer() {
+ return httpClientConfigurer;
+ }
+
+ public void setHttpClientConfigurer(
+ HttpClientConfigurer httpClientConfigurer) {
+ this.httpClientConfigurer = httpClientConfigurer;
+ }
+
+ public HttpConnectionManager getHttpConnectionManager() {
+ return httpConnectionManager;
+ }
+
+ public void setHttpConnectionManager(
+ HttpConnectionManager httpConnectionManager) {
+ this.httpConnectionManager = httpConnectionManager;
+ }
+
+ public HttpBinding getHttpBinding() {
+ return httpBinding;
+ }
+
+ public void setHttpBinding(HttpBinding httpBinding) {
+ this.httpBinding = httpBinding;
+ }
+
+ public HttpConfiguration getHttpConfiguration() {
+ return httpConfiguration;
+ }
+
+ public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
+ this.httpConfiguration = httpConfiguration;
+ }
+
+ public boolean isAllowJavaSerializedObject() {
+ return allowJavaSerializedObject;
+ }
+
+ public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
+ this.allowJavaSerializedObject = allowJavaSerializedObject;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-http/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/resources/META-INF/spring.factories b/components/camel-http/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..d248647
--- /dev/null
+++ b/components/camel-http/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.http.springboot.HttpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
new file mode 100644
index 0000000..edce926
--- /dev/null
+++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.http4.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.http4.HttpComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(HttpComponentConfiguration.class)
+public class HttpComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(HttpComponent.class)
+ public HttpComponent configureComponent(CamelContext camelContext,
+ HttpComponentConfiguration configuration) throws Exception {
+ HttpComponent component = new HttpComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
new file mode 100644
index 0000000..64bef4f
--- /dev/null
+++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
@@ -0,0 +1,217 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.http4.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.http4.HttpClientConfigurer;
+import org.apache.http.conn.HttpClientConnectionManager;
+import org.apache.camel.http.common.HttpBinding;
+import org.apache.camel.http.common.HttpConfiguration;
+import org.apache.http.protocol.HttpContext;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.apache.http.conn.ssl.X509HostnameVerifier;
+import org.apache.http.client.CookieStore;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * For calling out to external HTTP servers using Apache HTTP Client 4.x.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.http4")
+public class HttpComponentConfiguration {
+
+ /**
+ * To use the custom HttpClientConfigurer to perform configuration of the
+ * HttpClient that will be used.
+ */
+ private HttpClientConfigurer httpClientConfigurer;
+ /**
+ * To use a custom HttpClientConnectionManager to manage connections
+ */
+ private HttpClientConnectionManager clientConnectionManager;
+ /**
+ * To use a custom HttpBinding to control the mapping between Camel message
+ * and HttpClient.
+ */
+ private HttpBinding httpBinding;
+ /**
+ * To use the shared HttpConfiguration as base configuration.
+ */
+ private HttpConfiguration httpConfiguration;
+ /**
+ * Whether to allow java serialization when a request uses
+ * context-type=application/x-java-serialized-object This is by default
+ * turned off. If you enable this then be aware that Java will deserialize
+ * the incoming data from the request to Java and that can be a potential
+ * security risk.
+ */
+ private boolean allowJavaSerializedObject;
+ /**
+ * To use a custom org.apache.http.protocol.HttpContext when executing
+ * requests.
+ */
+ private HttpContext httpContext;
+ /**
+ * To configure security using SSLContextParameters. Important: Only one
+ * instance of org.apache.camel.util.jsse.SSLContextParameters is supported
+ * per HttpComponent. If you need to use 2 or more different instances you
+ * need to define a new HttpComponent per instance you need.
+ */
+ private SSLContextParameters sslContextParameters;
+ /**
+ * To use a custom X509HostnameVerifier such as
+ * org.apache.http.conn.ssl.StrictHostnameVerifier or
+ * org.apache.http.conn.ssl.AllowAllHostnameVerifier.
+ */
+ private X509HostnameVerifier x509HostnameVerifier;
+ /**
+ * The maximum number of connections.
+ */
+ private int maxTotalConnections;
+ /**
+ * The maximum number of connections per route.
+ */
+ private int connectionsPerRoute;
+ /**
+ * The time for connection to live the time unit is millisecond the default
+ * value is always keep alive.
+ */
+ private long connectionTimeToLive;
+ /**
+ * To use a custom org.apache.http.client.CookieStore. By default the
+ * org.apache.http.impl.client.BasicCookieStore is used which is an
+ * in-memory only cookie store. Notice if bridgeEndpoint=true then the
+ * cookie store is forced to be a noop cookie store as cookie shouldn't be
+ * stored as we are just bridging (eg acting as a proxy).
+ */
+ private CookieStore cookieStore;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public HttpClientConfigurer getHttpClientConfigurer() {
+ return httpClientConfigurer;
+ }
+
+ public void setHttpClientConfigurer(
+ HttpClientConfigurer httpClientConfigurer) {
+ this.httpClientConfigurer = httpClientConfigurer;
+ }
+
+ public HttpClientConnectionManager getClientConnectionManager() {
+ return clientConnectionManager;
+ }
+
+ public void setClientConnectionManager(
+ HttpClientConnectionManager clientConnectionManager) {
+ this.clientConnectionManager = clientConnectionManager;
+ }
+
+ public HttpBinding getHttpBinding() {
+ return httpBinding;
+ }
+
+ public void setHttpBinding(HttpBinding httpBinding) {
+ this.httpBinding = httpBinding;
+ }
+
+ public HttpConfiguration getHttpConfiguration() {
+ return httpConfiguration;
+ }
+
+ public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
+ this.httpConfiguration = httpConfiguration;
+ }
+
+ public boolean isAllowJavaSerializedObject() {
+ return allowJavaSerializedObject;
+ }
+
+ public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
+ this.allowJavaSerializedObject = allowJavaSerializedObject;
+ }
+
+ public HttpContext getHttpContext() {
+ return httpContext;
+ }
+
+ public void setHttpContext(HttpContext httpContext) {
+ this.httpContext = httpContext;
+ }
+
+ public SSLContextParameters getSslContextParameters() {
+ return sslContextParameters;
+ }
+
+ public void setSslContextParameters(
+ SSLContextParameters sslContextParameters) {
+ this.sslContextParameters = sslContextParameters;
+ }
+
+ public X509HostnameVerifier getX509HostnameVerifier() {
+ return x509HostnameVerifier;
+ }
+
+ public void setX509HostnameVerifier(
+ X509HostnameVerifier x509HostnameVerifier) {
+ this.x509HostnameVerifier = x509HostnameVerifier;
+ }
+
+ public int getMaxTotalConnections() {
+ return maxTotalConnections;
+ }
+
+ public void setMaxTotalConnections(int maxTotalConnections) {
+ this.maxTotalConnections = maxTotalConnections;
+ }
+
+ public int getConnectionsPerRoute() {
+ return connectionsPerRoute;
+ }
+
+ public void setConnectionsPerRoute(int connectionsPerRoute) {
+ this.connectionsPerRoute = connectionsPerRoute;
+ }
+
+ public long getConnectionTimeToLive() {
+ return connectionTimeToLive;
+ }
+
+ public void setConnectionTimeToLive(long connectionTimeToLive) {
+ this.connectionTimeToLive = connectionTimeToLive;
+ }
+
+ public CookieStore getCookieStore() {
+ return cookieStore;
+ }
+
+ public void setCookieStore(CookieStore cookieStore) {
+ this.cookieStore = cookieStore;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-http4/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/resources/META-INF/spring.factories b/components/camel-http4/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..50597fc
--- /dev/null
+++ b/components/camel-http4/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.http4.springboot.HttpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
new file mode 100644
index 0000000..c359070
--- /dev/null
+++ b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ibatis.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.ibatis.IBatisComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(IBatisComponentConfiguration.class)
+public class IBatisComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(IBatisComponent.class)
+ public IBatisComponent configureComponent(CamelContext camelContext,
+ IBatisComponentConfiguration configuration) throws Exception {
+ IBatisComponent component = new IBatisComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
new file mode 100644
index 0000000..d29f9d1
--- /dev/null
+++ b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
@@ -0,0 +1,68 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ibatis.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.ibatis.sqlmap.client.SqlMapClient;
+
+/**
+ * Performs a query poll insert update or delete in a relational database using
+ * Apache iBATIS.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.ibatis")
+public class IBatisComponentConfiguration {
+
+ /**
+ * To use the given com.ibatis.sqlmap.client.SqlMapClient
+ */
+ private SqlMapClient sqlMapClient;
+ /**
+ * Location of iBatis xml configuration file. The default value is:
+ * SqlMapConfig.xml loaded from the classpath
+ */
+ private String sqlMapConfig;
+ /**
+ * Whether to use transactions. This option is by default true.
+ */
+ private boolean useTransactions;
+
+ public SqlMapClient getSqlMapClient() {
+ return sqlMapClient;
+ }
+
+ public void setSqlMapClient(SqlMapClient sqlMapClient) {
+ this.sqlMapClient = sqlMapClient;
+ }
+
+ public String getSqlMapConfig() {
+ return sqlMapConfig;
+ }
+
+ public void setSqlMapConfig(String sqlMapConfig) {
+ this.sqlMapConfig = sqlMapConfig;
+ }
+
+ public boolean isUseTransactions() {
+ return useTransactions;
+ }
+
+ public void setUseTransactions(boolean useTransactions) {
+ this.useTransactions = useTransactions;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ibatis/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/resources/META-INF/spring.factories b/components/camel-ibatis/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..d222b9c
--- /dev/null
+++ b/components/camel-ibatis/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.ibatis.springboot.IBatisComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
new file mode 100644
index 0000000..ff38136
--- /dev/null
+++ b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jclouds.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.jclouds.JcloudsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(JcloudsComponentConfiguration.class)
+public class JcloudsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(JcloudsComponent.class)
+ public JcloudsComponent configureComponent(CamelContext camelContext,
+ JcloudsComponentConfiguration configuration) throws Exception {
+ JcloudsComponent component = new JcloudsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
new file mode 100644
index 0000000..06a6d6e
--- /dev/null
+++ b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
@@ -0,0 +1,57 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jclouds.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import java.util.List;
+import org.jclouds.blobstore.BlobStore;
+import org.jclouds.compute.ComputeService;
+
+/**
+ * For interacting with cloud compute & blobstore service via jclouds.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.jclouds")
+public class JcloudsComponentConfiguration {
+
+ /**
+ * To use the given BlobStore which must be configured when using blobstore.
+ */
+ private List<org.jclouds.blobstore.BlobStore> blobStores;
+ /**
+ * To use the given ComputeService which must be configured when use
+ * compute.
+ */
+ private List<org.jclouds.compute.ComputeService> computeServices;
+
+ public List<BlobStore> getBlobStores() {
+ return blobStores;
+ }
+
+ public void setBlobStores(List<BlobStore> blobStores) {
+ this.blobStores = blobStores;
+ }
+
+ public List<ComputeService> getComputeServices() {
+ return computeServices;
+ }
+
+ public void setComputeServices(List<ComputeService> computeServices) {
+ this.computeServices = computeServices;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jclouds/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jclouds/src/main/resources/META-INF/spring.factories b/components/camel-jclouds/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..a73c82d
--- /dev/null
+++ b/components/camel-jclouds/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.jclouds.springboot.JcloudsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
new file mode 100644
index 0000000..0050ed5
--- /dev/null
+++ b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jdbc.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.jdbc.JdbcComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(JdbcComponentConfiguration.class)
+public class JdbcComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(JdbcComponent.class)
+ public JdbcComponent configureComponent(CamelContext camelContext,
+ JdbcComponentConfiguration configuration) throws Exception {
+ JdbcComponent component = new JdbcComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
new file mode 100644
index 0000000..e570185
--- /dev/null
+++ b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jdbc.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.sql.DataSource;
+
+/**
+ * The jdbc component enables you to access databases through JDBC where SQL
+ * queries are sent in the message body.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.jdbc")
+public class JdbcComponentConfiguration {
+
+ /**
+ * To use the DataSource instance instead of looking up the data source by
+ * name from the registry.
+ */
+ private DataSource dataSource;
+
+ public DataSource getDataSource() {
+ return dataSource;
+ }
+
+ public void setDataSource(DataSource dataSource) {
+ this.dataSource = dataSource;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jdbc/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/resources/META-INF/spring.factories b/components/camel-jdbc/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..b9900b5
--- /dev/null
+++ b/components/camel-jdbc/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.jdbc.springboot.JdbcComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
new file mode 100644
index 0000000..b42a90c
--- /dev/null
+++ b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jetty9.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.jetty9.JettyHttpComponent9;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(JettyHttpComponentConfiguration9.class)
+public class JettyHttpComponentAutoConfiguration9 {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(JettyHttpComponent9.class)
+ public JettyHttpComponent9 configureComponent(CamelContext camelContext,
+ JettyHttpComponentConfiguration9 configuration) throws Exception {
+ JettyHttpComponent9 component = new JettyHttpComponent9();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
[13/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
deleted file mode 100644
index abfc98b..0000000
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.disruptor.vm.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.disruptor.DisruptorProducerType;
-import org.apache.camel.component.disruptor.DisruptorWaitStrategy;
-
-/**
- * The disruptor component provides asynchronous SEDA behavior using LMAX
- * Disruptor.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.disruptor-vm")
-public class DisruptorVmComponentConfiguration {
-
- /**
- * To configure the default number of concurrent consumers
- */
- private int defaultConcurrentConsumers;
- /**
- * To configure the default value for multiple consumers
- */
- private boolean defaultMultipleConsumers;
- /**
- * To configure the default value for DisruptorProducerType The default
- * value is Multi.
- */
- private DisruptorProducerType defaultProducerType;
- /**
- * To configure the default value for DisruptorWaitStrategy The default
- * value is Blocking.
- */
- private DisruptorWaitStrategy defaultWaitStrategy;
- /**
- * To configure the default value for block when full The default value is
- * true.
- */
- private boolean defaultBlockWhenFull;
- /**
- * To configure the ring buffer size
- */
- @Deprecated
- private int queueSize;
- /**
- * To configure the ring buffer size
- */
- private int bufferSize;
-
- public int getDefaultConcurrentConsumers() {
- return defaultConcurrentConsumers;
- }
-
- public void setDefaultConcurrentConsumers(int defaultConcurrentConsumers) {
- this.defaultConcurrentConsumers = defaultConcurrentConsumers;
- }
-
- public boolean isDefaultMultipleConsumers() {
- return defaultMultipleConsumers;
- }
-
- public void setDefaultMultipleConsumers(boolean defaultMultipleConsumers) {
- this.defaultMultipleConsumers = defaultMultipleConsumers;
- }
-
- public DisruptorProducerType getDefaultProducerType() {
- return defaultProducerType;
- }
-
- public void setDefaultProducerType(DisruptorProducerType defaultProducerType) {
- this.defaultProducerType = defaultProducerType;
- }
-
- public DisruptorWaitStrategy getDefaultWaitStrategy() {
- return defaultWaitStrategy;
- }
-
- public void setDefaultWaitStrategy(DisruptorWaitStrategy defaultWaitStrategy) {
- this.defaultWaitStrategy = defaultWaitStrategy;
- }
-
- public boolean isDefaultBlockWhenFull() {
- return defaultBlockWhenFull;
- }
-
- public void setDefaultBlockWhenFull(boolean defaultBlockWhenFull) {
- this.defaultBlockWhenFull = defaultBlockWhenFull;
- }
-
- public int getQueueSize() {
- return queueSize;
- }
-
- public void setQueueSize(int queueSize) {
- this.queueSize = queueSize;
- }
-
- public int getBufferSize() {
- return bufferSize;
- }
-
- public void setBufferSize(int bufferSize) {
- this.bufferSize = bufferSize;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-disruptor/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/resources/META-INF/spring.factories b/components/camel-disruptor/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6797e8a..0000000
--- a/components/camel-disruptor/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.disruptor.vm.springboot.DisruptorVmComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dns/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-dns/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java b/components/camel-dns/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java
deleted file mode 100644
index e1b4a6b..0000000
--- a/components/camel-dns/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.dns.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.dns.DnsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DnsComponentConfiguration.class)
-public class DnsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DnsComponent.class)
- public DnsComponent configureComponent(CamelContext camelContext,
- DnsComponentConfiguration configuration) throws Exception {
- DnsComponent component = new DnsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dns/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-dns/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentConfiguration.java b/components/camel-dns/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentConfiguration.java
deleted file mode 100644
index 045e8d3..0000000
--- a/components/camel-dns/src/main/java/org/apache/camel/component/dns/springboot/DnsComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.dns.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * To lookup domain information and run DNS queries using DNSJava.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.dns")
-public class DnsComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dns/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-dns/src/main/resources/META-INF/spring.factories b/components/camel-dns/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index fef7327..0000000
--- a/components/camel-dns/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.dns.springboot.DnsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
deleted file mode 100644
index 83bba80..0000000
--- a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.docker.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.docker.DockerComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DockerComponentConfiguration.class)
-public class DockerComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DockerComponent.class)
- public DockerComponent configureComponent(CamelContext camelContext,
- DockerComponentConfiguration configuration) throws Exception {
- DockerComponent component = new DockerComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
deleted file mode 100644
index 36608a1..0000000
--- a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.docker.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.docker.DockerConfiguration;
-
-/**
- * The docker component is used for managing Docker containers.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.docker")
-public class DockerComponentConfiguration {
-
- /**
- * To use the shared docker configuration
- */
- private DockerConfiguration configuration;
-
- public DockerConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(DockerConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-docker/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-docker/src/main/resources/META-INF/spring.factories b/components/camel-docker/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 04d76c0..0000000
--- a/components/camel-docker/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.docker.springboot.DockerComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dozer/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-dozer/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java b/components/camel-dozer/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java
deleted file mode 100644
index d3279f9..0000000
--- a/components/camel-dozer/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.dozer.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.dozer.DozerComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DozerComponentConfiguration.class)
-public class DozerComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DozerComponent.class)
- public DozerComponent configureComponent(CamelContext camelContext,
- DozerComponentConfiguration configuration) throws Exception {
- DozerComponent component = new DozerComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dozer/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-dozer/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentConfiguration.java b/components/camel-dozer/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentConfiguration.java
deleted file mode 100644
index 77f79ba..0000000
--- a/components/camel-dozer/src/main/java/org/apache/camel/component/dozer/springboot/DozerComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.dozer.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The dozer component provides the ability to map between Java beans using the
- * Dozer mapping library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.dozer")
-public class DozerComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dozer/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-dozer/src/main/resources/META-INF/spring.factories b/components/camel-dozer/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a07abe0..0000000
--- a/components/camel-dozer/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.dozer.springboot.DozerComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java b/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java
deleted file mode 100644
index 4f87b23..0000000
--- a/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.dropbox.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.dropbox.DropboxComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DropboxComponentConfiguration.class)
-public class DropboxComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DropboxComponent.class)
- public DropboxComponent configureComponent(CamelContext camelContext,
- DropboxComponentConfiguration configuration) throws Exception {
- DropboxComponent component = new DropboxComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentConfiguration.java b/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentConfiguration.java
deleted file mode 100644
index df5d944..0000000
--- a/components/camel-dropbox/src/main/java/org/apache/camel/component/dropbox/springboot/DropboxComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.dropbox.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * For uploading downloading and managing files folders groups collaborations
- * etc on dropbox DOT com.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.dropbox")
-public class DropboxComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-dropbox/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-dropbox/src/main/resources/META-INF/spring.factories b/components/camel-dropbox/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index d962448..0000000
--- a/components/camel-dropbox/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.dropbox.springboot.DropboxComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java b/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java
deleted file mode 100644
index 675dd6a..0000000
--- a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ehcache.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ehcache.EhcacheComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(EhcacheComponentConfiguration.class)
-public class EhcacheComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(EhcacheComponent.class)
- public EhcacheComponent configureComponent(CamelContext camelContext,
- EhcacheComponentConfiguration configuration) throws Exception {
- EhcacheComponent component = new EhcacheComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentConfiguration.java b/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentConfiguration.java
deleted file mode 100644
index c5b7950..0000000
--- a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/springboot/EhcacheComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ehcache.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Ehcache support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ehcache")
-public class EhcacheComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ehcache/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ehcache/src/main/resources/META-INF/spring.factories b/components/camel-ehcache/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 5087049..0000000
--- a/components/camel-ehcache/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ehcache.springboot.EhcacheComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
deleted file mode 100644
index f914731..0000000
--- a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ejb.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ejb.EjbComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(EjbComponentConfiguration.class)
-public class EjbComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(EjbComponent.class)
- public EjbComponent configureComponent(CamelContext camelContext,
- EjbComponentConfiguration configuration) throws Exception {
- EjbComponent component = new EjbComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
deleted file mode 100644
index 09f5f4f..0000000
--- a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ejb.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.naming.Context;
-import java.util.Properties;
-
-/**
- * The ejb component is for invoking EJB Java beans from Camel.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ejb")
-public class EjbComponentConfiguration {
-
- /**
- * The Context to use for looking up the EJBs
- */
- private Context context;
- /**
- * Properties for creating javax.naming.Context if a context has not been
- * configured.
- */
- private Properties properties;
-
- public Context getContext() {
- return context;
- }
-
- public void setContext(Context context) {
- this.context = context;
- }
-
- public Properties getProperties() {
- return properties;
- }
-
- public void setProperties(Properties properties) {
- this.properties = properties;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ejb/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ejb/src/main/resources/META-INF/spring.factories b/components/camel-ejb/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 807a34b..0000000
--- a/components/camel-ejb/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ejb.springboot.EjbComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
deleted file mode 100644
index 0f92ef2..0000000
--- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.elasticsearch.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.elasticsearch.ElasticsearchComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ElasticsearchComponentConfiguration.class)
-public class ElasticsearchComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ElasticsearchComponent.class)
- public ElasticsearchComponent configureComponent(CamelContext camelContext,
- ElasticsearchComponentConfiguration configuration) throws Exception {
- ElasticsearchComponent component = new ElasticsearchComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
deleted file mode 100644
index 8898f30..0000000
--- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.elasticsearch.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.elasticsearch.client.Client;
-
-/**
- * The elasticsearch component is used for interfacing with ElasticSearch
- * server.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.elasticsearch")
-public class ElasticsearchComponentConfiguration {
-
- /**
- * To use an existing configured Elasticsearch client instead of creating a
- * client per endpoint.
- */
- private Client client;
-
- public Client getClient() {
- return client;
- }
-
- public void setClient(Client client) {
- this.client = client;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories b/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a952c37..0000000
--- a/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.elasticsearch.springboot.ElasticsearchComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
deleted file mode 100644
index 37a4d46..0000000
--- a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.elsql.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.elsql.ElsqlComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ElsqlComponentConfiguration.class)
-public class ElsqlComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ElsqlComponent.class)
- public ElsqlComponent configureComponent(CamelContext camelContext,
- ElsqlComponentConfiguration configuration) throws Exception {
- ElsqlComponent component = new ElsqlComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
deleted file mode 100644
index 51c8f9b..0000000
--- a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.elsql.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.elsql.ElSqlDatabaseVendor;
-import javax.sql.DataSource;
-import com.opengamma.elsql.ElSqlConfig;
-
-/**
- * The elsql component is an extension to the existing SQL Component that uses
- * ElSql to define the SQL queries.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.elsql")
-public class ElsqlComponentConfiguration {
-
- /**
- * To use a vendor specific com.opengamma.elsql.ElSqlConfig
- */
- private ElSqlDatabaseVendor databaseVendor;
- /**
- * Sets the DataSource to use to communicate with the database.
- */
- private DataSource dataSource;
- /**
- * To use a specific configured ElSqlConfig. It may be better to use the
- * databaseVendor option instead.
- */
- private ElSqlConfig elSqlConfig;
- /**
- * The resource file which contains the elsql SQL statements to use. You can
- * specify multiple resources separated by comma. The resources are loaded
- * on the classpath by default you can prefix with file: to load from file
- * system. Notice you can set this option on the component and then you do
- * not have to configure this on the endpoint.
- */
- private String resourceUri;
-
- public ElSqlDatabaseVendor getDatabaseVendor() {
- return databaseVendor;
- }
-
- public void setDatabaseVendor(ElSqlDatabaseVendor databaseVendor) {
- this.databaseVendor = databaseVendor;
- }
-
- public DataSource getDataSource() {
- return dataSource;
- }
-
- public void setDataSource(DataSource dataSource) {
- this.dataSource = dataSource;
- }
-
- public ElSqlConfig getElSqlConfig() {
- return elSqlConfig;
- }
-
- public void setElSqlConfig(ElSqlConfig elSqlConfig) {
- this.elSqlConfig = elSqlConfig;
- }
-
- public String getResourceUri() {
- return resourceUri;
- }
-
- public void setResourceUri(String resourceUri) {
- this.resourceUri = resourceUri;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-elsql/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-elsql/src/main/resources/META-INF/spring.factories b/components/camel-elsql/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3b79893..0000000
--- a/components/camel-elsql/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.elsql.springboot.ElsqlComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-etcd/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-etcd/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java b/components/camel-etcd/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java
deleted file mode 100644
index 713b730..0000000
--- a/components/camel-etcd/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.etcd.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.etcd.EtcdComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(EtcdComponentConfiguration.class)
-public class EtcdComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(EtcdComponent.class)
- public EtcdComponent configureComponent(CamelContext camelContext,
- EtcdComponentConfiguration configuration) throws Exception {
- EtcdComponent component = new EtcdComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-etcd/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-etcd/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentConfiguration.java b/components/camel-etcd/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentConfiguration.java
deleted file mode 100644
index 45b74a5..0000000
--- a/components/camel-etcd/src/main/java/org/apache/camel/component/etcd/springboot/EtcdComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.etcd.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Represents a etcd endpoint.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.etcd")
-public class EtcdComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-etcd/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-etcd/src/main/resources/META-INF/spring.factories b/components/camel-etcd/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index d3e9b9a..0000000
--- a/components/camel-etcd/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.etcd.springboot.EtcdComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
deleted file mode 100644
index dc6cd48..0000000
--- a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.eventadmin.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.eventadmin.EventAdminComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(EventAdminComponentConfiguration.class)
-public class EventAdminComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(EventAdminComponent.class)
- public EventAdminComponent configureComponent(CamelContext camelContext,
- EventAdminComponentConfiguration configuration) throws Exception {
- EventAdminComponent component = new EventAdminComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
deleted file mode 100644
index 83d1cf7..0000000
--- a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.eventadmin.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.osgi.framework.BundleContext;
-
-/**
- * The eventadmin component can be used in an OSGi environment to receive OSGi
- * EventAdmin events and process them.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.eventadmin")
-public class EventAdminComponentConfiguration {
-
- /**
- * The OSGi BundleContext is automatic injected by Camel
- */
- private BundleContext bundleContext;
-
- public BundleContext getBundleContext() {
- return bundleContext;
- }
-
- public void setBundleContext(BundleContext bundleContext) {
- this.bundleContext = bundleContext;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-eventadmin/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-eventadmin/src/main/resources/META-INF/spring.factories b/components/camel-eventadmin/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index d6c2057..0000000
--- a/components/camel-eventadmin/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.eventadmin.springboot.EventAdminComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-exec/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-exec/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java b/components/camel-exec/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java
deleted file mode 100644
index 5fb352e..0000000
--- a/components/camel-exec/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.exec.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.exec.ExecComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ExecComponentConfiguration.class)
-public class ExecComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ExecComponent.class)
- public ExecComponent configureComponent(CamelContext camelContext,
- ExecComponentConfiguration configuration) throws Exception {
- ExecComponent component = new ExecComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-exec/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-exec/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentConfiguration.java b/components/camel-exec/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentConfiguration.java
deleted file mode 100644
index c87deef..0000000
--- a/components/camel-exec/src/main/java/org/apache/camel/component/exec/springboot/ExecComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.exec.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The exec component can be used to execute OS system commands.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.exec")
-public class ExecComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-exec/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-exec/src/main/resources/META-INF/spring.factories b/components/camel-exec/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 1aa873a..0000000
--- a/components/camel-exec/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.exec.springboot.ExecComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
deleted file mode 100644
index 6f38580..0000000
--- a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.facebook.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.facebook.FacebookComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(FacebookComponentConfiguration.class)
-public class FacebookComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(FacebookComponent.class)
- public FacebookComponent configureComponent(CamelContext camelContext,
- FacebookComponentConfiguration configuration) throws Exception {
- FacebookComponent component = new FacebookComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
deleted file mode 100644
index 4a77f62..0000000
--- a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.facebook.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.facebook.config.FacebookConfiguration;
-
-/**
- * The Facebook component provides access to all of the Facebook APIs accessible
- * using Facebook4J.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.facebook")
-public class FacebookComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private FacebookConfiguration configuration;
-
- public FacebookConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(FacebookConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-facebook/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-facebook/src/main/resources/META-INF/spring.factories b/components/camel-facebook/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 49cf4f2..0000000
--- a/components/camel-facebook/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.facebook.springboot.FacebookComponentAutoConfiguration
[08/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
deleted file mode 100644
index 75f9f06..0000000
--- a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jt400.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.ibm.as400.access.AS400ConnectionPool;
-
-/**
- * The jt400 component allows you to exchanges messages with an AS/400 system
- * using data queues or program call.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jt400")
-public class Jt400ComponentConfiguration {
-
- /**
- * Returns the default connection pool used by this component.
- */
- private AS400ConnectionPool connectionPool;
-
- public AS400ConnectionPool getConnectionPool() {
- return connectionPool;
- }
-
- public void setConnectionPool(AS400ConnectionPool connectionPool) {
- this.connectionPool = connectionPool;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jt400/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/resources/META-INF/spring.factories b/components/camel-jt400/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3d0f165..0000000
--- a/components/camel-jt400/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jt400.springboot.Jt400ComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
deleted file mode 100644
index 4e7a62e..0000000
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.kafka.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.kafka.KafkaComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(KafkaComponentConfiguration.class)
-public class KafkaComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(KafkaComponent.class)
- public KafkaComponent configureComponent(CamelContext camelContext,
- KafkaComponentConfiguration configuration) throws Exception {
- KafkaComponent component = new KafkaComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
deleted file mode 100644
index d4923bd..0000000
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.kafka.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import java.util.concurrent.ExecutorService;
-
-/**
- * The kafka component allows messages to be sent to (or consumed from) Apache
- * Kafka brokers.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.kafka")
-public class KafkaComponentConfiguration {
-
- /**
- * To use a shared custom worker pool for continue routing Exchange after
- * kafka server has acknowledge the message that was sent to it from
- * KafkaProducer using asynchronous non-blocking processing. If using this
- * option then you must handle the lifecycle of the thread pool to shut the
- * pool down when no longer needed.
- */
- private ExecutorService workerPool;
-
- public ExecutorService getWorkerPool() {
- return workerPool;
- }
-
- public void setWorkerPool(ExecutorService workerPool) {
- this.workerPool = workerPool;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kafka/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-kafka/src/main/resources/META-INF/spring.factories b/components/camel-kafka/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3bf44f6..0000000
--- a/components/camel-kafka/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.kafka.springboot.KafkaComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
deleted file mode 100644
index ef7fce7..0000000
--- a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.kestrel.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.kestrel.KestrelComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(KestrelComponentConfiguration.class)
-public class KestrelComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(KestrelComponent.class)
- public KestrelComponent configureComponent(CamelContext camelContext,
- KestrelComponentConfiguration configuration) throws Exception {
- KestrelComponent component = new KestrelComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
deleted file mode 100644
index d856674..0000000
--- a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.kestrel.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.kestrel.KestrelConfiguration;
-
-/**
- * The kestrel component allows messages to be sent to (or consumed from)
- * Kestrel brokers.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.kestrel")
-public class KestrelComponentConfiguration {
-
- /**
- * To use a shared configured configuration as base for creating new
- * endpoints.
- */
- private KestrelConfiguration configuration;
-
- public KestrelConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(KestrelConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kestrel/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-kestrel/src/main/resources/META-INF/spring.factories b/components/camel-kestrel/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 534bb4c..0000000
--- a/components/camel-kestrel/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.kestrel.springboot.KestrelComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-krati/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-krati/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java b/components/camel-krati/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java
deleted file mode 100644
index cab2433..0000000
--- a/components/camel-krati/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.krati.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.krati.KratiComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(KratiComponentConfiguration.class)
-public class KratiComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(KratiComponent.class)
- public KratiComponent configureComponent(CamelContext camelContext,
- KratiComponentConfiguration configuration) throws Exception {
- KratiComponent component = new KratiComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-krati/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-krati/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentConfiguration.java b/components/camel-krati/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentConfiguration.java
deleted file mode 100644
index 6bbe1af..0000000
--- a/components/camel-krati/src/main/java/org/apache/camel/component/krati/springboot/KratiComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.krati.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The krati allows the use krati datastores and datasets inside Camel.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.krati")
-public class KratiComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-krati/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-krati/src/main/resources/META-INF/spring.factories b/components/camel-krati/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 78772dd..0000000
--- a/components/camel-krati/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.krati.springboot.KratiComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java
deleted file mode 100644
index c399390..0000000
--- a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.kubernetes.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.kubernetes.KubernetesComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(KubernetesComponentConfiguration.class)
-public class KubernetesComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(KubernetesComponent.class)
- public KubernetesComponent configureComponent(CamelContext camelContext,
- KubernetesComponentConfiguration configuration) throws Exception {
- KubernetesComponent component = new KubernetesComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentConfiguration.java b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentConfiguration.java
deleted file mode 100644
index 2ba0682..0000000
--- a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/springboot/KubernetesComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.kubernetes.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The kubernetes component allows to work with Kubernetes PaaS.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.kubernetes")
-public class KubernetesComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-kubernetes/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-kubernetes/src/main/resources/META-INF/spring.factories b/components/camel-kubernetes/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 5ef2258..0000000
--- a/components/camel-kubernetes/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.kubernetes.springboot.KubernetesComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ldap/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ldap/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java b/components/camel-ldap/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java
deleted file mode 100644
index 9a6a57b..0000000
--- a/components/camel-ldap/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ldap.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ldap.LdapComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(LdapComponentConfiguration.class)
-public class LdapComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(LdapComponent.class)
- public LdapComponent configureComponent(CamelContext camelContext,
- LdapComponentConfiguration configuration) throws Exception {
- LdapComponent component = new LdapComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ldap/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ldap/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentConfiguration.java b/components/camel-ldap/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentConfiguration.java
deleted file mode 100644
index 8f9a7b0..0000000
--- a/components/camel-ldap/src/main/java/org/apache/camel/component/ldap/springboot/LdapComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ldap.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The ldap component allows you to perform searches in LDAP servers using
- * filters as the message payload.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ldap")
-public class LdapComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ldap/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ldap/src/main/resources/META-INF/spring.factories b/components/camel-ldap/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a65ba9b..0000000
--- a/components/camel-ldap/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ldap.springboot.LdapComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
deleted file mode 100644
index f8962a5..0000000
--- a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.linkedin.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.linkedin.LinkedInComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(LinkedInComponentConfiguration.class)
-public class LinkedInComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(LinkedInComponent.class)
- public LinkedInComponent configureComponent(CamelContext camelContext,
- LinkedInComponentConfiguration configuration) throws Exception {
- LinkedInComponent component = new LinkedInComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
deleted file mode 100644
index aa75f41..0000000
--- a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.linkedin.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.linkedin.LinkedInConfiguration;
-
-/**
- * The linkedin component is uses for retrieving LinkedIn user profiles
- * connections companies groups posts etc.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.linkedin")
-public class LinkedInComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private LinkedInConfiguration configuration;
-
- public LinkedInConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(LinkedInConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-linkedin/camel-linkedin-component/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/src/main/resources/META-INF/spring.factories b/components/camel-linkedin/camel-linkedin-component/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index fde340f..0000000
--- a/components/camel-linkedin/camel-linkedin-component/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.linkedin.springboot.LinkedInComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
deleted file mode 100644
index 23720bd..0000000
--- a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.lucene.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.lucene.LuceneComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(LuceneComponentConfiguration.class)
-public class LuceneComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(LuceneComponent.class)
- public LuceneComponent configureComponent(CamelContext camelContext,
- LuceneComponentConfiguration configuration) throws Exception {
- LuceneComponent component = new LuceneComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
deleted file mode 100644
index 4f639e9..0000000
--- a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.lucene.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.lucene.LuceneConfiguration;
-
-/**
- * To insert or query from Apache Lucene databases.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.lucene")
-public class LuceneComponentConfiguration {
-
- /**
- * To use a shared lucene configuration
- */
- private LuceneConfiguration config;
-
- public LuceneConfiguration getConfig() {
- return config;
- }
-
- public void setConfig(LuceneConfiguration config) {
- this.config = config;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-lucene/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-lucene/src/main/resources/META-INF/spring.factories b/components/camel-lucene/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index bc2eef7..0000000
--- a/components/camel-lucene/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.lucene.springboot.LuceneComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
deleted file mode 100644
index 67022c2..0000000
--- a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mail.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mail.MailComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MailComponentConfiguration.class)
-public class MailComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MailComponent.class)
- public MailComponent configureComponent(CamelContext camelContext,
- MailComponentConfiguration configuration) throws Exception {
- MailComponent component = new MailComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
deleted file mode 100644
index 49baa08..0000000
--- a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mail.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.mail.MailConfiguration;
-import org.apache.camel.component.mail.ContentTypeResolver;
-
-/**
- * To send or receive emails using imap/pop3 or stmp protocols.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.smtps")
-public class MailComponentConfiguration {
-
- /**
- * Sets the Mail configuration
- */
- private MailConfiguration configuration;
- /**
- * Resolver to determine Content-Type for file attachments.
- */
- private ContentTypeResolver contentTypeResolver;
-
- public MailConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(MailConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public ContentTypeResolver getContentTypeResolver() {
- return contentTypeResolver;
- }
-
- public void setContentTypeResolver(ContentTypeResolver contentTypeResolver) {
- this.contentTypeResolver = contentTypeResolver;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mail/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/resources/META-INF/spring.factories b/components/camel-mail/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9791dc1..0000000
--- a/components/camel-mail/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mail.springboot.MailComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
deleted file mode 100644
index 6224637..0000000
--- a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.metrics.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.metrics.MetricsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MetricsComponentConfiguration.class)
-public class MetricsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MetricsComponent.class)
- public MetricsComponent configureComponent(CamelContext camelContext,
- MetricsComponentConfiguration configuration) throws Exception {
- MetricsComponent component = new MetricsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
deleted file mode 100644
index 5fd61b0..0000000
--- a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.metrics.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.codahale.metrics.MetricRegistry;
-
-/**
- * To collect various metrics directly from Camel routes using the DropWizard
- * metrics library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.metrics")
-public class MetricsComponentConfiguration {
-
- /**
- * To use a custom configured MetricRegistry.
- */
- private MetricRegistry metricRegistry;
-
- public MetricRegistry getMetricRegistry() {
- return metricRegistry;
- }
-
- public void setMetricRegistry(MetricRegistry metricRegistry) {
- this.metricRegistry = metricRegistry;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-metrics/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/resources/META-INF/spring.factories b/components/camel-metrics/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index dd83a8b..0000000
--- a/components/camel-metrics/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.metrics.springboot.MetricsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
deleted file mode 100644
index c0f6981..0000000
--- a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mina.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mina.MinaComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MinaComponentConfiguration.class)
-public class MinaComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MinaComponent.class)
- public MinaComponent configureComponent(CamelContext camelContext,
- MinaComponentConfiguration configuration) throws Exception {
- MinaComponent component = new MinaComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
deleted file mode 100644
index 86f2b16..0000000
--- a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mina.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.mina.MinaConfiguration;
-
-/**
- * Socket level networking using TCP or UDP with the Apache Mina 1.x library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.mina")
-public class MinaComponentConfiguration {
-
- /**
- * To use the shared mina configuration.
- */
- private MinaConfiguration configuration;
-
- public MinaConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(MinaConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mina/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/main/resources/META-INF/spring.factories b/components/camel-mina/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7d810bf..0000000
--- a/components/camel-mina/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mina.springboot.MinaComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
deleted file mode 100644
index 7a2f740..0000000
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mina2.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mina2.Mina2Component;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(Mina2ComponentConfiguration.class)
-public class Mina2ComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(Mina2Component.class)
- public Mina2Component configureComponent(CamelContext camelContext,
- Mina2ComponentConfiguration configuration) throws Exception {
- Mina2Component component = new Mina2Component();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
deleted file mode 100644
index 03f5663..0000000
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mina2.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.mina2.Mina2Configuration;
-
-/**
- * Socket level networking using TCP or UDP with the Apache Mina 2.x library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.mina2")
-public class Mina2ComponentConfiguration {
-
- /**
- * To use the shared mina configuration.
- */
- private Mina2Configuration configuration;
-
- public Mina2Configuration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(Mina2Configuration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mina2/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/resources/META-INF/spring.factories b/components/camel-mina2/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index b398489..0000000
--- a/components/camel-mina2/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mina2.springboot.Mina2ComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java
deleted file mode 100644
index 0e2d712..0000000
--- a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mllp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mllp.MllpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MllpComponentConfiguration.class)
-public class MllpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MllpComponent.class)
- public MllpComponent configureComponent(CamelContext camelContext,
- MllpComponentConfiguration configuration) throws Exception {
- MllpComponent component = new MllpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentConfiguration.java b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentConfiguration.java
deleted file mode 100644
index 9c8dcbd..0000000
--- a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mllp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Represents a MLLP endpoint.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.mllp")
-public class MllpComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mllp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mllp/src/main/resources/META-INF/spring.factories b/components/camel-mllp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 8cb7231..0000000
--- a/components/camel-mllp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mllp.springboot.MllpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/springboot/GridFsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/springboot/GridFsComponentAutoConfiguration.java b/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/springboot/GridFsComponentAutoConfiguration.java
deleted file mode 100644
index 2d992f8..0000000
--- a/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/springboot/GridFsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.gridfs.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.gridfs.GridFsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GridFsComponentConfiguration.class)
-public class GridFsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GridFsComponent.class)
- public GridFsComponent configureComponent(CamelContext camelContext,
- GridFsComponentConfiguration configuration) throws Exception {
- GridFsComponent component = new GridFsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[20/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-smpp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/resources/META-INF/spring.factories b/components/camel-smpp/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..e3c2d51
--- /dev/null
+++ b/components/camel-smpp/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.smpp.springboot.SmppComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
new file mode 100644
index 0000000..a97c7ff
--- /dev/null
+++ b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sparkrest.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.sparkrest.SparkComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SparkComponentConfiguration.class)
+public class SparkComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SparkComponent.class)
+ public SparkComponent configureComponent(CamelContext camelContext,
+ SparkComponentConfiguration configuration) throws Exception {
+ SparkComponent component = new SparkComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
new file mode 100644
index 0000000..b7ce2ca
--- /dev/null
+++ b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
@@ -0,0 +1,166 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sparkrest.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.sparkrest.SparkConfiguration;
+import org.apache.camel.component.sparkrest.SparkBinding;
+
+/**
+ * The spark-rest component is used for hosting REST services which has been
+ * defined using Camel rest-dsl.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.spark-rest")
+public class SparkComponentConfiguration {
+
+ /**
+ * Port number. Will by default use 4567
+ */
+ private int port;
+ /**
+ * Set the IP address that Spark should listen on. If not called the default
+ * address is '0.0.0.0'.
+ */
+ private String ipAddress;
+ /**
+ * Minimum number of threads in Spark thread-pool (shared globally)
+ */
+ private int minThreads;
+ /**
+ * Maximum number of threads in Spark thread-pool (shared globally)
+ */
+ private int maxThreads;
+ /**
+ * Thread idle timeout in millis where threads that has been idle for a
+ * longer period will be terminated from the thread pool
+ */
+ private int timeOutMillis;
+ /**
+ * Configures connection to be secure to use the keystore file
+ */
+ private String keystoreFile;
+ /**
+ * Configures connection to be secure to use the keystore password
+ */
+ private String keystorePassword;
+ /**
+ * Configures connection to be secure to use the truststore file
+ */
+ private String truststoreFile;
+ /**
+ * Configures connection to be secure to use the truststore password
+ */
+ private String truststorePassword;
+ /**
+ * To use the shared SparkConfiguration
+ */
+ private SparkConfiguration sparkConfiguration;
+ /**
+ * To use a custom SparkBinding to map to/from Camel message.
+ */
+ private SparkBinding sparkBinding;
+
+ public int getPort() {
+ return port;
+ }
+
+ public void setPort(int port) {
+ this.port = port;
+ }
+
+ public String getIpAddress() {
+ return ipAddress;
+ }
+
+ public void setIpAddress(String ipAddress) {
+ this.ipAddress = ipAddress;
+ }
+
+ public int getMinThreads() {
+ return minThreads;
+ }
+
+ public void setMinThreads(int minThreads) {
+ this.minThreads = minThreads;
+ }
+
+ public int getMaxThreads() {
+ return maxThreads;
+ }
+
+ public void setMaxThreads(int maxThreads) {
+ this.maxThreads = maxThreads;
+ }
+
+ public int getTimeOutMillis() {
+ return timeOutMillis;
+ }
+
+ public void setTimeOutMillis(int timeOutMillis) {
+ this.timeOutMillis = timeOutMillis;
+ }
+
+ public String getKeystoreFile() {
+ return keystoreFile;
+ }
+
+ public void setKeystoreFile(String keystoreFile) {
+ this.keystoreFile = keystoreFile;
+ }
+
+ public String getKeystorePassword() {
+ return keystorePassword;
+ }
+
+ public void setKeystorePassword(String keystorePassword) {
+ this.keystorePassword = keystorePassword;
+ }
+
+ public String getTruststoreFile() {
+ return truststoreFile;
+ }
+
+ public void setTruststoreFile(String truststoreFile) {
+ this.truststoreFile = truststoreFile;
+ }
+
+ public String getTruststorePassword() {
+ return truststorePassword;
+ }
+
+ public void setTruststorePassword(String truststorePassword) {
+ this.truststorePassword = truststorePassword;
+ }
+
+ public SparkConfiguration getSparkConfiguration() {
+ return sparkConfiguration;
+ }
+
+ public void setSparkConfiguration(SparkConfiguration sparkConfiguration) {
+ this.sparkConfiguration = sparkConfiguration;
+ }
+
+ public SparkBinding getSparkBinding() {
+ return sparkBinding;
+ }
+
+ public void setSparkBinding(SparkBinding sparkBinding) {
+ this.sparkBinding = sparkBinding;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/resources/META-INF/spring.factories b/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..9f7f38a
--- /dev/null
+++ b/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.sparkrest.springboot.SparkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
new file mode 100644
index 0000000..6caa96d
--- /dev/null
+++ b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.spark.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.spark.SparkComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SparkComponentConfiguration.class)
+public class SparkComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SparkComponent.class)
+ public SparkComponent configureComponent(CamelContext camelContext,
+ SparkComponentConfiguration configuration) throws Exception {
+ SparkComponent component = new SparkComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
new file mode 100644
index 0000000..388ae57
--- /dev/null
+++ b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
@@ -0,0 +1,56 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.spark.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.spark.api.java.JavaRDDLike;
+import org.apache.camel.component.spark.RddCallback;
+
+/**
+ * The spark component can be used to send RDD or DataFrame jobs to Apache Spark
+ * cluster.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.spark")
+public class SparkComponentConfiguration {
+
+ /**
+ * RDD to compute against.
+ */
+ private JavaRDDLike rdd;
+ /**
+ * Function performing action against an RDD.
+ */
+ private RddCallback rddCallback;
+
+ public JavaRDDLike getRdd() {
+ return rdd;
+ }
+
+ public void setRdd(JavaRDDLike rdd) {
+ this.rdd = rdd;
+ }
+
+ public RddCallback getRddCallback() {
+ return rddCallback;
+ }
+
+ public void setRddCallback(RddCallback rddCallback) {
+ this.rddCallback = rddCallback;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spark/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/resources/META-INF/spring.factories b/components/camel-spark/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..744a7bf
--- /dev/null
+++ b/components/camel-spark/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.spark.springboot.SparkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
new file mode 100644
index 0000000..d3c1935
--- /dev/null
+++ b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.splunk.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.splunk.SplunkComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SplunkComponentConfiguration.class)
+public class SplunkComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SplunkComponent.class)
+ public SplunkComponent configureComponent(CamelContext camelContext,
+ SplunkComponentConfiguration configuration) throws Exception {
+ SplunkComponent component = new SplunkComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
new file mode 100644
index 0000000..dc660f9
--- /dev/null
+++ b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.splunk.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.splunk.SplunkConfigurationFactory;
+
+/**
+ * The splunk component allows to publish or search for events in Splunk.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.splunk")
+public class SplunkComponentConfiguration {
+
+ /**
+ * To use the SplunkConfigurationFactory
+ */
+ private SplunkConfigurationFactory splunkConfigurationFactory;
+
+ public SplunkConfigurationFactory getSplunkConfigurationFactory() {
+ return splunkConfigurationFactory;
+ }
+
+ public void setSplunkConfigurationFactory(
+ SplunkConfigurationFactory splunkConfigurationFactory) {
+ this.splunkConfigurationFactory = splunkConfigurationFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-splunk/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/resources/META-INF/spring.factories b/components/camel-splunk/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..f508243
--- /dev/null
+++ b/components/camel-splunk/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.splunk.springboot.SplunkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
new file mode 100644
index 0000000..9ade577
--- /dev/null
+++ b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.spring.batch.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.spring.batch.SpringBatchComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SpringBatchComponentConfiguration.class)
+public class SpringBatchComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SpringBatchComponent.class)
+ public SpringBatchComponent configureComponent(CamelContext camelContext,
+ SpringBatchComponentConfiguration configuration) throws Exception {
+ SpringBatchComponent component = new SpringBatchComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
new file mode 100644
index 0000000..25e8916
--- /dev/null
+++ b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.spring.batch.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.batch.core.launch.JobLauncher;
+
+/**
+ * The spring-batch component allows to send messages to Spring Batch for
+ * further processing.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.spring-batch")
+public class SpringBatchComponentConfiguration {
+
+ /**
+ * Explicitly specifies a JobLauncher to be used.
+ */
+ private JobLauncher jobLauncher;
+
+ public JobLauncher getJobLauncher() {
+ return jobLauncher;
+ }
+
+ public void setJobLauncher(JobLauncher jobLauncher) {
+ this.jobLauncher = jobLauncher;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/resources/META-INF/spring.factories b/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..e3c5109
--- /dev/null
+++ b/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.spring.batch.springboot.SpringBatchComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
new file mode 100644
index 0000000..a017d5a
--- /dev/null
+++ b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.event.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.event.EventComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(EventComponentConfiguration.class)
+public class EventComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(EventComponent.class)
+ public EventComponent configureComponent(CamelContext camelContext,
+ EventComponentConfiguration configuration) throws Exception {
+ EventComponent component = new EventComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java
new file mode 100644
index 0000000..a2cc856
--- /dev/null
+++ b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.event.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.context.ApplicationContext;
+
+/**
+ * The spring-event component allows to listen for Spring Application Events.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.spring-event")
+public class EventComponentConfiguration {
+
+ /**
+ * The Spring ApplicationContext
+ */
+ private ApplicationContext applicationContext;
+
+ public ApplicationContext getApplicationContext() {
+ return applicationContext;
+ }
+
+ public void setApplicationContext(ApplicationContext applicationContext) {
+ this.applicationContext = applicationContext;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-spring/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/main/resources/META-INF/spring.factories b/components/camel-spring/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..3b58cd1
--- /dev/null
+++ b/components/camel-spring/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.event.springboot.EventComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
new file mode 100644
index 0000000..09ef1dd
--- /dev/null
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sql.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.sql.SqlComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SqlComponentConfiguration.class)
+public class SqlComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SqlComponent.class)
+ public SqlComponent configureComponent(CamelContext camelContext,
+ SqlComponentConfiguration configuration) throws Exception {
+ SqlComponent component = new SqlComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
new file mode 100644
index 0000000..f127ffe
--- /dev/null
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
@@ -0,0 +1,55 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sql.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.sql.DataSource;
+
+/**
+ * The sql component can be used to perform SQL query to a database.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.sql")
+public class SqlComponentConfiguration {
+
+ /**
+ * Sets the DataSource to use to communicate with the database.
+ */
+ private DataSource dataSource;
+ /**
+ * Sets whether to use placeholder and replace all placeholder characters
+ * with sign in the SQL queries. This option is default true
+ */
+ private boolean usePlaceholder;
+
+ public DataSource getDataSource() {
+ return dataSource;
+ }
+
+ public void setDataSource(DataSource dataSource) {
+ this.dataSource = dataSource;
+ }
+
+ public boolean isUsePlaceholder() {
+ return usePlaceholder;
+ }
+
+ public void setUsePlaceholder(boolean usePlaceholder) {
+ this.usePlaceholder = usePlaceholder;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
new file mode 100644
index 0000000..3bd59f3
--- /dev/null
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sql.stored.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.sql.stored.SqlStoredComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SqlStoredComponentConfiguration.class)
+public class SqlStoredComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SqlStoredComponent.class)
+ public SqlStoredComponent configureComponent(CamelContext camelContext,
+ SqlStoredComponentConfiguration configuration) throws Exception {
+ SqlStoredComponent component = new SqlStoredComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
new file mode 100644
index 0000000..470569f
--- /dev/null
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sql.stored.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.sql.DataSource;
+
+/**
+ * Camel SQL support
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.sql-stored")
+public class SqlStoredComponentConfiguration {
+
+ /**
+ * Sets the DataSource to use to communicate with the database.
+ */
+ private DataSource dataSource;
+
+ public DataSource getDataSource() {
+ return dataSource;
+ }
+
+ public void setDataSource(DataSource dataSource) {
+ this.dataSource = dataSource;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sql/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/resources/META-INF/spring.factories b/components/camel-sql/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..881053b
--- /dev/null
+++ b/components/camel-sql/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.sql.stored.springboot.SqlStoredComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
new file mode 100644
index 0000000..3f16c47
--- /dev/null
+++ b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ssh.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.ssh.SshComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SshComponentConfiguration.class)
+public class SshComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SshComponent.class)
+ public SshComponent configureComponent(CamelContext camelContext,
+ SshComponentConfiguration configuration) throws Exception {
+ SshComponent component = new SshComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
new file mode 100644
index 0000000..4afa893
--- /dev/null
+++ b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
@@ -0,0 +1,175 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ssh.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.ssh.SshConfiguration;
+import org.apache.sshd.common.KeyPairProvider;
+
+/**
+ * The ssh component enables access to SSH servers such that you can send an SSH
+ * command and process the response.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.ssh")
+public class SshComponentConfiguration {
+
+ /**
+ * To use the shared SSH configuration
+ */
+ private SshConfiguration configuration;
+ /**
+ * Sets the hostname of the remote SSH server.
+ */
+ private String host;
+ /**
+ * Sets the port number for the remote SSH server.
+ */
+ private int port;
+ /**
+ * Sets the username to use in logging into the remote SSH server.
+ */
+ private String username;
+ /**
+ * Sets the password to use in connecting to remote SSH server. Requires
+ * keyPairProvider to be set to null.
+ */
+ private String password;
+ /**
+ * Sets the command string to send to the remote SSH server during every
+ * poll cycle. Only works with camel-ssh component being used as a consumer
+ * i.e. from(ssh://...). You may need to end your command with a newline and
+ * that must be URL encoded 0A
+ */
+ private String pollCommand;
+ /**
+ * Sets the KeyPairProvider reference to use when connecting using
+ * Certificates to the remote SSH Server.
+ */
+ private KeyPairProvider keyPairProvider;
+ /**
+ * Sets the key type to pass to the KeyPairProvider as part of
+ * authentication. KeyPairProvider.loadKey(...) will be passed this value.
+ * Defaults to ssh-rsa.
+ */
+ private String keyType;
+ /**
+ * Sets the timeout in milliseconds to wait in establishing the remote SSH
+ * server connection. Defaults to 30000 milliseconds.
+ */
+ private long timeout;
+ /**
+ * Sets the resource path of the certificate to use for Authentication.
+ */
+ @Deprecated
+ private String certFilename;
+ /**
+ * Sets the resource path of the certificate to use for Authentication. Will
+ * use ResourceHelperKeyPairProvider to resolve file based certificate and
+ * depends on keyType setting.
+ */
+ private String certResource;
+
+ public SshConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(SshConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public String getHost() {
+ return host;
+ }
+
+ public void setHost(String host) {
+ this.host = host;
+ }
+
+ public int getPort() {
+ return port;
+ }
+
+ public void setPort(int port) {
+ this.port = port;
+ }
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ public String getPollCommand() {
+ return pollCommand;
+ }
+
+ public void setPollCommand(String pollCommand) {
+ this.pollCommand = pollCommand;
+ }
+
+ public KeyPairProvider getKeyPairProvider() {
+ return keyPairProvider;
+ }
+
+ public void setKeyPairProvider(KeyPairProvider keyPairProvider) {
+ this.keyPairProvider = keyPairProvider;
+ }
+
+ public String getKeyType() {
+ return keyType;
+ }
+
+ public void setKeyType(String keyType) {
+ this.keyType = keyType;
+ }
+
+ public long getTimeout() {
+ return timeout;
+ }
+
+ public void setTimeout(long timeout) {
+ this.timeout = timeout;
+ }
+
+ public String getCertFilename() {
+ return certFilename;
+ }
+
+ public void setCertFilename(String certFilename) {
+ this.certFilename = certFilename;
+ }
+
+ public String getCertResource() {
+ return certResource;
+ }
+
+ public void setCertResource(String certResource) {
+ this.certResource = certResource;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ssh/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ssh/src/main/resources/META-INF/spring.factories b/components/camel-ssh/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..67aa6d0
--- /dev/null
+++ b/components/camel-ssh/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.ssh.springboot.SshComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
new file mode 100644
index 0000000..5f242d7
--- /dev/null
+++ b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.stomp.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.stomp.StompComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(StompComponentConfiguration.class)
+public class StompComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(StompComponent.class)
+ public StompComponent configureComponent(CamelContext camelContext,
+ StompComponentConfiguration configuration) throws Exception {
+ StompComponent component = new StompComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
new file mode 100644
index 0000000..84e77c5
--- /dev/null
+++ b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
@@ -0,0 +1,91 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.stomp.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.stomp.StompConfiguration;
+
+/**
+ * The stomp component is used for communicating with Stomp compliant message
+ * brokers.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.stomp")
+public class StompComponentConfiguration {
+
+ /**
+ * To use the shared stomp configuration
+ */
+ private StompConfiguration configuration;
+ /**
+ * The URI of the Stomp broker to connect to
+ */
+ private String brokerURL;
+ /**
+ * The username
+ */
+ private String login;
+ /**
+ * The password
+ */
+ private String passcode;
+ /**
+ * The virtual host
+ */
+ private String host;
+
+ public StompConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(StompConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public String getBrokerURL() {
+ return brokerURL;
+ }
+
+ public void setBrokerURL(String brokerURL) {
+ this.brokerURL = brokerURL;
+ }
+
+ public String getLogin() {
+ return login;
+ }
+
+ public void setLogin(String login) {
+ this.login = login;
+ }
+
+ public String getPasscode() {
+ return passcode;
+ }
+
+ public void setPasscode(String passcode) {
+ this.passcode = passcode;
+ }
+
+ public String getHost() {
+ return host;
+ }
+
+ public void setHost(String host) {
+ this.host = host;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-stomp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/resources/META-INF/spring.factories b/components/camel-stomp/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..1f38a87
--- /dev/null
+++ b/components/camel-stomp/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.stomp.springboot.StompComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
new file mode 100644
index 0000000..e854561
--- /dev/null
+++ b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.twitter.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.twitter.TwitterComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(TwitterComponentConfiguration.class)
+public class TwitterComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(TwitterComponent.class)
+ public TwitterComponent configureComponent(CamelContext camelContext,
+ TwitterComponentConfiguration configuration) throws Exception {
+ TwitterComponent component = new TwitterComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java
new file mode 100644
index 0000000..8ce5105
--- /dev/null
+++ b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java
@@ -0,0 +1,126 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.twitter.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * This component integrates with Twitter to send tweets or search for tweets
+ * and more.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.twitter")
+public class TwitterComponentConfiguration {
+
+ /**
+ * The access token
+ */
+ private String accessToken;
+ /**
+ * The access token secret
+ */
+ private String accessTokenSecret;
+ /**
+ * The consumer key
+ */
+ private String consumerKey;
+ /**
+ * The consumer secret
+ */
+ private String consumerSecret;
+ /**
+ * The http proxy host which can be used for the camel-twitter.
+ */
+ private String httpProxyHost;
+ /**
+ * The http proxy user which can be used for the camel-twitter.
+ */
+ private String httpProxyUser;
+ /**
+ * The http proxy password which can be used for the camel-twitter.
+ */
+ private String httpProxyPassword;
+ /**
+ * The http proxy port which can be used for the camel-twitter.
+ */
+ private int httpProxyPort;
+
+ public String getAccessToken() {
+ return accessToken;
+ }
+
+ public void setAccessToken(String accessToken) {
+ this.accessToken = accessToken;
+ }
+
+ public String getAccessTokenSecret() {
+ return accessTokenSecret;
+ }
+
+ public void setAccessTokenSecret(String accessTokenSecret) {
+ this.accessTokenSecret = accessTokenSecret;
+ }
+
+ public String getConsumerKey() {
+ return consumerKey;
+ }
+
+ public void setConsumerKey(String consumerKey) {
+ this.consumerKey = consumerKey;
+ }
+
+ public String getConsumerSecret() {
+ return consumerSecret;
+ }
+
+ public void setConsumerSecret(String consumerSecret) {
+ this.consumerSecret = consumerSecret;
+ }
+
+ public String getHttpProxyHost() {
+ return httpProxyHost;
+ }
+
+ public void setHttpProxyHost(String httpProxyHost) {
+ this.httpProxyHost = httpProxyHost;
+ }
+
+ public String getHttpProxyUser() {
+ return httpProxyUser;
+ }
+
+ public void setHttpProxyUser(String httpProxyUser) {
+ this.httpProxyUser = httpProxyUser;
+ }
+
+ public String getHttpProxyPassword() {
+ return httpProxyPassword;
+ }
+
+ public void setHttpProxyPassword(String httpProxyPassword) {
+ this.httpProxyPassword = httpProxyPassword;
+ }
+
+ public int getHttpProxyPort() {
+ return httpProxyPort;
+ }
+
+ public void setHttpProxyPort(int httpProxyPort) {
+ this.httpProxyPort = httpProxyPort;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-twitter/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/resources/META-INF/spring.factories b/components/camel-twitter/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..8694c3b
--- /dev/null
+++ b/components/camel-twitter/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.twitter.springboot.TwitterComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
new file mode 100644
index 0000000..ea53436
--- /dev/null
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.undertow.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.undertow.UndertowComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(UndertowComponentConfiguration.class)
+public class UndertowComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(UndertowComponent.class)
+ public UndertowComponent configureComponent(CamelContext camelContext,
+ UndertowComponentConfiguration configuration) throws Exception {
+ UndertowComponent component = new UndertowComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
new file mode 100644
index 0000000..a9db8d3
--- /dev/null
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
@@ -0,0 +1,58 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.undertow.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.undertow.UndertowHttpBinding;
+import org.apache.camel.util.jsse.SSLContextParameters;
+
+/**
+ * The undertow component provides HTTP-based endpoints for consuming and
+ * producing HTTP requests.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.undertow")
+public class UndertowComponentConfiguration {
+
+ /**
+ * To use a custom HttpBinding to control the mapping between Camel message
+ * and HttpClient.
+ */
+ private UndertowHttpBinding undertowHttpBinding;
+ /**
+ * To configure security using SSLContextParameters
+ */
+ private SSLContextParameters sslContextParameters;
+
+ public UndertowHttpBinding getUndertowHttpBinding() {
+ return undertowHttpBinding;
+ }
+
+ public void setUndertowHttpBinding(UndertowHttpBinding undertowHttpBinding) {
+ this.undertowHttpBinding = undertowHttpBinding;
+ }
+
+ public SSLContextParameters getSslContextParameters() {
+ return sslContextParameters;
+ }
+
+ public void setSslContextParameters(
+ SSLContextParameters sslContextParameters) {
+ this.sslContextParameters = sslContextParameters;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-undertow/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/resources/META-INF/spring.factories b/components/camel-undertow/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..effa0bf
--- /dev/null
+++ b/components/camel-undertow/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.undertow.springboot.UndertowComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
new file mode 100644
index 0000000..fd682f2
--- /dev/null
+++ b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.velocity.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.velocity.VelocityComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(VelocityComponentConfiguration.class)
+public class VelocityComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(VelocityComponent.class)
+ public VelocityComponent configureComponent(CamelContext camelContext,
+ VelocityComponentConfiguration configuration) throws Exception {
+ VelocityComponent component = new VelocityComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
[28/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
Experiment with generating spring-boot auto configuration for the Camel components.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3ad3f004
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3ad3f004
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3ad3f004
Branch: refs/heads/boot-generate
Commit: 3ad3f00490e27700b702d0e4321d2cf0152cffd1
Parents: f9cbfb2
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Jun 8 05:37:48 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Jun 8 05:37:48 2016 +0200
----------------------------------------------------------------------
.../WsComponentAutoConfiguration.java | 50 +
.../ws/springboot/WsComponentConfiguration.java | 118 ++
.../main/resources/META-INF/spring.factories | 19 +
.../AhcComponentAutoConfiguration.java | 50 +
.../springboot/AhcComponentConfiguration.java | 118 ++
.../main/resources/META-INF/spring.factories | 19 +
.../AMQPComponentAutoConfiguration.java | 50 +
.../springboot/AMQPComponentConfiguration.java | 1122 +++++++++++++++++
.../main/resources/META-INF/spring.factories | 19 +
.../ApnsComponentAutoConfiguration.java | 50 +
.../springboot/ApnsComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../WebsocketComponentAutoConfiguration.java | 50 +
.../WebsocketComponentConfiguration.java | 126 ++
.../main/resources/META-INF/spring.factories | 19 +
.../AvroComponentAutoConfiguration.java | 50 +
.../springboot/AvroComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../BeanstalkComponentAutoConfiguration.java | 50 +
.../BeanstalkComponentConfiguration.java | 46 +
.../main/resources/META-INF/spring.factories | 19 +
.../BoxComponentAutoConfiguration.java | 50 +
.../springboot/BoxComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../BraintreeComponentAutoConfiguration.java | 50 +
.../BraintreeComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../CacheComponentAutoConfiguration.java | 50 +
.../springboot/CacheComponentConfiguration.java | 70 ++
.../main/resources/META-INF/spring.factories | 19 +
.../CometdComponentAutoConfiguration.java | 50 +
.../CometdComponentConfiguration.java | 108 ++
.../main/resources/META-INF/spring.factories | 19 +
...italSignatureComponentAutoConfiguration.java | 52 +
.../DigitalSignatureComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../CxfRsComponentAutoConfiguration.java | 50 +
.../springboot/CxfRsComponentConfiguration.java | 44 +
.../CxfComponentAutoConfiguration.java | 50 +
.../springboot/CxfComponentConfiguration.java | 59 +
.../main/resources/META-INF/spring.factories | 19 +
.../DisruptorComponentAutoConfiguration.java | 50 +
.../DisruptorComponentConfiguration.java | 120 ++
.../DisruptorVmComponentAutoConfiguration.java | 50 +
.../DisruptorVmComponentConfiguration.java | 120 ++
.../main/resources/META-INF/spring.factories | 19 +
.../DockerComponentAutoConfiguration.java | 50 +
.../DockerComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../EjbComponentAutoConfiguration.java | 50 +
.../springboot/EjbComponentConfiguration.java | 56 +
.../main/resources/META-INF/spring.factories | 19 +
...ElasticsearchComponentAutoConfiguration.java | 50 +
.../ElasticsearchComponentConfiguration.java | 44 +
.../main/resources/META-INF/spring.factories | 19 +
.../ElsqlComponentAutoConfiguration.java | 50 +
.../springboot/ElsqlComponentConfiguration.java | 86 ++
.../main/resources/META-INF/spring.factories | 19 +
.../EventAdminComponentAutoConfiguration.java | 50 +
.../EventAdminComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../FacebookComponentAutoConfiguration.java | 50 +
.../FacebookComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../FlinkComponentAutoConfiguration.java | 50 +
.../springboot/FlinkComponentConfiguration.java | 81 ++
.../main/resources/META-INF/spring.factories | 19 +
.../FreemarkerComponentAutoConfiguration.java | 50 +
.../FreemarkerComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../GangliaComponentAutoConfiguration.java | 50 +
.../GangliaComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
...oogleCalendarComponentAutoConfiguration.java | 52 +
.../GoogleCalendarComponentConfiguration.java | 56 +
.../main/resources/META-INF/spring.factories | 19 +
.../GoogleDriveComponentAutoConfiguration.java | 50 +
.../GoogleDriveComponentConfiguration.java | 57 +
.../main/resources/META-INF/spring.factories | 19 +
.../GoogleMailComponentAutoConfiguration.java | 50 +
.../GoogleMailComponentConfiguration.java | 56 +
.../main/resources/META-INF/spring.factories | 19 +
...GuavaEventBusComponentAutoConfiguration.java | 50 +
.../GuavaEventBusComponentConfiguration.java | 59 +
.../main/resources/META-INF/spring.factories | 19 +
.../HazelcastComponentAutoConfiguration.java | 50 +
.../HazelcastComponentConfiguration.java | 45 +
.../main/resources/META-INF/spring.factories | 19 +
.../HBaseComponentAutoConfiguration.java | 50 +
.../springboot/HBaseComponentConfiguration.java | 55 +
.../main/resources/META-INF/spring.factories | 19 +
.../HdfsComponentAutoConfiguration.java | 50 +
.../springboot/HdfsComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../HdfsComponentAutoConfiguration.java | 50 +
.../springboot/HdfsComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../HttpComponentAutoConfiguration.java | 50 +
.../springboot/HttpComponentConfiguration.java | 116 ++
.../main/resources/META-INF/spring.factories | 19 +
.../HttpComponentAutoConfiguration.java | 50 +
.../springboot/HttpComponentConfiguration.java | 217 ++++
.../main/resources/META-INF/spring.factories | 19 +
.../IBatisComponentAutoConfiguration.java | 50 +
.../IBatisComponentConfiguration.java | 68 ++
.../main/resources/META-INF/spring.factories | 19 +
.../JcloudsComponentAutoConfiguration.java | 50 +
.../JcloudsComponentConfiguration.java | 57 +
.../main/resources/META-INF/spring.factories | 19 +
.../JdbcComponentAutoConfiguration.java | 50 +
.../springboot/JdbcComponentConfiguration.java | 44 +
.../main/resources/META-INF/spring.factories | 19 +
.../JettyHttpComponentAutoConfiguration9.java | 50 +
.../JettyHttpComponentConfiguration9.java | 436 +++++++
.../main/resources/META-INF/spring.factories | 19 +
.../JGroupsComponentAutoConfiguration.java | 50 +
.../JGroupsComponentConfiguration.java | 69 ++
.../main/resources/META-INF/spring.factories | 19 +
.../JmsComponentAutoConfiguration.java | 50 +
.../springboot/JmsComponentConfiguration.java | 1123 ++++++++++++++++++
.../main/resources/META-INF/spring.factories | 19 +
.../JoltComponentAutoConfiguration.java | 50 +
.../springboot/JoltComponentConfiguration.java | 44 +
.../main/resources/META-INF/spring.factories | 19 +
.../JpaComponentAutoConfiguration.java | 50 +
.../springboot/JpaComponentConfiguration.java | 89 ++
.../main/resources/META-INF/spring.factories | 19 +
.../ScpComponentAutoConfiguration.java | 50 +
.../springboot/ScpComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../Jt400ComponentAutoConfiguration.java | 50 +
.../springboot/Jt400ComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../KafkaComponentAutoConfiguration.java | 50 +
.../springboot/KafkaComponentConfiguration.java | 47 +
.../main/resources/META-INF/spring.factories | 19 +
.../KestrelComponentAutoConfiguration.java | 50 +
.../KestrelComponentConfiguration.java | 44 +
.../main/resources/META-INF/spring.factories | 19 +
.../LinkedInComponentAutoConfiguration.java | 50 +
.../LinkedInComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../LuceneComponentAutoConfiguration.java | 50 +
.../LuceneComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../MailComponentAutoConfiguration.java | 50 +
.../springboot/MailComponentConfiguration.java | 55 +
.../main/resources/META-INF/spring.factories | 19 +
.../MetricsComponentAutoConfiguration.java | 50 +
.../MetricsComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../MinaComponentAutoConfiguration.java | 50 +
.../springboot/MinaComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../Mina2ComponentAutoConfiguration.java | 50 +
.../springboot/Mina2ComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../MQTTComponentAutoConfiguration.java | 50 +
.../springboot/MQTTComponentConfiguration.java | 67 ++
.../main/resources/META-INF/spring.factories | 19 +
.../MsvComponentAutoConfiguration.java | 50 +
.../springboot/MsvComponentConfiguration.java | 57 +
.../main/resources/META-INF/spring.factories | 19 +
.../MustacheComponentAutoConfiguration.java | 50 +
.../MustacheComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../MyBatisComponentAutoConfiguration.java | 50 +
.../MyBatisComponentConfiguration.java | 56 +
.../main/resources/META-INF/spring.factories | 19 +
.../NagiosComponentAutoConfiguration.java | 50 +
.../NagiosComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../NettyHttpComponentAutoConfiguration.java | 50 +
.../NettyHttpComponentConfiguration.java | 100 ++
.../main/resources/META-INF/spring.factories | 19 +
.../NettyComponentAutoConfiguration.java | 50 +
.../springboot/NettyComponentConfiguration.java | 55 +
.../main/resources/META-INF/spring.factories | 19 +
.../NettyHttpComponentAutoConfiguration.java | 50 +
.../NettyHttpComponentConfiguration.java | 113 ++
.../main/resources/META-INF/spring.factories | 19 +
.../NettyComponentAutoConfiguration.java | 50 +
.../springboot/NettyComponentConfiguration.java | 68 ++
.../main/resources/META-INF/spring.factories | 19 +
.../Olingo2ComponentAutoConfiguration.java | 50 +
.../Olingo2ComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../OpenShiftComponentAutoConfiguration.java | 50 +
.../OpenShiftComponentConfiguration.java | 79 ++
.../main/resources/META-INF/spring.factories | 19 +
.../PahoComponentAutoConfiguration.java | 50 +
.../springboot/PahoComponentConfiguration.java | 67 ++
.../main/resources/META-INF/spring.factories | 19 +
.../PaxLoggingComponentAutoConfiguration.java | 50 +
.../PaxLoggingComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../QuartzComponentAutoConfiguration.java | 50 +
.../QuartzComponentConfiguration.java | 119 ++
.../main/resources/META-INF/spring.factories | 19 +
.../QuartzComponentAutoConfiguration.java | 50 +
.../QuartzComponentConfiguration.java | 149 +++
.../main/resources/META-INF/spring.factories | 19 +
.../QuickfixjComponentAutoConfiguration.java | 50 +
.../QuickfixjComponentConfiguration.java | 98 ++
.../main/resources/META-INF/spring.factories | 19 +
.../RestletComponentAutoConfiguration.java | 50 +
.../RestletComponentConfiguration.java | 296 +++++
.../main/resources/META-INF/spring.factories | 19 +
.../SalesforceComponentAutoConfiguration.java | 50 +
.../SalesforceComponentConfiguration.java | 231 ++++
.../main/resources/META-INF/spring.factories | 19 +
.../XQueryComponentAutoConfiguration.java | 50 +
.../XQueryComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../ServletComponentAutoConfiguration.java | 50 +
.../ServletComponentConfiguration.java | 127 ++
.../main/resources/META-INF/spring.factories | 19 +
.../SjmsBatchComponentAutoConfiguration.java | 50 +
.../SjmsBatchComponentConfiguration.java | 43 +
.../SjmsComponentAutoConfiguration.java | 50 +
.../springboot/SjmsComponentConfiguration.java | 166 +++
.../main/resources/META-INF/spring.factories | 19 +
.../SlackComponentAutoConfiguration.java | 50 +
.../springboot/SlackComponentConfiguration.java | 41 +
.../main/resources/META-INF/spring.factories | 19 +
.../SmppComponentAutoConfiguration.java | 50 +
.../springboot/SmppComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../SparkComponentAutoConfiguration.java | 50 +
.../springboot/SparkComponentConfiguration.java | 166 +++
.../main/resources/META-INF/spring.factories | 19 +
.../SparkComponentAutoConfiguration.java | 50 +
.../springboot/SparkComponentConfiguration.java | 56 +
.../main/resources/META-INF/spring.factories | 19 +
.../SplunkComponentAutoConfiguration.java | 50 +
.../SplunkComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../SpringBatchComponentAutoConfiguration.java | 50 +
.../SpringBatchComponentConfiguration.java | 43 +
.../main/resources/META-INF/spring.factories | 19 +
.../EventComponentAutoConfiguration.java | 50 +
.../springboot/EventComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../SqlComponentAutoConfiguration.java | 50 +
.../springboot/SqlComponentConfiguration.java | 55 +
.../SqlStoredComponentAutoConfiguration.java | 50 +
.../SqlStoredComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../SshComponentAutoConfiguration.java | 50 +
.../springboot/SshComponentConfiguration.java | 175 +++
.../main/resources/META-INF/spring.factories | 19 +
.../StompComponentAutoConfiguration.java | 50 +
.../springboot/StompComponentConfiguration.java | 91 ++
.../main/resources/META-INF/spring.factories | 19 +
.../TwitterComponentAutoConfiguration.java | 50 +
.../TwitterComponentConfiguration.java | 126 ++
.../main/resources/META-INF/spring.factories | 19 +
.../UndertowComponentAutoConfiguration.java | 50 +
.../UndertowComponentConfiguration.java | 58 +
.../main/resources/META-INF/spring.factories | 19 +
.../VelocityComponentAutoConfiguration.java | 50 +
.../VelocityComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
.../VertxComponentAutoConfiguration.java | 50 +
.../springboot/VertxComponentConfiguration.java | 107 ++
.../main/resources/META-INF/spring.factories | 19 +
.../WebsocketComponentAutoConfiguration.java | 50 +
.../WebsocketComponentConfiguration.java | 192 +++
.../main/resources/META-INF/spring.factories | 19 +
.../XmlSignatureComponentAutoConfiguration.java | 50 +
.../XmlSignatureComponentConfiguration.java | 59 +
.../main/resources/META-INF/spring.factories | 19 +
.../YammerComponentAutoConfiguration.java | 50 +
.../YammerComponentConfiguration.java | 79 ++
.../main/resources/META-INF/spring.factories | 19 +
.../ZooKeeperComponentAutoConfiguration.java | 50 +
.../ZooKeeperComponentConfiguration.java | 42 +
.../main/resources/META-INF/spring.factories | 19 +
278 files changed, 15881 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
new file mode 100644
index 0000000..9482720
--- /dev/null
+++ b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ahc.ws.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.ahc.ws.WsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(WsComponentConfiguration.class)
+public class WsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(WsComponent.class)
+ public WsComponent configureComponent(CamelContext camelContext,
+ WsComponentConfiguration configuration) throws Exception {
+ WsComponent component = new WsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
new file mode 100644
index 0000000..6c15d1e
--- /dev/null
+++ b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
@@ -0,0 +1,118 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ahc.ws.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.ning.http.client.AsyncHttpClient;
+import org.apache.camel.component.ahc.AhcBinding;
+import com.ning.http.client.AsyncHttpClientConfig;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * To exchange data with external Websocket servers using Async Http Client.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.ahc-wss")
+public class WsComponentConfiguration {
+
+ /**
+ * To use a custom AsyncHttpClient
+ */
+ private AsyncHttpClient client;
+ /**
+ * To use a custom AhcBinding which allows to control how to bind between
+ * AHC and Camel.
+ */
+ private AhcBinding binding;
+ /**
+ * To configure the AsyncHttpClient to use a custom
+ * com.ning.http.client.AsyncHttpClientConfig instance.
+ */
+ private AsyncHttpClientConfig clientConfig;
+ /**
+ * Reference to a org.apache.camel.util.jsse.SSLContextParameters in the
+ * Registry. Note that configuring this option will override any SSL/TLS
+ * configuration options provided through the clientConfig option at the
+ * endpoint or component level.
+ */
+ private SSLContextParameters sslContextParameters;
+ /**
+ * Whether to allow java serialization when a request uses
+ * context-type=application/x-java-serialized-object This is by default
+ * turned off. If you enable this then be aware that Java will deserialize
+ * the incoming data from the request to Java and that can be a potential
+ * security risk.
+ */
+ private boolean allowJavaSerializedObject;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public AsyncHttpClient getClient() {
+ return client;
+ }
+
+ public void setClient(AsyncHttpClient client) {
+ this.client = client;
+ }
+
+ public AhcBinding getBinding() {
+ return binding;
+ }
+
+ public void setBinding(AhcBinding binding) {
+ this.binding = binding;
+ }
+
+ public AsyncHttpClientConfig getClientConfig() {
+ return clientConfig;
+ }
+
+ public void setClientConfig(AsyncHttpClientConfig clientConfig) {
+ this.clientConfig = clientConfig;
+ }
+
+ public SSLContextParameters getSslContextParameters() {
+ return sslContextParameters;
+ }
+
+ public void setSslContextParameters(
+ SSLContextParameters sslContextParameters) {
+ this.sslContextParameters = sslContextParameters;
+ }
+
+ public boolean isAllowJavaSerializedObject() {
+ return allowJavaSerializedObject;
+ }
+
+ public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
+ this.allowJavaSerializedObject = allowJavaSerializedObject;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ahc-ws/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ahc-ws/src/main/resources/META-INF/spring.factories b/components/camel-ahc-ws/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..0af731e
--- /dev/null
+++ b/components/camel-ahc-ws/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.ahc.ws.springboot.WsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
new file mode 100644
index 0000000..8b3f8da
--- /dev/null
+++ b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ahc.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.ahc.AhcComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(AhcComponentConfiguration.class)
+public class AhcComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(AhcComponent.class)
+ public AhcComponent configureComponent(CamelContext camelContext,
+ AhcComponentConfiguration configuration) throws Exception {
+ AhcComponent component = new AhcComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
new file mode 100644
index 0000000..a26f658
--- /dev/null
+++ b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
@@ -0,0 +1,118 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ahc.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.ning.http.client.AsyncHttpClient;
+import org.apache.camel.component.ahc.AhcBinding;
+import com.ning.http.client.AsyncHttpClientConfig;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * To call external HTTP services using Async Http Client.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.ahc")
+public class AhcComponentConfiguration {
+
+ /**
+ * To use a custom AsyncHttpClient
+ */
+ private AsyncHttpClient client;
+ /**
+ * To use a custom AhcBinding which allows to control how to bind between
+ * AHC and Camel.
+ */
+ private AhcBinding binding;
+ /**
+ * To configure the AsyncHttpClient to use a custom
+ * com.ning.http.client.AsyncHttpClientConfig instance.
+ */
+ private AsyncHttpClientConfig clientConfig;
+ /**
+ * Reference to a org.apache.camel.util.jsse.SSLContextParameters in the
+ * Registry. Note that configuring this option will override any SSL/TLS
+ * configuration options provided through the clientConfig option at the
+ * endpoint or component level.
+ */
+ private SSLContextParameters sslContextParameters;
+ /**
+ * Whether to allow java serialization when a request uses
+ * context-type=application/x-java-serialized-object This is by default
+ * turned off. If you enable this then be aware that Java will deserialize
+ * the incoming data from the request to Java and that can be a potential
+ * security risk.
+ */
+ private boolean allowJavaSerializedObject;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public AsyncHttpClient getClient() {
+ return client;
+ }
+
+ public void setClient(AsyncHttpClient client) {
+ this.client = client;
+ }
+
+ public AhcBinding getBinding() {
+ return binding;
+ }
+
+ public void setBinding(AhcBinding binding) {
+ this.binding = binding;
+ }
+
+ public AsyncHttpClientConfig getClientConfig() {
+ return clientConfig;
+ }
+
+ public void setClientConfig(AsyncHttpClientConfig clientConfig) {
+ this.clientConfig = clientConfig;
+ }
+
+ public SSLContextParameters getSslContextParameters() {
+ return sslContextParameters;
+ }
+
+ public void setSslContextParameters(
+ SSLContextParameters sslContextParameters) {
+ this.sslContextParameters = sslContextParameters;
+ }
+
+ public boolean isAllowJavaSerializedObject() {
+ return allowJavaSerializedObject;
+ }
+
+ public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
+ this.allowJavaSerializedObject = allowJavaSerializedObject;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ahc/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ahc/src/main/resources/META-INF/spring.factories b/components/camel-ahc/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..f82d278
--- /dev/null
+++ b/components/camel-ahc/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.ahc.springboot.AhcComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
new file mode 100644
index 0000000..b27c28e
--- /dev/null
+++ b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.amqp.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.amqp.AMQPComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(AMQPComponentConfiguration.class)
+public class AMQPComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(AMQPComponent.class)
+ public AMQPComponent configureComponent(CamelContext camelContext,
+ AMQPComponentConfiguration configuration) throws Exception {
+ AMQPComponent component = new AMQPComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
new file mode 100644
index 0000000..e48aa49
--- /dev/null
+++ b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
@@ -0,0 +1,1122 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.amqp.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.jms.JmsConfiguration;
+import javax.jms.ConnectionFactory;
+import javax.jms.ExceptionListener;
+import org.springframework.util.ErrorHandler;
+import org.apache.camel.LoggingLevel;
+import org.springframework.jms.support.converter.MessageConverter;
+import org.springframework.core.task.TaskExecutor;
+import org.springframework.transaction.PlatformTransactionManager;
+import org.springframework.jms.core.JmsOperations;
+import org.springframework.jms.support.destination.DestinationResolver;
+import org.apache.camel.component.jms.ReplyToType;
+import org.apache.camel.component.jms.DefaultTaskExecutorType;
+import org.apache.camel.component.jms.JmsKeyFormatStrategy;
+import org.springframework.context.ApplicationContext;
+import org.apache.camel.component.jms.QueueBrowseStrategy;
+import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.camel.component.jms.MessageCreatedStrategy;
+
+/**
+ * Messaging with AMQP protocol using Apache QPid Client.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.amqp")
+public class AMQPComponentConfiguration {
+
+ /**
+ * To use a shared JMS configuration
+ */
+ private JmsConfiguration configuration;
+ /**
+ * 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 enqued 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 the JMS broker. To avoid this its recommended to enable this
+ * option.
+ */
+ private boolean acceptMessagesWhileStopping;
+ /**
+ * Whether the DefaultMessageListenerContainer used in the reply managers
+ * for request-reply messaging allow the
+ * DefaultMessageListenerContainer.runningAllowed flag to quick stop in case
+ * JmsConfigurationisAcceptMessagesWhileStopping 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.
+ */
+ private boolean allowReplyManagerQuickStop;
+ /**
+ * 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.
+ */
+ private int acknowledgementMode;
+ /**
+ * Enables eager loading of JMS properties as soon as a message is loaded
+ * which generally is inefficient as the JMS properties may not be required
+ * but sometimes can catch early any issues with the underlying JMS provider
+ * and the use of JMS properties
+ */
+ private boolean eagerLoadingOfProperties;
+ /**
+ * The JMS acknowledgement name which is one of: SESSION_TRANSACTED
+ * CLIENT_ACKNOWLEDGE AUTO_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE
+ */
+ private String acknowledgementModeName;
+ /**
+ * Specifies whether the consumer container should auto-startup.
+ */
+ private boolean autoStartup;
+ /**
+ * Sets the cache level by ID for the underlying JMS resources. See
+ * cacheLevelName option for more details.
+ */
+ private int cacheLevel;
+ /**
+ * Sets the cache level by name for the underlying JMS resources. Possible
+ * values are: CACHE_AUTO CACHE_CONNECTION CACHE_CONSUMER CACHE_NONE and
+ * CACHE_SESSION. The default setting is CACHE_AUTO. See the Spring
+ * documentation and Transactions Cache Levels for more information.
+ */
+ private String cacheLevelName;
+ /**
+ * Sets the cache level by name for the reply consumer when doing
+ * request/reply over JMS. This option only applies when using fixed reply
+ * queues (not temporary). Camel will by default use: CACHE_CONSUMER for
+ * exclusive or shared w/ replyToSelectorName. And CACHE_SESSION for shared
+ * without replyToSelectorName. Some JMS brokers such as IBM WebSphere may
+ * require to set the replyToCacheLevelName=CACHE_NONE to work. Note: If
+ * using temporary queues then CACHE_NONE is not allowed and you must use a
+ * higher value such as CACHE_CONSUMER or CACHE_SESSION.
+ */
+ private String replyToCacheLevelName;
+ /**
+ * Sets the JMS client ID to use. Note that this value if specified must be
+ * unique and can only be used by a single JMS connection instance. It is
+ * typically only required for durable topic subscriptions. If using Apache
+ * ActiveMQ you may prefer to use Virtual Topics instead.
+ */
+ private String clientId;
+ /**
+ * Specifies the default number of concurrent consumers when consuming from
+ * JMS (not for request/reply over JMS). See also the maxMessagesPerTask
+ * option to control dynamic scaling up/down of threads. When doing
+ * request/reply over JMS then the option replyToConcurrentConsumers is used
+ * to control number of concurrent consumers on the reply message listener.
+ */
+ private int concurrentConsumers;
+ /**
+ * Specifies the default number of concurrent consumers when doing
+ * request/reply over JMS. See also the maxMessagesPerTask option to control
+ * dynamic scaling up/down of threads.
+ */
+ private int replyToConcurrentConsumers;
+ /**
+ * Sets the default connection factory to be use
+ */
+ private ConnectionFactory connectionFactory;
+ /**
+ * Specifies whether persistent delivery is used by default.
+ */
+ private boolean deliveryPersistent;
+ /**
+ * Specifies the delivery mode to be used. Possible values are Possibles
+ * values are those defined by javax.jms.DeliveryMode. NON_PERSISTENT = 1
+ * and PERSISTENT = 2.
+ */
+ private Integer deliveryMode;
+ /**
+ * The durable subscriber name for specifying durable topic subscriptions.
+ * The clientId option must be configured as well.
+ */
+ private String durableSubscriptionName;
+ /**
+ * Specifies the JMS Exception Listener that is to be notified of any
+ * underlying JMS exceptions.
+ */
+ private ExceptionListener exceptionListener;
+ /**
+ * Specifies a org.springframework.util.ErrorHandler to be invoked in case
+ * of any uncaught exceptions thrown while processing a Message. By default
+ * these exceptions will be logged at the WARN level if no errorHandler has
+ * been configured. You can configure logging level and whether stack traces
+ * should be logged using errorHandlerLoggingLevel and
+ * errorHandlerLogStackTrace options. This makes it much easier to configure
+ * than having to code a custom errorHandler.
+ */
+ private ErrorHandler errorHandler;
+ /**
+ * Allows to configure the default errorHandler logging level for logging
+ * uncaught exceptions.
+ */
+ private LoggingLevel errorHandlerLoggingLevel;
+ /**
+ * Allows to control whether stacktraces should be logged or not by the
+ * default errorHandler.
+ */
+ private boolean errorHandlerLogStackTrace;
+ /**
+ * Set if the deliveryMode priority or timeToLive qualities of service
+ * should be used when sending messages. This option is based on Spring's
+ * JmsTemplate. The deliveryMode priority and timeToLive options are applied
+ * to the current endpoint. This contrasts with the preserveMessageQos
+ * option which operates at message granularity reading QoS properties
+ * exclusively from the Camel In message headers.
+ */
+ private boolean explicitQosEnabled;
+ /**
+ * Specifies whether the listener session should be exposed when consuming
+ * messages.
+ */
+ private boolean exposeListenerSession;
+ /**
+ * Specifies the limit for idle executions of a receive task not having
+ * received any message within its execution. If this limit is reached the
+ * task will shut down and leave receiving to other executing tasks (in the
+ * case of dynamic scheduling; see the maxConcurrentConsumers setting).
+ * There is additional doc available from Spring.
+ */
+ private int idleTaskExecutionLimit;
+ /**
+ * Specify the limit for the number of consumers that are allowed to be idle
+ * at any given time.
+ */
+ private int idleConsumerLimit;
+ /**
+ * Specifies the maximum number of concurrent consumers when consuming from
+ * JMS (not for request/reply over JMS). See also the maxMessagesPerTask
+ * option to control dynamic scaling up/down of threads. When doing
+ * request/reply over JMS then the option replyToMaxConcurrentConsumers is
+ * used to control number of concurrent consumers on the reply message
+ * listener.
+ */
+ private int maxConcurrentConsumers;
+ /**
+ * Specifies the maximum number of concurrent consumers when using
+ * request/reply over JMS. See also the maxMessagesPerTask option to control
+ * dynamic scaling up/down of threads.
+ */
+ private int replyToMaxConcurrentConsumers;
+ /**
+ * Specifies the maximum number of concurrent consumers for continue routing
+ * when timeout occurred when using request/reply over JMS.
+ */
+ private int replyOnTimeoutToMaxConcurrentConsumers;
+ /**
+ * The number of messages per task. -1 is unlimited. If you use a range for
+ * concurrent consumers (eg min max) then this option can be used to set a
+ * value to eg 100 to control how fast the consumers will shrink when less
+ * work is required.
+ */
+ private int maxMessagesPerTask;
+ /**
+ * To use a custom Spring
+ * org.springframework.jms.support.converter.MessageConverter so you can be
+ * in control how to map to/from a javax.jms.Message.
+ */
+ private MessageConverter messageConverter;
+ /**
+ * Specifies whether Camel should auto map the received JMS message to a
+ * suited payload type such as javax.jms.TextMessage to a String etc. See
+ * section about how mapping works below for more details.
+ */
+ private boolean mapJmsMessage;
+ /**
+ * When sending specifies whether message IDs should be added.
+ */
+ private boolean messageIdEnabled;
+ /**
+ * Specifies whether timestamps should be enabled by default on sending
+ * messages.
+ */
+ private boolean messageTimestampEnabled;
+ /**
+ * 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)
+ */
+ private boolean alwaysCopyMessage;
+ /**
+ * Specifies whether JMSMessageID should always be used as JMSCorrelationID
+ * for InOut messages.
+ */
+ private boolean useMessageIDAsCorrelationID;
+ /**
+ * Values greater than 1 specify the message priority when sending (where 0
+ * is the lowest priority and 9 is the highest). The explicitQosEnabled
+ * option must also be enabled in order for this option to have any effect.
+ */
+ private int priority;
+ /**
+ * Specifies whether to inhibit the delivery of messages published by its
+ * own connection.
+ */
+ private boolean pubSubNoLocal;
+ /**
+ * The timeout for receiving messages (in milliseconds).
+ */
+ private long receiveTimeout;
+ /**
+ * Specifies the interval between recovery attempts i.e. when a connection
+ * is being refreshed in milliseconds. The default is 5000 ms that is 5
+ * seconds.
+ */
+ private long recoveryInterval;
+ /**
+ * Deprecated: Enabled by default if you specify a durableSubscriptionName
+ * and a clientId.
+ */
+ @Deprecated
+ private boolean subscriptionDurable;
+ /**
+ * Allows you to specify a custom task executor for consuming messages.
+ */
+ private TaskExecutor taskExecutor;
+ /**
+ * When sending messages specifies the time-to-live of the message (in
+ * milliseconds).
+ */
+ private long timeToLive;
+ /**
+ * Specifies whether to use transacted mode
+ */
+ private boolean transacted;
+ /**
+ * If true Camel will create a JmsTransactionManager if there is no
+ * transactionManager injected when option transacted=true.
+ */
+ private boolean lazyCreateTransactionManager;
+ /**
+ * The Spring transaction manager to use.
+ */
+ private PlatformTransactionManager transactionManager;
+ /**
+ * The name of the transaction to use.
+ */
+ private String transactionName;
+ /**
+ * The timeout value of the transaction (in seconds) if using transacted
+ * mode.
+ */
+ private int transactionTimeout;
+ /**
+ * Specifies whether to test the connection on startup. This ensures that
+ * when Camel starts that all the JMS consumers have a valid connection to
+ * the JMS broker. If a connection cannot be granted then Camel throws an
+ * exception on startup. This ensures that Camel is not started with failed
+ * connections. The JMS producers is tested as well.
+ */
+ private boolean testConnectionOnStartup;
+ /**
+ * Whether to startup the JmsConsumer message listener asynchronously when
+ * starting a route. For example if a JmsConsumer cannot get a connection to
+ * a remote JMS broker then it may block while retrying and/or failover.
+ * This will cause Camel to block while starting routes. By setting this
+ * option to true you will let routes startup while the JmsConsumer connects
+ * to the JMS broker using a dedicated thread in asynchronous mode. If this
+ * option is used then beware that if the connection could not be
+ * established then an exception is logged at WARN level and the consumer
+ * will not be able to receive messages; You can then restart the route to
+ * retry.
+ */
+ private boolean asyncStartListener;
+ /**
+ * Whether to stop the JmsConsumer message listener asynchronously when
+ * stopping a route.
+ */
+ private boolean asyncStopListener;
+ /**
+ * When using mapJmsMessage=false Camel will create a new JMS message to
+ * send to a new JMS destination if you touch the headers (get or set)
+ * during the route. Set this option to true to force Camel to send the
+ * original JMS message that was received.
+ */
+ private boolean forceSendOriginalMessage;
+ /**
+ * The timeout for waiting for a reply when using the InOut Exchange Pattern
+ * (in milliseconds). The default is 20 seconds. You can include the header
+ * CamelJmsRequestTimeout to override this endpoint configured timeout value
+ * and thus have per message individual timeout values. See also the
+ * requestTimeoutCheckerInterval option.
+ */
+ private long requestTimeout;
+ /**
+ * Configures how often Camel should check for timed out Exchanges when
+ * doing request/reply over JMS. By default Camel checks once per second.
+ * But if you must react faster when a timeout occurs then you can lower
+ * this interval to check more frequently. The timeout is determined by the
+ * option requestTimeout.
+ */
+ private long requestTimeoutCheckerInterval;
+ /**
+ * You can transfer the exchange over the wire instead of just the body and
+ * headers. The following fields are transferred: In body Out body Fault
+ * body In headers Out headers Fault headers exchange properties exchange
+ * exception. This requires that the objects are serializable. Camel will
+ * exclude any non-serializable objects and log it at WARN level. You must
+ * enable this option on both the producer and consumer side so Camel knows
+ * the payloads is an Exchange and not a regular payload.
+ */
+ private boolean transferExchange;
+ /**
+ * If enabled and you are using Request Reply messaging (InOut) and an
+ * Exchange failed on the consumer side then the caused Exception will be
+ * send back in response as a javax.jms.ObjectMessage. If the client is
+ * Camel the returned Exception is rethrown. This allows you to use Camel
+ * JMS as a bridge in your routing - for example using persistent queues to
+ * enable robust routing. Notice that if you also have transferExchange
+ * enabled this option takes precedence. The caught exception is required to
+ * be serializable. The original Exception on the consumer side can be
+ * wrapped in an outer exception such as
+ * org.apache.camel.RuntimeCamelException when returned to the producer.
+ */
+ private boolean transferException;
+ /**
+ * If enabled and you are using Request Reply messaging (InOut) and an
+ * Exchange failed with a SOAP fault (not exception) on the consumer side
+ * then the fault flag on link org.apache.camel.MessageisFault() will be
+ * send back in the response as a JMS header with the key link
+ * JmsConstantsJMS_TRANSFER_FAULT. If the client is Camel the returned fault
+ * flag will be set on the link org.apache.camel.MessagesetFault(boolean).
+ * You may want to enable this when using Camel components that support
+ * faults such as SOAP based such as cxf or spring-ws.
+ */
+ private boolean transferFault;
+ /**
+ * Allows you to use your own implementation of the
+ * org.springframework.jms.core.JmsOperations interface. Camel uses
+ * JmsTemplate as default. Can be used for testing purpose but not used much
+ * as stated in the spring API docs.
+ */
+ private JmsOperations jmsOperations;
+ /**
+ * A pluggable
+ * org.springframework.jms.support.destination.DestinationResolver that
+ * allows you to use your own resolver (for example to lookup the real
+ * destination in a JNDI registry).
+ */
+ private DestinationResolver destinationResolver;
+ /**
+ * Allows for explicitly specifying which kind of strategy to use for
+ * replyTo queues when doing request/reply over JMS. Possible values are:
+ * Temporary Shared or Exclusive. By default Camel will use temporary
+ * queues. However if replyTo has been configured then Shared is used by
+ * default. This option allows you to use exclusive queues instead of shared
+ * ones. See Camel JMS documentation for more details and especially the
+ * notes about the implications if running in a clustered environment and
+ * the fact that Shared reply queues has lower performance than its
+ * alternatives Temporary and Exclusive.
+ */
+ private ReplyToType replyToType;
+ /**
+ * Set to true if you want to send message using the QoS settings specified
+ * on the message instead of the QoS settings on the JMS endpoint. The
+ * following three headers are considered JMSPriority JMSDeliveryMode and
+ * JMSExpiration. You can provide all or only some of them. If not provided
+ * Camel will fall back to use the values from the endpoint instead. So when
+ * using this option the headers override the values from the endpoint. The
+ * explicitQosEnabled option by contrast will only use options set on the
+ * endpoint and not values from the message header.
+ */
+ private boolean preserveMessageQos;
+ /**
+ * Whether the JmsConsumer processes the Exchange asynchronously. If enabled
+ * then the JmsConsumer may pickup the next message from the JMS queue while
+ * the previous message is being processed asynchronously (by the
+ * Asynchronous Routing Engine). This means that messages may be processed
+ * not 100 strictly in order. If disabled (as default) then the Exchange is
+ * fully processed before the JmsConsumer will pickup the next message from
+ * the JMS queue. Note if transacted has been enabled then
+ * asyncConsumer=true does not run asynchronously as transaction must be
+ * executed synchronously (Camel 3.0 may support async transactions).
+ */
+ private boolean asyncConsumer;
+ /**
+ * Whether to allow sending messages with no body. If this option is false
+ * and the message body is null then an JMSException is thrown.
+ */
+ private boolean allowNullBody;
+ /**
+ * Only applicable when sending to JMS destination using InOnly (eg fire and
+ * forget). Enabling this option will enrich the Camel Exchange with the
+ * actual JMSMessageID that was used by the JMS client when the message was
+ * sent to the JMS destination.
+ */
+ private boolean includeSentJMSMessageID;
+ /**
+ * Whether to include all JMSXxxx properties when mapping from JMS to Camel
+ * Message. Setting this to true will include properties such as JMSXAppID
+ * and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy
+ * then this option does not apply.
+ */
+ private boolean includeAllJMSXProperties;
+ /**
+ * Specifies what default TaskExecutor type to use in the
+ * DefaultMessageListenerContainer for both consumer endpoints and the
+ * ReplyTo consumer of producer endpoints. Possible values: SimpleAsync
+ * (uses Spring's SimpleAsyncTaskExecutor) or ThreadPool (uses Spring's
+ * ThreadPoolTaskExecutor with optimal values - cached threadpool-like). If
+ * not set it defaults to the previous behaviour which uses a cached thread
+ * pool for consumer endpoints and SimpleAsync for reply consumers. The use
+ * of ThreadPool is recommended to reduce thread trash in elastic
+ * configurations with dynamically increasing and decreasing concurrent
+ * consumers.
+ */
+ private DefaultTaskExecutorType defaultTaskExecutorType;
+ /**
+ * Pluggable strategy for encoding and decoding JMS keys so they can be
+ * compliant with the JMS specification. Camel provides two implementations
+ * out of the box: default and passthrough. The default strategy will safely
+ * marshal dots and hyphens (. and -). The passthrough strategy leaves the
+ * key as is. Can be used for JMS brokers which do not care whether JMS
+ * header keys contain illegal characters. You can provide your own
+ * implementation of the org.apache.camel.component.jms.JmsKeyFormatStrategy
+ * and refer to it using the notation.
+ */
+ private JmsKeyFormatStrategy jmsKeyFormatStrategy;
+ /**
+ * Sets the Spring ApplicationContext to use
+ */
+ private ApplicationContext applicationContext;
+ /**
+ * To use a custom QueueBrowseStrategy when browsing queues
+ */
+ private QueueBrowseStrategy queueBrowseStrategy;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+ /**
+ * To use the given MessageCreatedStrategy which are invoked when Camel
+ * creates new instances of javax.jms.Message objects when Camel is sending
+ * a JMS message.
+ */
+ private MessageCreatedStrategy messageCreatedStrategy;
+ /**
+ * Number of times to wait for provisional correlation id to be updated to
+ * the actual correlation id when doing request/reply over JMS and when the
+ * option useMessageIDAsCorrelationID is enabled.
+ */
+ private int waitForProvisionCorrelationToBeUpdatedCounter;
+ /**
+ * Interval in millis to sleep each time while waiting for provisional
+ * correlation id to be updated.
+ */
+ private long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
+
+ public JmsConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(JmsConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public boolean isAcceptMessagesWhileStopping() {
+ return acceptMessagesWhileStopping;
+ }
+
+ public void setAcceptMessagesWhileStopping(
+ boolean acceptMessagesWhileStopping) {
+ this.acceptMessagesWhileStopping = acceptMessagesWhileStopping;
+ }
+
+ public boolean isAllowReplyManagerQuickStop() {
+ return allowReplyManagerQuickStop;
+ }
+
+ public void setAllowReplyManagerQuickStop(boolean allowReplyManagerQuickStop) {
+ this.allowReplyManagerQuickStop = allowReplyManagerQuickStop;
+ }
+
+ public int getAcknowledgementMode() {
+ return acknowledgementMode;
+ }
+
+ public void setAcknowledgementMode(int acknowledgementMode) {
+ this.acknowledgementMode = acknowledgementMode;
+ }
+
+ public boolean isEagerLoadingOfProperties() {
+ return eagerLoadingOfProperties;
+ }
+
+ public void setEagerLoadingOfProperties(boolean eagerLoadingOfProperties) {
+ this.eagerLoadingOfProperties = eagerLoadingOfProperties;
+ }
+
+ public String getAcknowledgementModeName() {
+ return acknowledgementModeName;
+ }
+
+ public void setAcknowledgementModeName(String acknowledgementModeName) {
+ this.acknowledgementModeName = acknowledgementModeName;
+ }
+
+ public boolean isAutoStartup() {
+ return autoStartup;
+ }
+
+ public void setAutoStartup(boolean autoStartup) {
+ this.autoStartup = autoStartup;
+ }
+
+ public int getCacheLevel() {
+ return cacheLevel;
+ }
+
+ public void setCacheLevel(int cacheLevel) {
+ this.cacheLevel = cacheLevel;
+ }
+
+ public String getCacheLevelName() {
+ return cacheLevelName;
+ }
+
+ public void setCacheLevelName(String cacheLevelName) {
+ this.cacheLevelName = cacheLevelName;
+ }
+
+ public String getReplyToCacheLevelName() {
+ return replyToCacheLevelName;
+ }
+
+ public void setReplyToCacheLevelName(String replyToCacheLevelName) {
+ this.replyToCacheLevelName = replyToCacheLevelName;
+ }
+
+ public String getClientId() {
+ return clientId;
+ }
+
+ public void setClientId(String clientId) {
+ this.clientId = clientId;
+ }
+
+ public int getConcurrentConsumers() {
+ return concurrentConsumers;
+ }
+
+ public void setConcurrentConsumers(int concurrentConsumers) {
+ this.concurrentConsumers = concurrentConsumers;
+ }
+
+ public int getReplyToConcurrentConsumers() {
+ return replyToConcurrentConsumers;
+ }
+
+ public void setReplyToConcurrentConsumers(int replyToConcurrentConsumers) {
+ this.replyToConcurrentConsumers = replyToConcurrentConsumers;
+ }
+
+ public ConnectionFactory getConnectionFactory() {
+ return connectionFactory;
+ }
+
+ public void setConnectionFactory(ConnectionFactory connectionFactory) {
+ this.connectionFactory = connectionFactory;
+ }
+
+ public boolean isDeliveryPersistent() {
+ return deliveryPersistent;
+ }
+
+ public void setDeliveryPersistent(boolean deliveryPersistent) {
+ this.deliveryPersistent = deliveryPersistent;
+ }
+
+ public Integer getDeliveryMode() {
+ return deliveryMode;
+ }
+
+ public void setDeliveryMode(Integer deliveryMode) {
+ this.deliveryMode = deliveryMode;
+ }
+
+ public String getDurableSubscriptionName() {
+ return durableSubscriptionName;
+ }
+
+ public void setDurableSubscriptionName(String durableSubscriptionName) {
+ this.durableSubscriptionName = durableSubscriptionName;
+ }
+
+ public ExceptionListener getExceptionListener() {
+ return exceptionListener;
+ }
+
+ public void setExceptionListener(ExceptionListener exceptionListener) {
+ this.exceptionListener = exceptionListener;
+ }
+
+ public ErrorHandler getErrorHandler() {
+ return errorHandler;
+ }
+
+ public void setErrorHandler(ErrorHandler errorHandler) {
+ this.errorHandler = errorHandler;
+ }
+
+ public LoggingLevel getErrorHandlerLoggingLevel() {
+ return errorHandlerLoggingLevel;
+ }
+
+ public void setErrorHandlerLoggingLevel(
+ LoggingLevel errorHandlerLoggingLevel) {
+ this.errorHandlerLoggingLevel = errorHandlerLoggingLevel;
+ }
+
+ public boolean isErrorHandlerLogStackTrace() {
+ return errorHandlerLogStackTrace;
+ }
+
+ public void setErrorHandlerLogStackTrace(boolean errorHandlerLogStackTrace) {
+ this.errorHandlerLogStackTrace = errorHandlerLogStackTrace;
+ }
+
+ public boolean isExplicitQosEnabled() {
+ return explicitQosEnabled;
+ }
+
+ public void setExplicitQosEnabled(boolean explicitQosEnabled) {
+ this.explicitQosEnabled = explicitQosEnabled;
+ }
+
+ public boolean isExposeListenerSession() {
+ return exposeListenerSession;
+ }
+
+ public void setExposeListenerSession(boolean exposeListenerSession) {
+ this.exposeListenerSession = exposeListenerSession;
+ }
+
+ public int getIdleTaskExecutionLimit() {
+ return idleTaskExecutionLimit;
+ }
+
+ public void setIdleTaskExecutionLimit(int idleTaskExecutionLimit) {
+ this.idleTaskExecutionLimit = idleTaskExecutionLimit;
+ }
+
+ public int getIdleConsumerLimit() {
+ return idleConsumerLimit;
+ }
+
+ public void setIdleConsumerLimit(int idleConsumerLimit) {
+ this.idleConsumerLimit = idleConsumerLimit;
+ }
+
+ public int getMaxConcurrentConsumers() {
+ return maxConcurrentConsumers;
+ }
+
+ public void setMaxConcurrentConsumers(int maxConcurrentConsumers) {
+ this.maxConcurrentConsumers = maxConcurrentConsumers;
+ }
+
+ public int getReplyToMaxConcurrentConsumers() {
+ return replyToMaxConcurrentConsumers;
+ }
+
+ public void setReplyToMaxConcurrentConsumers(
+ int replyToMaxConcurrentConsumers) {
+ this.replyToMaxConcurrentConsumers = replyToMaxConcurrentConsumers;
+ }
+
+ public int getReplyOnTimeoutToMaxConcurrentConsumers() {
+ return replyOnTimeoutToMaxConcurrentConsumers;
+ }
+
+ public void setReplyOnTimeoutToMaxConcurrentConsumers(
+ int replyOnTimeoutToMaxConcurrentConsumers) {
+ this.replyOnTimeoutToMaxConcurrentConsumers = replyOnTimeoutToMaxConcurrentConsumers;
+ }
+
+ public int getMaxMessagesPerTask() {
+ return maxMessagesPerTask;
+ }
+
+ public void setMaxMessagesPerTask(int maxMessagesPerTask) {
+ this.maxMessagesPerTask = maxMessagesPerTask;
+ }
+
+ public MessageConverter getMessageConverter() {
+ return messageConverter;
+ }
+
+ public void setMessageConverter(MessageConverter messageConverter) {
+ this.messageConverter = messageConverter;
+ }
+
+ public boolean isMapJmsMessage() {
+ return mapJmsMessage;
+ }
+
+ public void setMapJmsMessage(boolean mapJmsMessage) {
+ this.mapJmsMessage = mapJmsMessage;
+ }
+
+ public boolean isMessageIdEnabled() {
+ return messageIdEnabled;
+ }
+
+ public void setMessageIdEnabled(boolean messageIdEnabled) {
+ this.messageIdEnabled = messageIdEnabled;
+ }
+
+ public boolean isMessageTimestampEnabled() {
+ return messageTimestampEnabled;
+ }
+
+ public void setMessageTimestampEnabled(boolean messageTimestampEnabled) {
+ this.messageTimestampEnabled = messageTimestampEnabled;
+ }
+
+ public boolean isAlwaysCopyMessage() {
+ return alwaysCopyMessage;
+ }
+
+ public void setAlwaysCopyMessage(boolean alwaysCopyMessage) {
+ this.alwaysCopyMessage = alwaysCopyMessage;
+ }
+
+ public boolean isUseMessageIDAsCorrelationID() {
+ return useMessageIDAsCorrelationID;
+ }
+
+ public void setUseMessageIDAsCorrelationID(
+ boolean useMessageIDAsCorrelationID) {
+ this.useMessageIDAsCorrelationID = useMessageIDAsCorrelationID;
+ }
+
+ public int getPriority() {
+ return priority;
+ }
+
+ public void setPriority(int priority) {
+ this.priority = priority;
+ }
+
+ public boolean isPubSubNoLocal() {
+ return pubSubNoLocal;
+ }
+
+ public void setPubSubNoLocal(boolean pubSubNoLocal) {
+ this.pubSubNoLocal = pubSubNoLocal;
+ }
+
+ public long getReceiveTimeout() {
+ return receiveTimeout;
+ }
+
+ public void setReceiveTimeout(long receiveTimeout) {
+ this.receiveTimeout = receiveTimeout;
+ }
+
+ public long getRecoveryInterval() {
+ return recoveryInterval;
+ }
+
+ public void setRecoveryInterval(long recoveryInterval) {
+ this.recoveryInterval = recoveryInterval;
+ }
+
+ public boolean isSubscriptionDurable() {
+ return subscriptionDurable;
+ }
+
+ public void setSubscriptionDurable(boolean subscriptionDurable) {
+ this.subscriptionDurable = subscriptionDurable;
+ }
+
+ public TaskExecutor getTaskExecutor() {
+ return taskExecutor;
+ }
+
+ public void setTaskExecutor(TaskExecutor taskExecutor) {
+ this.taskExecutor = taskExecutor;
+ }
+
+ public long getTimeToLive() {
+ return timeToLive;
+ }
+
+ public void setTimeToLive(long timeToLive) {
+ this.timeToLive = timeToLive;
+ }
+
+ public boolean isTransacted() {
+ return transacted;
+ }
+
+ public void setTransacted(boolean transacted) {
+ this.transacted = transacted;
+ }
+
+ public boolean isLazyCreateTransactionManager() {
+ return lazyCreateTransactionManager;
+ }
+
+ public void setLazyCreateTransactionManager(
+ boolean lazyCreateTransactionManager) {
+ this.lazyCreateTransactionManager = lazyCreateTransactionManager;
+ }
+
+ public PlatformTransactionManager getTransactionManager() {
+ return transactionManager;
+ }
+
+ public void setTransactionManager(
+ PlatformTransactionManager transactionManager) {
+ this.transactionManager = transactionManager;
+ }
+
+ public String getTransactionName() {
+ return transactionName;
+ }
+
+ public void setTransactionName(String transactionName) {
+ this.transactionName = transactionName;
+ }
+
+ public int getTransactionTimeout() {
+ return transactionTimeout;
+ }
+
+ public void setTransactionTimeout(int transactionTimeout) {
+ this.transactionTimeout = transactionTimeout;
+ }
+
+ public boolean isTestConnectionOnStartup() {
+ return testConnectionOnStartup;
+ }
+
+ public void setTestConnectionOnStartup(boolean testConnectionOnStartup) {
+ this.testConnectionOnStartup = testConnectionOnStartup;
+ }
+
+ public boolean isAsyncStartListener() {
+ return asyncStartListener;
+ }
+
+ public void setAsyncStartListener(boolean asyncStartListener) {
+ this.asyncStartListener = asyncStartListener;
+ }
+
+ public boolean isAsyncStopListener() {
+ return asyncStopListener;
+ }
+
+ public void setAsyncStopListener(boolean asyncStopListener) {
+ this.asyncStopListener = asyncStopListener;
+ }
+
+ public boolean isForceSendOriginalMessage() {
+ return forceSendOriginalMessage;
+ }
+
+ public void setForceSendOriginalMessage(boolean forceSendOriginalMessage) {
+ this.forceSendOriginalMessage = forceSendOriginalMessage;
+ }
+
+ public long getRequestTimeout() {
+ return requestTimeout;
+ }
+
+ public void setRequestTimeout(long requestTimeout) {
+ this.requestTimeout = requestTimeout;
+ }
+
+ public long getRequestTimeoutCheckerInterval() {
+ return requestTimeoutCheckerInterval;
+ }
+
+ public void setRequestTimeoutCheckerInterval(
+ long requestTimeoutCheckerInterval) {
+ this.requestTimeoutCheckerInterval = requestTimeoutCheckerInterval;
+ }
+
+ public boolean isTransferExchange() {
+ return transferExchange;
+ }
+
+ public void setTransferExchange(boolean transferExchange) {
+ this.transferExchange = transferExchange;
+ }
+
+ public boolean isTransferException() {
+ return transferException;
+ }
+
+ public void setTransferException(boolean transferException) {
+ this.transferException = transferException;
+ }
+
+ public boolean isTransferFault() {
+ return transferFault;
+ }
+
+ public void setTransferFault(boolean transferFault) {
+ this.transferFault = transferFault;
+ }
+
+ public JmsOperations getJmsOperations() {
+ return jmsOperations;
+ }
+
+ public void setJmsOperations(JmsOperations jmsOperations) {
+ this.jmsOperations = jmsOperations;
+ }
+
+ public DestinationResolver getDestinationResolver() {
+ return destinationResolver;
+ }
+
+ public void setDestinationResolver(DestinationResolver destinationResolver) {
+ this.destinationResolver = destinationResolver;
+ }
+
+ public ReplyToType getReplyToType() {
+ return replyToType;
+ }
+
+ public void setReplyToType(ReplyToType replyToType) {
+ this.replyToType = replyToType;
+ }
+
+ public boolean isPreserveMessageQos() {
+ return preserveMessageQos;
+ }
+
+ public void setPreserveMessageQos(boolean preserveMessageQos) {
+ this.preserveMessageQos = preserveMessageQos;
+ }
+
+ public boolean isAsyncConsumer() {
+ return asyncConsumer;
+ }
+
+ public void setAsyncConsumer(boolean asyncConsumer) {
+ this.asyncConsumer = asyncConsumer;
+ }
+
+ public boolean isAllowNullBody() {
+ return allowNullBody;
+ }
+
+ public void setAllowNullBody(boolean allowNullBody) {
+ this.allowNullBody = allowNullBody;
+ }
+
+ public boolean isIncludeSentJMSMessageID() {
+ return includeSentJMSMessageID;
+ }
+
+ public void setIncludeSentJMSMessageID(boolean includeSentJMSMessageID) {
+ this.includeSentJMSMessageID = includeSentJMSMessageID;
+ }
+
+ public boolean isIncludeAllJMSXProperties() {
+ return includeAllJMSXProperties;
+ }
+
+ public void setIncludeAllJMSXProperties(boolean includeAllJMSXProperties) {
+ this.includeAllJMSXProperties = includeAllJMSXProperties;
+ }
+
+ public DefaultTaskExecutorType getDefaultTaskExecutorType() {
+ return defaultTaskExecutorType;
+ }
+
+ public void setDefaultTaskExecutorType(
+ DefaultTaskExecutorType defaultTaskExecutorType) {
+ this.defaultTaskExecutorType = defaultTaskExecutorType;
+ }
+
+ public JmsKeyFormatStrategy getJmsKeyFormatStrategy() {
+ return jmsKeyFormatStrategy;
+ }
+
+ public void setJmsKeyFormatStrategy(
+ JmsKeyFormatStrategy jmsKeyFormatStrategy) {
+ this.jmsKeyFormatStrategy = jmsKeyFormatStrategy;
+ }
+
+ public ApplicationContext getApplicationContext() {
+ return applicationContext;
+ }
+
+ public void setApplicationContext(ApplicationContext applicationContext) {
+ this.applicationContext = applicationContext;
+ }
+
+ public QueueBrowseStrategy getQueueBrowseStrategy() {
+ return queueBrowseStrategy;
+ }
+
+ public void setQueueBrowseStrategy(QueueBrowseStrategy queueBrowseStrategy) {
+ this.queueBrowseStrategy = queueBrowseStrategy;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+
+ public MessageCreatedStrategy getMessageCreatedStrategy() {
+ return messageCreatedStrategy;
+ }
+
+ public void setMessageCreatedStrategy(
+ MessageCreatedStrategy messageCreatedStrategy) {
+ this.messageCreatedStrategy = messageCreatedStrategy;
+ }
+
+ public int getWaitForProvisionCorrelationToBeUpdatedCounter() {
+ return waitForProvisionCorrelationToBeUpdatedCounter;
+ }
+
+ public void setWaitForProvisionCorrelationToBeUpdatedCounter(
+ int waitForProvisionCorrelationToBeUpdatedCounter) {
+ this.waitForProvisionCorrelationToBeUpdatedCounter = waitForProvisionCorrelationToBeUpdatedCounter;
+ }
+
+ public long getWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime() {
+ return waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
+ }
+
+ public void setWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime(
+ long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime) {
+ this.waitForProvisionCorrelationToBeUpdatedThreadSleepingTime = waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-amqp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/resources/META-INF/spring.factories b/components/camel-amqp/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..6e72322
--- /dev/null
+++ b/components/camel-amqp/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.amqp.springboot.AMQPComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
new file mode 100644
index 0000000..54a10f2
--- /dev/null
+++ b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.apns.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.apns.ApnsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(ApnsComponentConfiguration.class)
+public class ApnsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(ApnsComponent.class)
+ public ApnsComponent configureComponent(CamelContext camelContext,
+ ApnsComponentConfiguration configuration) throws Exception {
+ ApnsComponent component = new ApnsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
new file mode 100644
index 0000000..7f11532
--- /dev/null
+++ b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.apns.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.notnoop.apns.ApnsService;
+
+/**
+ * For sending notifications to Apple iOS devices.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.apns")
+public class ApnsComponentConfiguration {
+
+ /**
+ * To use a custom link ApnsService
+ */
+ private ApnsService apnsService;
+
+ public ApnsService getApnsService() {
+ return apnsService;
+ }
+
+ public void setApnsService(ApnsService apnsService) {
+ this.apnsService = apnsService;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-apns/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-apns/src/main/resources/META-INF/spring.factories b/components/camel-apns/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..67aaf4e
--- /dev/null
+++ b/components/camel-apns/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.apns.springboot.ApnsComponentAutoConfiguration
[11/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
deleted file mode 100644
index 67ce178..0000000
--- a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.google.mail.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.google.mail.GoogleMailConfiguration;
-import org.apache.camel.component.google.mail.GoogleMailClientFactory;
-
-/**
- * The google-mail component provides access to Google Mail.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.google-mail")
-public class GoogleMailComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private GoogleMailConfiguration configuration;
- /**
- * To use the GoogleCalendarClientFactory as factory for creating the
- * client. Will by default use BatchGoogleMailClientFactory
- */
- private GoogleMailClientFactory clientFactory;
-
- public GoogleMailConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(GoogleMailConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public GoogleMailClientFactory getClientFactory() {
- return clientFactory;
- }
-
- public void setClientFactory(GoogleMailClientFactory clientFactory) {
- this.clientFactory = clientFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-mail/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/resources/META-INF/spring.factories b/components/camel-google-mail/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 0640543..0000000
--- a/components/camel-google-mail/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.google.mail.springboot.GoogleMailComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-gora/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-gora/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java b/components/camel-gora/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java
deleted file mode 100644
index c0e918c..0000000
--- a/components/camel-gora/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.gora.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.gora.GoraComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GoraComponentConfiguration.class)
-public class GoraComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GoraComponent.class)
- public GoraComponent configureComponent(CamelContext camelContext,
- GoraComponentConfiguration configuration) throws Exception {
- GoraComponent component = new GoraComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-gora/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-gora/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentConfiguration.java b/components/camel-gora/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentConfiguration.java
deleted file mode 100644
index df29aeb..0000000
--- a/components/camel-gora/src/main/java/org/apache/camel/component/gora/springboot/GoraComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.gora.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The gora component allows you to work with NoSQL databases using the Apache
- * Gora framework.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.gora")
-public class GoraComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-gora/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-gora/src/main/resources/META-INF/spring.factories b/components/camel-gora/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3faa0a6..0000000
--- a/components/camel-gora/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.gora.springboot.GoraComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-grape/src/main/java/org/apache/camel/component/grape/springboot/GrapeEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-grape/src/main/java/org/apache/camel/component/grape/springboot/GrapeEndpoint.java b/components/camel-grape/src/main/java/org/apache/camel/component/grape/springboot/GrapeEndpoint.java
deleted file mode 100644
index ae33b8c..0000000
--- a/components/camel-grape/src/main/java/org/apache/camel/component/grape/springboot/GrapeEndpoint.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.grape.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.grape.GrapeEndpoint;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GrapeEndpoint.class)
-public class GrapeEndpoint {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GrapeEndpoint.class)
- public GrapeEndpoint configureComponent(CamelContext camelContext,
- GrapeEndpoint configuration) throws Exception {
- GrapeEndpoint component = new GrapeEndpoint();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-grape/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-grape/src/main/resources/META-INF/spring.factories b/components/camel-grape/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index f8c8601..0000000
--- a/components/camel-grape/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.grape.springboot.GrapeEndpoint
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
deleted file mode 100644
index 3d56cb1..0000000
--- a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.guava.eventbus.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.guava.eventbus.GuavaEventBusComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GuavaEventBusComponentConfiguration.class)
-public class GuavaEventBusComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GuavaEventBusComponent.class)
- public GuavaEventBusComponent configureComponent(CamelContext camelContext,
- GuavaEventBusComponentConfiguration configuration) throws Exception {
- GuavaEventBusComponent component = new GuavaEventBusComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
deleted file mode 100644
index e669ac3..0000000
--- a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.guava.eventbus.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.google.common.eventbus.EventBus;
-
-/**
- * The guava-eventbus component provides integration bridge between Camel and
- * Google Guava EventBus.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.guava-eventbus")
-public class GuavaEventBusComponentConfiguration {
-
- /**
- * To use the given Guava EventBus instance
- */
- private EventBus eventBus;
- /**
- * The interface with method(s) marked with the Subscribe annotation.
- * Dynamic proxy will be created over the interface so it could be
- * registered as the EventBus listener. Particularly useful when creating
- * multi-event listeners and for handling DeadEvent properly. This option
- * cannot be used together with eventClass option.
- */
- private Class listenerInterface;
-
- public EventBus getEventBus() {
- return eventBus;
- }
-
- public void setEventBus(EventBus eventBus) {
- this.eventBus = eventBus;
- }
-
- public Class getListenerInterface() {
- return listenerInterface;
- }
-
- public void setListenerInterface(Class listenerInterface) {
- this.listenerInterface = listenerInterface;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-guava-eventbus/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-guava-eventbus/src/main/resources/META-INF/spring.factories b/components/camel-guava-eventbus/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index c3fab29..0000000
--- a/components/camel-guava-eventbus/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.guava.eventbus.springboot.GuavaEventBusComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
deleted file mode 100644
index 057be33..0000000
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hazelcast.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.hazelcast.HazelcastComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(HazelcastComponentConfiguration.class)
-public class HazelcastComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(HazelcastComponent.class)
- public HazelcastComponent configureComponent(CamelContext camelContext,
- HazelcastComponentConfiguration configuration) throws Exception {
- HazelcastComponent component = new HazelcastComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
deleted file mode 100644
index a755c13..0000000
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hazelcast.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.hazelcast.core.HazelcastInstance;
-
-/**
- * The hazelcast component allows you to work with the Hazelcast distributed
- * data grid / cache.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.hazelcast")
-public class HazelcastComponentConfiguration {
-
- /**
- * The hazelcast instance reference which can be used for hazelcast
- * endpoint. If you don't specify the instance reference camel use the
- * default hazelcast instance from the camel-hazelcast instance.
- */
- private HazelcastInstance hazelcastInstance;
-
- public HazelcastInstance getHazelcastInstance() {
- return hazelcastInstance;
- }
-
- public void setHazelcastInstance(HazelcastInstance hazelcastInstance) {
- this.hazelcastInstance = hazelcastInstance;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hazelcast/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/resources/META-INF/spring.factories b/components/camel-hazelcast/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index ea9aee3..0000000
--- a/components/camel-hazelcast/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.hazelcast.springboot.HazelcastComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
deleted file mode 100644
index 5ca5a71..0000000
--- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hbase.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.hbase.HBaseComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(HBaseComponentConfiguration.class)
-public class HBaseComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(HBaseComponent.class)
- public HBaseComponent configureComponent(CamelContext camelContext,
- HBaseComponentConfiguration configuration) throws Exception {
- HBaseComponent component = new HBaseComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
deleted file mode 100644
index 5358a47..0000000
--- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hbase.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.hadoop.conf.Configuration;
-
-/**
- * For reading/writing from/to an HBase store (Hadoop database).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.hbase")
-public class HBaseComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private Configuration configuration;
- /**
- * Maximum number of references to keep for each table in the HTable pool.
- * The default value is 10.
- */
- private int poolMaxSize;
-
- public Configuration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(Configuration configuration) {
- this.configuration = configuration;
- }
-
- public int getPoolMaxSize() {
- return poolMaxSize;
- }
-
- public void setPoolMaxSize(int poolMaxSize) {
- this.poolMaxSize = poolMaxSize;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hbase/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/resources/META-INF/spring.factories b/components/camel-hbase/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index f38fac0..0000000
--- a/components/camel-hbase/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.hbase.springboot.HBaseComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
deleted file mode 100644
index 1c0960a..0000000
--- a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hdfs.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.hdfs.HdfsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(HdfsComponentConfiguration.class)
-public class HdfsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(HdfsComponent.class)
- public HdfsComponent configureComponent(CamelContext camelContext,
- HdfsComponentConfiguration configuration) throws Exception {
- HdfsComponent component = new HdfsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
deleted file mode 100644
index d8ab877..0000000
--- a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hdfs.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.security.auth.login.Configuration;
-
-/**
- * For reading/writing from/to an HDFS filesystem using Hadoop 1.x.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.hdfs")
-public class HdfsComponentConfiguration {
-
- /**
- * To use the given configuration for security with JAAS.
- */
- private Configuration jAASConfiguration;
-
- public Configuration getJAASConfiguration() {
- return jAASConfiguration;
- }
-
- public void setJAASConfiguration(Configuration jAASConfiguration) {
- this.jAASConfiguration = jAASConfiguration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hdfs/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/main/resources/META-INF/spring.factories b/components/camel-hdfs/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index ad3f96f..0000000
--- a/components/camel-hdfs/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.hdfs.springboot.HdfsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
deleted file mode 100644
index fb76ec0..0000000
--- a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hdfs2.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.hdfs2.HdfsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(HdfsComponentConfiguration.class)
-public class HdfsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(HdfsComponent.class)
- public HdfsComponent configureComponent(CamelContext camelContext,
- HdfsComponentConfiguration configuration) throws Exception {
- HdfsComponent component = new HdfsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
deleted file mode 100644
index 80d5bea..0000000
--- a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hdfs2.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.security.auth.login.Configuration;
-
-/**
- * For reading/writing from/to an HDFS filesystem using Hadoop 2.x.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.hdfs2")
-public class HdfsComponentConfiguration {
-
- /**
- * To use the given configuration for security with JAAS.
- */
- private Configuration jAASConfiguration;
-
- public Configuration getJAASConfiguration() {
- return jAASConfiguration;
- }
-
- public void setJAASConfiguration(Configuration jAASConfiguration) {
- this.jAASConfiguration = jAASConfiguration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hdfs2/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/resources/META-INF/spring.factories b/components/camel-hdfs2/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a5b0dc9..0000000
--- a/components/camel-hdfs2/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.hdfs2.springboot.HdfsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hipchat/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hipchat/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java b/components/camel-hipchat/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java
deleted file mode 100644
index 4ae4dd9..0000000
--- a/components/camel-hipchat/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hipchat.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.hipchat.HipchatComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(HipchatComponentConfiguration.class)
-public class HipchatComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(HipchatComponent.class)
- public HipchatComponent configureComponent(CamelContext camelContext,
- HipchatComponentConfiguration configuration) throws Exception {
- HipchatComponent component = new HipchatComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hipchat/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hipchat/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentConfiguration.java b/components/camel-hipchat/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentConfiguration.java
deleted file mode 100644
index 5a03d3f..0000000
--- a/components/camel-hipchat/src/main/java/org/apache/camel/component/hipchat/springboot/HipchatComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.hipchat.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The hipchat component supports producing and consuming messages from/to
- * Hipchat service.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.hipchat")
-public class HipchatComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-hipchat/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-hipchat/src/main/resources/META-INF/spring.factories b/components/camel-hipchat/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index dc8f373..0000000
--- a/components/camel-hipchat/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.hipchat.springboot.HipchatComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
deleted file mode 100644
index eb39d0f..0000000
--- a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.http.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.http.HttpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(HttpComponentConfiguration.class)
-public class HttpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(HttpComponent.class)
- public HttpComponent configureComponent(CamelContext camelContext,
- HttpComponentConfiguration configuration) throws Exception {
- HttpComponent component = new HttpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
deleted file mode 100644
index 6e2d7f3..0000000
--- a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.http.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.http.HttpClientConfigurer;
-import org.apache.commons.httpclient.HttpConnectionManager;
-import org.apache.camel.http.common.HttpBinding;
-import org.apache.camel.http.common.HttpConfiguration;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * For calling out to external HTTP servers using Apache HTTP Client 3.x.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.https")
-public class HttpComponentConfiguration {
-
- /**
- * To use the custom HttpClientConfigurer to perform configuration of the
- * HttpClient that will be used.
- */
- private HttpClientConfigurer httpClientConfigurer;
- /**
- * To use a custom HttpConnectionManager to manage connections
- */
- private HttpConnectionManager httpConnectionManager;
- /**
- * To use a custom HttpBinding to control the mapping between Camel message
- * and HttpClient.
- */
- private HttpBinding httpBinding;
- /**
- * To use the shared HttpConfiguration as base configuration.
- */
- private HttpConfiguration httpConfiguration;
- /**
- * Whether to allow java serialization when a request uses
- * context-type=application/x-java-serialized-object This is by default
- * turned off. If you enable this then be aware that Java will deserialize
- * the incoming data from the request to Java and that can be a potential
- * security risk.
- */
- private boolean allowJavaSerializedObject;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public HttpClientConfigurer getHttpClientConfigurer() {
- return httpClientConfigurer;
- }
-
- public void setHttpClientConfigurer(
- HttpClientConfigurer httpClientConfigurer) {
- this.httpClientConfigurer = httpClientConfigurer;
- }
-
- public HttpConnectionManager getHttpConnectionManager() {
- return httpConnectionManager;
- }
-
- public void setHttpConnectionManager(
- HttpConnectionManager httpConnectionManager) {
- this.httpConnectionManager = httpConnectionManager;
- }
-
- public HttpBinding getHttpBinding() {
- return httpBinding;
- }
-
- public void setHttpBinding(HttpBinding httpBinding) {
- this.httpBinding = httpBinding;
- }
-
- public HttpConfiguration getHttpConfiguration() {
- return httpConfiguration;
- }
-
- public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
- this.httpConfiguration = httpConfiguration;
- }
-
- public boolean isAllowJavaSerializedObject() {
- return allowJavaSerializedObject;
- }
-
- public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
- this.allowJavaSerializedObject = allowJavaSerializedObject;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-http/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/resources/META-INF/spring.factories b/components/camel-http/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index d248647..0000000
--- a/components/camel-http/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.http.springboot.HttpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
deleted file mode 100644
index edce926..0000000
--- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.http4.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.http4.HttpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(HttpComponentConfiguration.class)
-public class HttpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(HttpComponent.class)
- public HttpComponent configureComponent(CamelContext camelContext,
- HttpComponentConfiguration configuration) throws Exception {
- HttpComponent component = new HttpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
deleted file mode 100644
index 64bef4f..0000000
--- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.http4.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.http4.HttpClientConfigurer;
-import org.apache.http.conn.HttpClientConnectionManager;
-import org.apache.camel.http.common.HttpBinding;
-import org.apache.camel.http.common.HttpConfiguration;
-import org.apache.http.protocol.HttpContext;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import org.apache.http.conn.ssl.X509HostnameVerifier;
-import org.apache.http.client.CookieStore;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * For calling out to external HTTP servers using Apache HTTP Client 4.x.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.http4")
-public class HttpComponentConfiguration {
-
- /**
- * To use the custom HttpClientConfigurer to perform configuration of the
- * HttpClient that will be used.
- */
- private HttpClientConfigurer httpClientConfigurer;
- /**
- * To use a custom HttpClientConnectionManager to manage connections
- */
- private HttpClientConnectionManager clientConnectionManager;
- /**
- * To use a custom HttpBinding to control the mapping between Camel message
- * and HttpClient.
- */
- private HttpBinding httpBinding;
- /**
- * To use the shared HttpConfiguration as base configuration.
- */
- private HttpConfiguration httpConfiguration;
- /**
- * Whether to allow java serialization when a request uses
- * context-type=application/x-java-serialized-object This is by default
- * turned off. If you enable this then be aware that Java will deserialize
- * the incoming data from the request to Java and that can be a potential
- * security risk.
- */
- private boolean allowJavaSerializedObject;
- /**
- * To use a custom org.apache.http.protocol.HttpContext when executing
- * requests.
- */
- private HttpContext httpContext;
- /**
- * To configure security using SSLContextParameters. Important: Only one
- * instance of org.apache.camel.util.jsse.SSLContextParameters is supported
- * per HttpComponent. If you need to use 2 or more different instances you
- * need to define a new HttpComponent per instance you need.
- */
- private SSLContextParameters sslContextParameters;
- /**
- * To use a custom X509HostnameVerifier such as
- * org.apache.http.conn.ssl.StrictHostnameVerifier or
- * org.apache.http.conn.ssl.AllowAllHostnameVerifier.
- */
- private X509HostnameVerifier x509HostnameVerifier;
- /**
- * The maximum number of connections.
- */
- private int maxTotalConnections;
- /**
- * The maximum number of connections per route.
- */
- private int connectionsPerRoute;
- /**
- * The time for connection to live the time unit is millisecond the default
- * value is always keep alive.
- */
- private long connectionTimeToLive;
- /**
- * To use a custom org.apache.http.client.CookieStore. By default the
- * org.apache.http.impl.client.BasicCookieStore is used which is an
- * in-memory only cookie store. Notice if bridgeEndpoint=true then the
- * cookie store is forced to be a noop cookie store as cookie shouldn't be
- * stored as we are just bridging (eg acting as a proxy).
- */
- private CookieStore cookieStore;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public HttpClientConfigurer getHttpClientConfigurer() {
- return httpClientConfigurer;
- }
-
- public void setHttpClientConfigurer(
- HttpClientConfigurer httpClientConfigurer) {
- this.httpClientConfigurer = httpClientConfigurer;
- }
-
- public HttpClientConnectionManager getClientConnectionManager() {
- return clientConnectionManager;
- }
-
- public void setClientConnectionManager(
- HttpClientConnectionManager clientConnectionManager) {
- this.clientConnectionManager = clientConnectionManager;
- }
-
- public HttpBinding getHttpBinding() {
- return httpBinding;
- }
-
- public void setHttpBinding(HttpBinding httpBinding) {
- this.httpBinding = httpBinding;
- }
-
- public HttpConfiguration getHttpConfiguration() {
- return httpConfiguration;
- }
-
- public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
- this.httpConfiguration = httpConfiguration;
- }
-
- public boolean isAllowJavaSerializedObject() {
- return allowJavaSerializedObject;
- }
-
- public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
- this.allowJavaSerializedObject = allowJavaSerializedObject;
- }
-
- public HttpContext getHttpContext() {
- return httpContext;
- }
-
- public void setHttpContext(HttpContext httpContext) {
- this.httpContext = httpContext;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-
- public X509HostnameVerifier getX509HostnameVerifier() {
- return x509HostnameVerifier;
- }
-
- public void setX509HostnameVerifier(
- X509HostnameVerifier x509HostnameVerifier) {
- this.x509HostnameVerifier = x509HostnameVerifier;
- }
-
- public int getMaxTotalConnections() {
- return maxTotalConnections;
- }
-
- public void setMaxTotalConnections(int maxTotalConnections) {
- this.maxTotalConnections = maxTotalConnections;
- }
-
- public int getConnectionsPerRoute() {
- return connectionsPerRoute;
- }
-
- public void setConnectionsPerRoute(int connectionsPerRoute) {
- this.connectionsPerRoute = connectionsPerRoute;
- }
-
- public long getConnectionTimeToLive() {
- return connectionTimeToLive;
- }
-
- public void setConnectionTimeToLive(long connectionTimeToLive) {
- this.connectionTimeToLive = connectionTimeToLive;
- }
-
- public CookieStore getCookieStore() {
- return cookieStore;
- }
-
- public void setCookieStore(CookieStore cookieStore) {
- this.cookieStore = cookieStore;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-http4/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/resources/META-INF/spring.factories b/components/camel-http4/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 50597fc..0000000
--- a/components/camel-http4/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.http4.springboot.HttpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
deleted file mode 100644
index c359070..0000000
--- a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ibatis.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ibatis.IBatisComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(IBatisComponentConfiguration.class)
-public class IBatisComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(IBatisComponent.class)
- public IBatisComponent configureComponent(CamelContext camelContext,
- IBatisComponentConfiguration configuration) throws Exception {
- IBatisComponent component = new IBatisComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
deleted file mode 100644
index d29f9d1..0000000
--- a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ibatis.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.ibatis.sqlmap.client.SqlMapClient;
-
-/**
- * Performs a query poll insert update or delete in a relational database using
- * Apache iBATIS.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ibatis")
-public class IBatisComponentConfiguration {
-
- /**
- * To use the given com.ibatis.sqlmap.client.SqlMapClient
- */
- private SqlMapClient sqlMapClient;
- /**
- * Location of iBatis xml configuration file. The default value is:
- * SqlMapConfig.xml loaded from the classpath
- */
- private String sqlMapConfig;
- /**
- * Whether to use transactions. This option is by default true.
- */
- private boolean useTransactions;
-
- public SqlMapClient getSqlMapClient() {
- return sqlMapClient;
- }
-
- public void setSqlMapClient(SqlMapClient sqlMapClient) {
- this.sqlMapClient = sqlMapClient;
- }
-
- public String getSqlMapConfig() {
- return sqlMapConfig;
- }
-
- public void setSqlMapConfig(String sqlMapConfig) {
- this.sqlMapConfig = sqlMapConfig;
- }
-
- public boolean isUseTransactions() {
- return useTransactions;
- }
-
- public void setUseTransactions(boolean useTransactions) {
- this.useTransactions = useTransactions;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ibatis/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/resources/META-INF/spring.factories b/components/camel-ibatis/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index d222b9c..0000000
--- a/components/camel-ibatis/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ibatis.springboot.IBatisComponentAutoConfiguration
[12/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java b/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java
deleted file mode 100644
index e17fa4d..0000000
--- a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.flatpack.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.flatpack.FlatpackComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(FlatpackComponentConfiguration.class)
-public class FlatpackComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(FlatpackComponent.class)
- public FlatpackComponent configureComponent(CamelContext camelContext,
- FlatpackComponentConfiguration configuration) throws Exception {
- FlatpackComponent component = new FlatpackComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentConfiguration.java b/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentConfiguration.java
deleted file mode 100644
index a72e8c8..0000000
--- a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/springboot/FlatpackComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.flatpack.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The flatpack component supports fixed width and delimited file parsing via
- * the FlatPack library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.flatpack")
-public class FlatpackComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-flatpack/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-flatpack/src/main/resources/META-INF/spring.factories b/components/camel-flatpack/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3ab6863..0000000
--- a/components/camel-flatpack/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.flatpack.springboot.FlatpackComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
deleted file mode 100644
index b96e21b..0000000
--- a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.flink.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.flink.FlinkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(FlinkComponentConfiguration.class)
-public class FlinkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(FlinkComponent.class)
- public FlinkComponent configureComponent(CamelContext camelContext,
- FlinkComponentConfiguration configuration) throws Exception {
- FlinkComponent component = new FlinkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
deleted file mode 100644
index 79bf167..0000000
--- a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.flink.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.flink.api.java.DataSet;
-import org.apache.flink.streaming.api.datastream.DataStream;
-import org.apache.camel.component.flink.DataSetCallback;
-import org.apache.camel.component.flink.DataStreamCallback;
-
-/**
- * The flink component can be used to send DataSet jobs to Apache Flink cluster.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.flink")
-public class FlinkComponentConfiguration {
-
- /**
- * DataSet to compute against.
- */
- private DataSet dataSet;
- /**
- * DataStream to compute against.
- */
- private DataStream dataStream;
- /**
- * Function performing action against a DataSet.
- */
- private DataSetCallback dataSetCallback;
- /**
- * Function performing action against a DataStream.
- */
- private DataStreamCallback dataStreamCallback;
-
- public DataSet getDataSet() {
- return dataSet;
- }
-
- public void setDataSet(DataSet dataSet) {
- this.dataSet = dataSet;
- }
-
- public DataStream getDataStream() {
- return dataStream;
- }
-
- public void setDataStream(DataStream dataStream) {
- this.dataStream = dataStream;
- }
-
- public DataSetCallback getDataSetCallback() {
- return dataSetCallback;
- }
-
- public void setDataSetCallback(DataSetCallback dataSetCallback) {
- this.dataSetCallback = dataSetCallback;
- }
-
- public DataStreamCallback getDataStreamCallback() {
- return dataStreamCallback;
- }
-
- public void setDataStreamCallback(DataStreamCallback dataStreamCallback) {
- this.dataStreamCallback = dataStreamCallback;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-flink/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-flink/src/main/resources/META-INF/spring.factories b/components/camel-flink/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 12d3fd7..0000000
--- a/components/camel-flink/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.flink.springboot.FlinkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-fop/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-fop/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java b/components/camel-fop/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java
deleted file mode 100644
index 9841b79..0000000
--- a/components/camel-fop/src/main/java/org/apache/camel/component/fop/springboot/FopComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.fop.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.fop.FopComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(FopComponentConfiguration.class)
-public class FopComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(FopComponent.class)
- public FopComponent configureComponent(CamelContext camelContext,
- FopComponentConfiguration configuration) throws Exception {
- FopComponent component = new FopComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-fop/src/main/java/org/apache/camel/component/fop/springboot/FopComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-fop/src/main/java/org/apache/camel/component/fop/springboot/FopComponentConfiguration.java b/components/camel-fop/src/main/java/org/apache/camel/component/fop/springboot/FopComponentConfiguration.java
deleted file mode 100644
index 565af96..0000000
--- a/components/camel-fop/src/main/java/org/apache/camel/component/fop/springboot/FopComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.fop.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The fop component allows you to render a message into different output
- * formats using Apache FOP.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.fop")
-public class FopComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-fop/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-fop/src/main/resources/META-INF/spring.factories b/components/camel-fop/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 222858f..0000000
--- a/components/camel-fop/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.fop.springboot.FopComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
deleted file mode 100644
index 238a7ff..0000000
--- a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.freemarker.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.freemarker.FreemarkerComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(FreemarkerComponentConfiguration.class)
-public class FreemarkerComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(FreemarkerComponent.class)
- public FreemarkerComponent configureComponent(CamelContext camelContext,
- FreemarkerComponentConfiguration configuration) throws Exception {
- FreemarkerComponent component = new FreemarkerComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
deleted file mode 100644
index 05652c1..0000000
--- a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.freemarker.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import freemarker.template.Configuration;
-
-/**
- * Transforms the message using a FreeMarker template.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.freemarker")
-public class FreemarkerComponentConfiguration {
-
- /**
- * To use an existing freemarker.template.Configuration instance as the
- * configuration.
- */
- private Configuration configuration;
-
- public Configuration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(Configuration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-freemarker/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-freemarker/src/main/resources/META-INF/spring.factories b/components/camel-freemarker/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 90978d0..0000000
--- a/components/camel-freemarker/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.freemarker.springboot.FreemarkerComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java
deleted file mode 100644
index 9db1ea5..0000000
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.file.remote.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.file.remote.FtpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(FtpComponentConfiguration.class)
-public class FtpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(FtpComponent.class)
- public FtpComponent configureComponent(CamelContext camelContext,
- FtpComponentConfiguration configuration) throws Exception {
- FtpComponent component = new FtpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentConfiguration.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentConfiguration.java
deleted file mode 100644
index 95f2f10..0000000
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.file.remote.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The ftp component is used for uploading or downloading files from FTP
- * servers.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ftp")
-public class FtpComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java
deleted file mode 100644
index 18b6c58..0000000
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.file.remote.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.file.remote.FtpsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(FtpsComponentConfiguration.class)
-public class FtpsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(FtpsComponent.class)
- public FtpsComponent configureComponent(CamelContext camelContext,
- FtpsComponentConfiguration configuration) throws Exception {
- FtpsComponent component = new FtpsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentConfiguration.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentConfiguration.java
deleted file mode 100644
index 7ac24e4..0000000
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/FtpsComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.file.remote.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The ftps (FTP secure SSL/TLS) component is used for uploading or downloading
- * files from FTP servers.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ftps")
-public class FtpsComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java
deleted file mode 100644
index af31d79..0000000
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.file.remote.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.file.remote.SftpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SftpComponentConfiguration.class)
-public class SftpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SftpComponent.class)
- public SftpComponent configureComponent(CamelContext camelContext,
- SftpComponentConfiguration configuration) throws Exception {
- SftpComponent component = new SftpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentConfiguration.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentConfiguration.java
deleted file mode 100644
index af41d13..0000000
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/springboot/SftpComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.file.remote.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The sftp (FTP over SSH) component is used for uploading or downloading files
- * from SFTP servers.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sftp")
-public class SftpComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ftp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/resources/META-INF/spring.factories b/components/camel-ftp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 11b4a4e..0000000
--- a/components/camel-ftp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.file.remote.springboot.SftpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
deleted file mode 100644
index 3a89ae0..0000000
--- a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ganglia.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ganglia.GangliaComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GangliaComponentConfiguration.class)
-public class GangliaComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GangliaComponent.class)
- public GangliaComponent configureComponent(CamelContext camelContext,
- GangliaComponentConfiguration configuration) throws Exception {
- GangliaComponent component = new GangliaComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
deleted file mode 100644
index d46883e..0000000
--- a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ganglia.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.ganglia.GangliaConfiguration;
-
-/**
- * The ganglia component is used for sending metrics to the Ganglia monitoring
- * system.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ganglia")
-public class GangliaComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private GangliaConfiguration configuration;
-
- public GangliaConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(GangliaConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ganglia/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ganglia/src/main/resources/META-INF/spring.factories b/components/camel-ganglia/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 330482a..0000000
--- a/components/camel-ganglia/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ganglia.springboot.GangliaComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-geocoder/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-geocoder/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java b/components/camel-geocoder/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java
deleted file mode 100644
index 7d93c03..0000000
--- a/components/camel-geocoder/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.geocoder.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.geocoder.GeoCoderComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GeoCoderComponentConfiguration.class)
-public class GeoCoderComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GeoCoderComponent.class)
- public GeoCoderComponent configureComponent(CamelContext camelContext,
- GeoCoderComponentConfiguration configuration) throws Exception {
- GeoCoderComponent component = new GeoCoderComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-geocoder/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-geocoder/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentConfiguration.java b/components/camel-geocoder/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentConfiguration.java
deleted file mode 100644
index d6bcbca..0000000
--- a/components/camel-geocoder/src/main/java/org/apache/camel/component/geocoder/springboot/GeoCoderComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.geocoder.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The geocoder component is used for looking up geocodes (latitude and
- * longitude) for a given address or reverse lookup.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.geocoder")
-public class GeoCoderComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-geocoder/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-geocoder/src/main/resources/META-INF/spring.factories b/components/camel-geocoder/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7563be3..0000000
--- a/components/camel-geocoder/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.geocoder.springboot.GeoCoderComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-git/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-git/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java b/components/camel-git/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java
deleted file mode 100644
index 8ebd01a..0000000
--- a/components/camel-git/src/main/java/org/apache/camel/component/git/springboot/GitComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.git.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.git.GitComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GitComponentConfiguration.class)
-public class GitComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GitComponent.class)
- public GitComponent configureComponent(CamelContext camelContext,
- GitComponentConfiguration configuration) throws Exception {
- GitComponent component = new GitComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-git/src/main/java/org/apache/camel/component/git/springboot/GitComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-git/src/main/java/org/apache/camel/component/git/springboot/GitComponentConfiguration.java b/components/camel-git/src/main/java/org/apache/camel/component/git/springboot/GitComponentConfiguration.java
deleted file mode 100644
index ed060c3..0000000
--- a/components/camel-git/src/main/java/org/apache/camel/component/git/springboot/GitComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.git.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The git component is used for working with git repositories.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.git")
-public class GitComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-git/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-git/src/main/resources/META-INF/spring.factories b/components/camel-git/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index b8beb8e..0000000
--- a/components/camel-git/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.git.springboot.GitComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-github/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-github/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java b/components/camel-github/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java
deleted file mode 100644
index df78e10..0000000
--- a/components/camel-github/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.github.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.github.GitHubComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GitHubComponentConfiguration.class)
-public class GitHubComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GitHubComponent.class)
- public GitHubComponent configureComponent(CamelContext camelContext,
- GitHubComponentConfiguration configuration) throws Exception {
- GitHubComponent component = new GitHubComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-github/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-github/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentConfiguration.java b/components/camel-github/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentConfiguration.java
deleted file mode 100644
index b6740a3..0000000
--- a/components/camel-github/src/main/java/org/apache/camel/component/github/springboot/GitHubComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.github.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The github component is used for integrating Camel with github.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.github")
-public class GitHubComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-github/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-github/src/main/resources/META-INF/spring.factories b/components/camel-github/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7d899df..0000000
--- a/components/camel-github/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.github.springboot.GitHubComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
deleted file mode 100644
index 42a7a83..0000000
--- a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.google.calendar.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.google.calendar.GoogleCalendarComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GoogleCalendarComponentConfiguration.class)
-public class GoogleCalendarComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GoogleCalendarComponent.class)
- public GoogleCalendarComponent configureComponent(
- CamelContext camelContext,
- GoogleCalendarComponentConfiguration configuration)
- throws Exception {
- GoogleCalendarComponent component = new GoogleCalendarComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
deleted file mode 100644
index 0a60df0..0000000
--- a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.google.calendar.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.google.calendar.GoogleCalendarConfiguration;
-import org.apache.camel.component.google.calendar.GoogleCalendarClientFactory;
-
-/**
- * The google-calendar component provides access to Google Calendar.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.google-calendar")
-public class GoogleCalendarComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private GoogleCalendarConfiguration configuration;
- /**
- * To use the GoogleCalendarClientFactory as factory for creating the
- * client. Will by default use BatchGoogleCalendarClientFactory
- */
- private GoogleCalendarClientFactory clientFactory;
-
- public GoogleCalendarConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(GoogleCalendarConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public GoogleCalendarClientFactory getClientFactory() {
- return clientFactory;
- }
-
- public void setClientFactory(GoogleCalendarClientFactory clientFactory) {
- this.clientFactory = clientFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-calendar/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/resources/META-INF/spring.factories b/components/camel-google-calendar/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index dc04bbf..0000000
--- a/components/camel-google-calendar/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.google.calendar.springboot.GoogleCalendarComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
deleted file mode 100644
index 9ee4644..0000000
--- a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.google.drive.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.google.drive.GoogleDriveComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GoogleDriveComponentConfiguration.class)
-public class GoogleDriveComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GoogleDriveComponent.class)
- public GoogleDriveComponent configureComponent(CamelContext camelContext,
- GoogleDriveComponentConfiguration configuration) throws Exception {
- GoogleDriveComponent component = new GoogleDriveComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
deleted file mode 100644
index 47cad60..0000000
--- a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.google.drive.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.google.drive.GoogleDriveConfiguration;
-import org.apache.camel.component.google.drive.GoogleDriveClientFactory;
-
-/**
- * The google-drive component provides access to Google Drive file storage
- * service.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.google-drive")
-public class GoogleDriveComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private GoogleDriveConfiguration configuration;
- /**
- * To use the GoogleCalendarClientFactory as factory for creating the
- * client. Will by default use BatchGoogleDriveClientFactory
- */
- private GoogleDriveClientFactory clientFactory;
-
- public GoogleDriveConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(GoogleDriveConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public GoogleDriveClientFactory getClientFactory() {
- return clientFactory;
- }
-
- public void setClientFactory(GoogleDriveClientFactory clientFactory) {
- this.clientFactory = clientFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-drive/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/src/main/resources/META-INF/spring.factories b/components/camel-google-drive/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 360b54c..0000000
--- a/components/camel-google-drive/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.google.drive.springboot.GoogleDriveComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
deleted file mode 100644
index 6fd218e..0000000
--- a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.google.mail.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.google.mail.GoogleMailComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(GoogleMailComponentConfiguration.class)
-public class GoogleMailComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GoogleMailComponent.class)
- public GoogleMailComponent configureComponent(CamelContext camelContext,
- GoogleMailComponentConfiguration configuration) throws Exception {
- GoogleMailComponent component = new GoogleMailComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[06/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
deleted file mode 100644
index bed39e9..0000000
--- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.netty4.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.netty4.NettyConfiguration;
-import io.netty.util.concurrent.EventExecutorGroup;
-
-/**
- * Socket level networking using TCP or UDP with the Netty 4.x library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.netty4")
-public class NettyComponentConfiguration {
-
- /**
- * The thread pool size for the EventExecutorGroup if its in use. The
- * default value is 16.
- */
- private int maximumPoolSize;
- /**
- * To use the NettyConfiguration as configuration when creating endpoints.
- */
- private NettyConfiguration configuration;
- /**
- * To use the given EventExecutorGroup
- */
- private EventExecutorGroup executorService;
-
- public int getMaximumPoolSize() {
- return maximumPoolSize;
- }
-
- public void setMaximumPoolSize(int maximumPoolSize) {
- this.maximumPoolSize = maximumPoolSize;
- }
-
- public NettyConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(NettyConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public EventExecutorGroup getExecutorService() {
- return executorService;
- }
-
- public void setExecutorService(EventExecutorGroup executorService) {
- this.executorService = executorService;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty4/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/resources/META-INF/spring.factories b/components/camel-netty4/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 25df3f1..0000000
--- a/components/camel-netty4/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.netty4.springboot.NettyComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
deleted file mode 100644
index f889140..0000000
--- a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.olingo2.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.olingo2.Olingo2Component;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(Olingo2ComponentConfiguration.class)
-public class Olingo2ComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(Olingo2Component.class)
- public Olingo2Component configureComponent(CamelContext camelContext,
- Olingo2ComponentConfiguration configuration) throws Exception {
- Olingo2Component component = new Olingo2Component();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
deleted file mode 100644
index f28b1f6..0000000
--- a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.olingo2.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.olingo2.Olingo2Configuration;
-
-/**
- * Communicates with OData 2.0 and 3.0 services using Apache Olingo.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.olingo2")
-public class Olingo2ComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private Olingo2Configuration configuration;
-
- public Olingo2Configuration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(Olingo2Configuration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-olingo2/camel-olingo2-component/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/resources/META-INF/spring.factories b/components/camel-olingo2/camel-olingo2-component/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9a1c863..0000000
--- a/components/camel-olingo2/camel-olingo2-component/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.olingo2.springboot.Olingo2ComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
deleted file mode 100644
index 10a56cf..0000000
--- a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.openshift.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.openshift.OpenShiftComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(OpenShiftComponentConfiguration.class)
-public class OpenShiftComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(OpenShiftComponent.class)
- public OpenShiftComponent configureComponent(CamelContext camelContext,
- OpenShiftComponentConfiguration configuration) throws Exception {
- OpenShiftComponent component = new OpenShiftComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentConfiguration.java b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentConfiguration.java
deleted file mode 100644
index e2dc6ed..0000000
--- a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentConfiguration.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.openshift.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * To manage your Openshift 2.x applications.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.openshift")
-public class OpenShiftComponentConfiguration {
-
- /**
- * The username to login to openshift server.
- */
- private String username;
- /**
- * The password for login to openshift server.
- */
- private String password;
- /**
- * Domain name. If not specified then the default domain is used.
- */
- private String domain;
- /**
- * Url to the openshift server. If not specified then the default value from
- * the local openshift configuration file /.openshift/express.conf is used.
- * And if that fails as well then openshift.redhat.com is used.
- */
- private String server;
-
- public String getUsername() {
- return username;
- }
-
- public void setUsername(String username) {
- this.username = username;
- }
-
- public String getPassword() {
- return password;
- }
-
- public void setPassword(String password) {
- this.password = password;
- }
-
- public String getDomain() {
- return domain;
- }
-
- public void setDomain(String domain) {
- this.domain = domain;
- }
-
- public String getServer() {
- return server;
- }
-
- public void setServer(String server) {
- this.server = server;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-openshift/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/main/resources/META-INF/spring.factories b/components/camel-openshift/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a555e2c..0000000
--- a/components/camel-openshift/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.openshift.springboot.OpenShiftComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java b/components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java
deleted file mode 100644
index 6127dee..0000000
--- a/components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.optaplanner.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.optaplanner.OptaPlannerComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(OptaPlannerComponentConfiguration.class)
-public class OptaPlannerComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(OptaPlannerComponent.class)
- public OptaPlannerComponent configureComponent(CamelContext camelContext,
- OptaPlannerComponentConfiguration configuration) throws Exception {
- OptaPlannerComponent component = new OptaPlannerComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentConfiguration.java b/components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentConfiguration.java
deleted file mode 100644
index a13513e..0000000
--- a/components/camel-optaplanner/src/main/java/org/apache/camel/component/optaplanner/springboot/OptaPlannerComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.optaplanner.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Solves the planning problem contained in a message with OptaPlanner.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.optaplanner")
-public class OptaPlannerComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-optaplanner/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-optaplanner/src/main/resources/META-INF/spring.factories b/components/camel-optaplanner/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7ecf38b..0000000
--- a/components/camel-optaplanner/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.optaplanner.springboot.OptaPlannerComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
deleted file mode 100644
index 4385917..0000000
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.paho.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.paho.PahoComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(PahoComponentConfiguration.class)
-public class PahoComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(PahoComponent.class)
- public PahoComponent configureComponent(CamelContext camelContext,
- PahoComponentConfiguration configuration) throws Exception {
- PahoComponent component = new PahoComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
deleted file mode 100644
index 6a44d99..0000000
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.paho.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.eclipse.paho.client.mqttv3.MqttConnectOptions;
-
-/**
- * Component for communicating with MQTT M2M message brokers using Eclipse Paho
- * MQTT Client.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.paho")
-public class PahoComponentConfiguration {
-
- /**
- * The URL of the MQTT broker.
- */
- private String brokerUrl;
- /**
- * MQTT client identifier.
- */
- private String clientId;
- /**
- * Client connection options
- */
- private MqttConnectOptions connectOptions;
-
- public String getBrokerUrl() {
- return brokerUrl;
- }
-
- public void setBrokerUrl(String brokerUrl) {
- this.brokerUrl = brokerUrl;
- }
-
- public String getClientId() {
- return clientId;
- }
-
- public void setClientId(String clientId) {
- this.clientId = clientId;
- }
-
- public MqttConnectOptions getConnectOptions() {
- return connectOptions;
- }
-
- public void setConnectOptions(MqttConnectOptions connectOptions) {
- this.connectOptions = connectOptions;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-paho/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/resources/META-INF/spring.factories b/components/camel-paho/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 5901896..0000000
--- a/components/camel-paho/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.paho.springboot.PahoComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
deleted file mode 100644
index 95a0463..0000000
--- a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.paxlogging.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.paxlogging.PaxLoggingComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(PaxLoggingComponentConfiguration.class)
-public class PaxLoggingComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(PaxLoggingComponent.class)
- public PaxLoggingComponent configureComponent(CamelContext camelContext,
- PaxLoggingComponentConfiguration configuration) throws Exception {
- PaxLoggingComponent component = new PaxLoggingComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
deleted file mode 100644
index a614b0c..0000000
--- a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.paxlogging.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.osgi.framework.BundleContext;
-
-/**
- * The paxlogging component can be used in an OSGi environment to receive
- * PaxLogging events and process them.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.paxlogging")
-public class PaxLoggingComponentConfiguration {
-
- /**
- * The OSGi BundleContext is automatic injected by Camel
- */
- private BundleContext bundleContext;
-
- public BundleContext getBundleContext() {
- return bundleContext;
- }
-
- public void setBundleContext(BundleContext bundleContext) {
- this.bundleContext = bundleContext;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-paxlogging/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-paxlogging/src/main/resources/META-INF/spring.factories b/components/camel-paxlogging/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 68a4e38..0000000
--- a/components/camel-paxlogging/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.paxlogging.springboot.PaxLoggingComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java b/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java
deleted file mode 100644
index bee67e0..0000000
--- a/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.pdf.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.pdf.PdfComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(PdfComponentConfiguration.class)
-public class PdfComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(PdfComponent.class)
- public PdfComponent configureComponent(CamelContext camelContext,
- PdfComponentConfiguration configuration) throws Exception {
- PdfComponent component = new PdfComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentConfiguration.java b/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentConfiguration.java
deleted file mode 100644
index 451d44f..0000000
--- a/components/camel-pdf/src/main/java/org/apache/camel/component/pdf/springboot/PdfComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.pdf.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The pdf components provides the ability to create modify or extract content
- * from PDF documents.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.pdf")
-public class PdfComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-pdf/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-pdf/src/main/resources/META-INF/spring.factories b/components/camel-pdf/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index d58b992..0000000
--- a/components/camel-pdf/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.pdf.springboot.PdfComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java b/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java
deleted file mode 100644
index 126b0c0..0000000
--- a/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.pgevent.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.pgevent.PgEventComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(PgEventComponentConfiguration.class)
-public class PgEventComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(PgEventComponent.class)
- public PgEventComponent configureComponent(CamelContext camelContext,
- PgEventComponentConfiguration configuration) throws Exception {
- PgEventComponent component = new PgEventComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java b/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java
deleted file mode 100644
index df13c61..0000000
--- a/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/springboot/PgEventComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.pgevent.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The pgevent component allows for producing/consuming PostgreSQL events
- * related to the LISTEN/NOTIFY commands.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.pgevent")
-public class PgEventComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-pgevent/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-pgevent/src/main/resources/META-INF/spring.factories b/components/camel-pgevent/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 4d487d1..0000000
--- a/components/camel-pgevent/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.pgevent.springboot.PgEventComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-printer/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-printer/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java b/components/camel-printer/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java
deleted file mode 100644
index 6306ea1..0000000
--- a/components/camel-printer/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.printer.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.printer.PrinterComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(PrinterComponentConfiguration.class)
-public class PrinterComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(PrinterComponent.class)
- public PrinterComponent configureComponent(CamelContext camelContext,
- PrinterComponentConfiguration configuration) throws Exception {
- PrinterComponent component = new PrinterComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-printer/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-printer/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentConfiguration.java b/components/camel-printer/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentConfiguration.java
deleted file mode 100644
index 6ff918f..0000000
--- a/components/camel-printer/src/main/java/org/apache/camel/component/printer/springboot/PrinterComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.printer.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The printer component is used for sending messages to printers as print jobs.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.lpr")
-public class PrinterComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-printer/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-printer/src/main/resources/META-INF/spring.factories b/components/camel-printer/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 5cbf24a..0000000
--- a/components/camel-printer/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.printer.springboot.PrinterComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
deleted file mode 100644
index 848e27f..0000000
--- a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.quartz.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.quartz.QuartzComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(QuartzComponentConfiguration.class)
-public class QuartzComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(QuartzComponent.class)
- public QuartzComponent configureComponent(CamelContext camelContext,
- QuartzComponentConfiguration configuration) throws Exception {
- QuartzComponent component = new QuartzComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
deleted file mode 100644
index fdc8694..0000000
--- a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
+++ /dev/null
@@ -1,119 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.quartz.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.quartz.SchedulerFactory;
-import org.quartz.Scheduler;
-import java.util.Properties;
-
-/**
- * Provides a scheduled delivery of messages using the Quartz 1.x scheduler.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.quartz")
-public class QuartzComponentConfiguration {
-
- /**
- * To use the custom SchedulerFactory which is used to create the Scheduler.
- */
- private SchedulerFactory factory;
- /**
- * To use the custom configured Quartz scheduler instead of creating a new
- * Scheduler.
- */
- private Scheduler scheduler;
- /**
- * Properties to configure the Quartz scheduler.
- */
- private Properties properties;
- /**
- * File name of the properties to load from the classpath
- */
- private String propertiesFile;
- /**
- * Seconds to wait before starting the quartz scheduler.
- */
- private int startDelayedSeconds;
- /**
- * Whether or not the scheduler should be auto started. This options is
- * default true
- */
- private boolean autoStartScheduler;
- /**
- * Whether to enable Quartz JMX which allows to manage the Quartz scheduler
- * from JMX. This options is default true
- */
- private boolean enableJmx;
-
- public SchedulerFactory getFactory() {
- return factory;
- }
-
- public void setFactory(SchedulerFactory factory) {
- this.factory = factory;
- }
-
- public Scheduler getScheduler() {
- return scheduler;
- }
-
- public void setScheduler(Scheduler scheduler) {
- this.scheduler = scheduler;
- }
-
- public Properties getProperties() {
- return properties;
- }
-
- public void setProperties(Properties properties) {
- this.properties = properties;
- }
-
- public String getPropertiesFile() {
- return propertiesFile;
- }
-
- public void setPropertiesFile(String propertiesFile) {
- this.propertiesFile = propertiesFile;
- }
-
- public int getStartDelayedSeconds() {
- return startDelayedSeconds;
- }
-
- public void setStartDelayedSeconds(int startDelayedSeconds) {
- this.startDelayedSeconds = startDelayedSeconds;
- }
-
- public boolean isAutoStartScheduler() {
- return autoStartScheduler;
- }
-
- public void setAutoStartScheduler(boolean autoStartScheduler) {
- this.autoStartScheduler = autoStartScheduler;
- }
-
- public boolean isEnableJmx() {
- return enableJmx;
- }
-
- public void setEnableJmx(boolean enableJmx) {
- this.enableJmx = enableJmx;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quartz/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/resources/META-INF/spring.factories b/components/camel-quartz/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index d33d8b8..0000000
--- a/components/camel-quartz/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.quartz.springboot.QuartzComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
deleted file mode 100644
index 6b8d9be..0000000
--- a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.quartz2.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.quartz2.QuartzComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(QuartzComponentConfiguration.class)
-public class QuartzComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(QuartzComponent.class)
- public QuartzComponent configureComponent(CamelContext camelContext,
- QuartzComponentConfiguration configuration) throws Exception {
- QuartzComponent component = new QuartzComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
deleted file mode 100644
index 1a10e7d..0000000
--- a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.quartz2.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import java.util.Properties;
-import org.quartz.SchedulerFactory;
-import org.quartz.Scheduler;
-
-/**
- * Provides a scheduled delivery of messages using the Quartz 2.x scheduler.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.quartz2")
-public class QuartzComponentConfiguration {
-
- /**
- * Whether or not the scheduler should be auto started. This options is
- * default true
- */
- private boolean autoStartScheduler;
- /**
- * Seconds to wait before starting the quartz scheduler.
- */
- private int startDelayedSeconds;
- /**
- * Whether to prefix the quartz job with the endpoint id. This option is
- * default false.
- */
- private boolean prefixJobNameWithEndpointId;
- /**
- * Whether to enable Quartz JMX which allows to manage the Quartz scheduler
- * from JMX. This options is default true
- */
- private boolean enableJmx;
- /**
- * Properties to configure the Quartz scheduler.
- */
- private Properties properties;
- /**
- * File name of the properties to load from the classpath
- */
- private String propertiesFile;
- /**
- * Whether to prefix the Quartz Scheduler instance name with the
- * CamelContext name. This is enabled by default to let each CamelContext
- * use its own Quartz scheduler instance by default. You can set this option
- * to false to reuse Quartz scheduler instances between multiple
- * CamelContext's.
- */
- private boolean prefixInstanceName;
- /**
- * To use the custom SchedulerFactory which is used to create the Scheduler.
- */
- private SchedulerFactory schedulerFactory;
- /**
- * To use the custom configured Quartz scheduler instead of creating a new
- * Scheduler.
- */
- private Scheduler scheduler;
-
- public boolean isAutoStartScheduler() {
- return autoStartScheduler;
- }
-
- public void setAutoStartScheduler(boolean autoStartScheduler) {
- this.autoStartScheduler = autoStartScheduler;
- }
-
- public int getStartDelayedSeconds() {
- return startDelayedSeconds;
- }
-
- public void setStartDelayedSeconds(int startDelayedSeconds) {
- this.startDelayedSeconds = startDelayedSeconds;
- }
-
- public boolean isPrefixJobNameWithEndpointId() {
- return prefixJobNameWithEndpointId;
- }
-
- public void setPrefixJobNameWithEndpointId(
- boolean prefixJobNameWithEndpointId) {
- this.prefixJobNameWithEndpointId = prefixJobNameWithEndpointId;
- }
-
- public boolean isEnableJmx() {
- return enableJmx;
- }
-
- public void setEnableJmx(boolean enableJmx) {
- this.enableJmx = enableJmx;
- }
-
- public Properties getProperties() {
- return properties;
- }
-
- public void setProperties(Properties properties) {
- this.properties = properties;
- }
-
- public String getPropertiesFile() {
- return propertiesFile;
- }
-
- public void setPropertiesFile(String propertiesFile) {
- this.propertiesFile = propertiesFile;
- }
-
- public boolean isPrefixInstanceName() {
- return prefixInstanceName;
- }
-
- public void setPrefixInstanceName(boolean prefixInstanceName) {
- this.prefixInstanceName = prefixInstanceName;
- }
-
- public SchedulerFactory getSchedulerFactory() {
- return schedulerFactory;
- }
-
- public void setSchedulerFactory(SchedulerFactory schedulerFactory) {
- this.schedulerFactory = schedulerFactory;
- }
-
- public Scheduler getScheduler() {
- return scheduler;
- }
-
- public void setScheduler(Scheduler scheduler) {
- this.scheduler = scheduler;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quartz2/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/resources/META-INF/spring.factories b/components/camel-quartz2/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index c8a464a..0000000
--- a/components/camel-quartz2/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.quartz2.springboot.QuartzComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
deleted file mode 100644
index f6db84e..0000000
--- a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.quickfixj.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.quickfixj.QuickfixjComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(QuickfixjComponentConfiguration.class)
-public class QuickfixjComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(QuickfixjComponent.class)
- public QuickfixjComponent configureComponent(CamelContext camelContext,
- QuickfixjComponentConfiguration configuration) throws Exception {
- QuickfixjComponent component = new QuickfixjComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
deleted file mode 100644
index b5c7ac6..0000000
--- a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.quickfixj.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import quickfix.MessageFactory;
-import quickfix.LogFactory;
-import quickfix.MessageStoreFactory;
-import java.util.Map;
-import org.apache.camel.component.quickfixj.QuickfixjConfiguration;
-
-/**
- * The quickfix component allows to send Financial Interchange (FIX) messages to
- * the QuickFix engine.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.quickfix")
-public class QuickfixjComponentConfiguration {
-
- /**
- * To use the given MessageFactory
- */
- private MessageFactory messageFactory;
- /**
- * To use the given LogFactory
- */
- private LogFactory logFactory;
- /**
- * To use the given MessageStoreFactory
- */
- private MessageStoreFactory messageStoreFactory;
- /**
- * To use the given map of pre configured QuickFix configurations mapped to
- * the key
- */
- private Map<java.lang.String, org.apache.camel.component.quickfixj.QuickfixjConfiguration> configurations;
- /**
- * If set to true the engines will be created and started when needed (when
- * first message is send)
- */
- private boolean lazyCreateEngines;
-
- public MessageFactory getMessageFactory() {
- return messageFactory;
- }
-
- public void setMessageFactory(MessageFactory messageFactory) {
- this.messageFactory = messageFactory;
- }
-
- public LogFactory getLogFactory() {
- return logFactory;
- }
-
- public void setLogFactory(LogFactory logFactory) {
- this.logFactory = logFactory;
- }
-
- public MessageStoreFactory getMessageStoreFactory() {
- return messageStoreFactory;
- }
-
- public void setMessageStoreFactory(MessageStoreFactory messageStoreFactory) {
- this.messageStoreFactory = messageStoreFactory;
- }
-
- public Map<String, QuickfixjConfiguration> getConfigurations() {
- return configurations;
- }
-
- public void setConfigurations(
- Map<String, QuickfixjConfiguration> configurations) {
- this.configurations = configurations;
- }
-
- public boolean isLazyCreateEngines() {
- return lazyCreateEngines;
- }
-
- public void setLazyCreateEngines(boolean lazyCreateEngines) {
- this.lazyCreateEngines = lazyCreateEngines;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-quickfix/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/resources/META-INF/spring.factories b/components/camel-quickfix/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index c3f0a79..0000000
--- a/components/camel-quickfix/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.quickfixj.springboot.QuickfixjComponentAutoConfiguration
[19/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
new file mode 100644
index 0000000..536296a
--- /dev/null
+++ b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.velocity.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.velocity.app.VelocityEngine;
+
+/**
+ * Transforms the message using a Velocity template.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.velocity")
+public class VelocityComponentConfiguration {
+
+ /**
+ * To use the VelocityEngine otherwise a new engine is created
+ */
+ private VelocityEngine velocityEngine;
+
+ public VelocityEngine getVelocityEngine() {
+ return velocityEngine;
+ }
+
+ public void setVelocityEngine(VelocityEngine velocityEngine) {
+ this.velocityEngine = velocityEngine;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-velocity/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/main/resources/META-INF/spring.factories b/components/camel-velocity/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..aca4338
--- /dev/null
+++ b/components/camel-velocity/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.velocity.springboot.VelocityComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
new file mode 100644
index 0000000..4641fd3
--- /dev/null
+++ b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.vertx.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.vertx.VertxComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(VertxComponentConfiguration.class)
+public class VertxComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(VertxComponent.class)
+ public VertxComponent configureComponent(CamelContext camelContext,
+ VertxComponentConfiguration configuration) throws Exception {
+ VertxComponent component = new VertxComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
new file mode 100644
index 0000000..16e3779
--- /dev/null
+++ b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
@@ -0,0 +1,107 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.vertx.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import io.vertx.core.spi.VertxFactory;
+import io.vertx.core.VertxOptions;
+import io.vertx.core.Vertx;
+
+/**
+ * The vertx component is used for sending and receive messages from a vertx
+ * event bus.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.vertx")
+public class VertxComponentConfiguration {
+
+ /**
+ * To use a custom VertxFactory implementation
+ */
+ private VertxFactory vertxFactory;
+ /**
+ * Hostname for creating an embedded clustered EventBus
+ */
+ private String host;
+ /**
+ * Port for creating an embedded clustered EventBus
+ */
+ private int port;
+ /**
+ * Options to use for creating vertx
+ */
+ private VertxOptions vertxOptions;
+ /**
+ * To use the given vertx EventBus instead of creating a new embedded
+ * EventBus
+ */
+ private Vertx vertx;
+ /**
+ * Timeout in seconds to wait for clustered Vertx EventBus to be ready. The
+ * default value is 60.
+ */
+ private int timeout;
+
+ public VertxFactory getVertxFactory() {
+ return vertxFactory;
+ }
+
+ public void setVertxFactory(VertxFactory vertxFactory) {
+ this.vertxFactory = vertxFactory;
+ }
+
+ public String getHost() {
+ return host;
+ }
+
+ public void setHost(String host) {
+ this.host = host;
+ }
+
+ public int getPort() {
+ return port;
+ }
+
+ public void setPort(int port) {
+ this.port = port;
+ }
+
+ public VertxOptions getVertxOptions() {
+ return vertxOptions;
+ }
+
+ public void setVertxOptions(VertxOptions vertxOptions) {
+ this.vertxOptions = vertxOptions;
+ }
+
+ public Vertx getVertx() {
+ return vertx;
+ }
+
+ public void setVertx(Vertx vertx) {
+ this.vertx = vertx;
+ }
+
+ public int getTimeout() {
+ return timeout;
+ }
+
+ public void setTimeout(int timeout) {
+ this.timeout = timeout;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-vertx/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-vertx/src/main/resources/META-INF/spring.factories b/components/camel-vertx/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..2b84e83
--- /dev/null
+++ b/components/camel-vertx/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.vertx.springboot.VertxComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
new file mode 100644
index 0000000..e094710
--- /dev/null
+++ b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.websocket.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.websocket.WebsocketComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(WebsocketComponentConfiguration.class)
+public class WebsocketComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(WebsocketComponent.class)
+ public WebsocketComponent configureComponent(CamelContext camelContext,
+ WebsocketComponentConfiguration configuration) throws Exception {
+ WebsocketComponent component = new WebsocketComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
new file mode 100644
index 0000000..18d111e
--- /dev/null
+++ b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
@@ -0,0 +1,192 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.websocket.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.eclipse.jetty.util.thread.ThreadPool;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import java.util.Map;
+import org.apache.camel.component.websocket.WebSocketFactory;
+
+/**
+ * The websocket component provides websocket endpoints for communicating with
+ * clients using websocket.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.websocket")
+public class WebsocketComponentConfiguration {
+
+ /**
+ * Set a resource path for static resources (such as .html files etc). The
+ * resources can be loaded from classpath if you prefix with classpath:
+ * otherwise the resources is loaded from file system or from JAR files. For
+ * example to load from root classpath use classpath:. or
+ * classpath:WEB-INF/static If not configured (eg null) then no static
+ * resource is in use.
+ */
+ private String staticResources;
+ /**
+ * The hostname. The default value is 0.0.0.0
+ */
+ private String host;
+ /**
+ * The port number. The default value is 9292
+ */
+ private Integer port;
+ /**
+ * The password for the keystore when using SSL.
+ */
+ private String sslKeyPassword;
+ /**
+ * The password when using SSL.
+ */
+ private String sslPassword;
+ /**
+ * The path to the keystore.
+ */
+ private String sslKeystore;
+ /**
+ * If this option is true Jetty JMX support will be enabled for this
+ * endpoint. See Jetty JMX support for more details.
+ */
+ private boolean enableJmx;
+ /**
+ * To set a value for minimum number of threads in server thread pool.
+ * MaxThreads/minThreads or threadPool fields are required due to switch to
+ * Jetty9. The default values for minThreads is 1.
+ */
+ private Integer minThreads;
+ /**
+ * To set a value for maximum number of threads in server thread pool.
+ * MaxThreads/minThreads or threadPool fields are required due to switch to
+ * Jetty9. The default values for maxThreads is 1 2 noCores.
+ */
+ private Integer maxThreads;
+ /**
+ * To use a custom thread pool for the server. MaxThreads/minThreads or
+ * threadPool fields are required due to switch to Jetty9.
+ */
+ private ThreadPool threadPool;
+ /**
+ * To configure security using SSLContextParameters
+ */
+ private SSLContextParameters sslContextParameters;
+ /**
+ * To configure a map which contains custom WebSocketFactory for sub
+ * protocols. The key in the map is the sub protocol. The default key is
+ * reserved for the default implementation.
+ */
+ private Map<java.lang.String, org.apache.camel.component.websocket.WebSocketFactory> socketFactory;
+
+ public String getStaticResources() {
+ return staticResources;
+ }
+
+ public void setStaticResources(String staticResources) {
+ this.staticResources = staticResources;
+ }
+
+ public String getHost() {
+ return host;
+ }
+
+ public void setHost(String host) {
+ this.host = host;
+ }
+
+ public Integer getPort() {
+ return port;
+ }
+
+ public void setPort(Integer port) {
+ this.port = port;
+ }
+
+ public String getSslKeyPassword() {
+ return sslKeyPassword;
+ }
+
+ public void setSslKeyPassword(String sslKeyPassword) {
+ this.sslKeyPassword = sslKeyPassword;
+ }
+
+ public String getSslPassword() {
+ return sslPassword;
+ }
+
+ public void setSslPassword(String sslPassword) {
+ this.sslPassword = sslPassword;
+ }
+
+ public String getSslKeystore() {
+ return sslKeystore;
+ }
+
+ public void setSslKeystore(String sslKeystore) {
+ this.sslKeystore = sslKeystore;
+ }
+
+ public boolean isEnableJmx() {
+ return enableJmx;
+ }
+
+ public void setEnableJmx(boolean enableJmx) {
+ this.enableJmx = enableJmx;
+ }
+
+ public Integer getMinThreads() {
+ return minThreads;
+ }
+
+ public void setMinThreads(Integer minThreads) {
+ this.minThreads = minThreads;
+ }
+
+ public Integer getMaxThreads() {
+ return maxThreads;
+ }
+
+ public void setMaxThreads(Integer maxThreads) {
+ this.maxThreads = maxThreads;
+ }
+
+ public ThreadPool getThreadPool() {
+ return threadPool;
+ }
+
+ public void setThreadPool(ThreadPool threadPool) {
+ this.threadPool = threadPool;
+ }
+
+ public SSLContextParameters getSslContextParameters() {
+ return sslContextParameters;
+ }
+
+ public void setSslContextParameters(
+ SSLContextParameters sslContextParameters) {
+ this.sslContextParameters = sslContextParameters;
+ }
+
+ public Map<String, WebSocketFactory> getSocketFactory() {
+ return socketFactory;
+ }
+
+ public void setSocketFactory(Map<String, WebSocketFactory> socketFactory) {
+ this.socketFactory = socketFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-websocket/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/resources/META-INF/spring.factories b/components/camel-websocket/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..f5a3522
--- /dev/null
+++ b/components/camel-websocket/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.websocket.springboot.WebsocketComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
new file mode 100644
index 0000000..1973255
--- /dev/null
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.xmlsecurity.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.xmlsecurity.XmlSignatureComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(XmlSignatureComponentConfiguration.class)
+public class XmlSignatureComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(XmlSignatureComponent.class)
+ public XmlSignatureComponent configureComponent(CamelContext camelContext,
+ XmlSignatureComponentConfiguration configuration) throws Exception {
+ XmlSignatureComponent component = new XmlSignatureComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
new file mode 100644
index 0000000..c49951f
--- /dev/null
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
@@ -0,0 +1,59 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.xmlsecurity.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.xmlsecurity.processor.XmlSignerConfiguration;
+import org.apache.camel.component.xmlsecurity.processor.XmlVerifierConfiguration;
+
+/**
+ * Used to sign and verify exchanges using the XML signature specification.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.xmlsecurity")
+public class XmlSignatureComponentConfiguration {
+
+ /**
+ * To use a shared XmlSignerConfiguration configuration to use as base for
+ * configuring endpoints.
+ */
+ private XmlSignerConfiguration signerConfiguration;
+ /**
+ * To use a shared XmlVerifierConfiguration configuration to use as base for
+ * configuring endpoints.
+ */
+ private XmlVerifierConfiguration verifierConfiguration;
+
+ public XmlSignerConfiguration getSignerConfiguration() {
+ return signerConfiguration;
+ }
+
+ public void setSignerConfiguration(
+ XmlSignerConfiguration signerConfiguration) {
+ this.signerConfiguration = signerConfiguration;
+ }
+
+ public XmlVerifierConfiguration getVerifierConfiguration() {
+ return verifierConfiguration;
+ }
+
+ public void setVerifierConfiguration(
+ XmlVerifierConfiguration verifierConfiguration) {
+ this.verifierConfiguration = verifierConfiguration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-xmlsecurity/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/resources/META-INF/spring.factories b/components/camel-xmlsecurity/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..04f85dd
--- /dev/null
+++ b/components/camel-xmlsecurity/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.xmlsecurity.springboot.XmlSignatureComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
new file mode 100644
index 0000000..ebd104a
--- /dev/null
+++ b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.yammer.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.yammer.YammerComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(YammerComponentConfiguration.class)
+public class YammerComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(YammerComponent.class)
+ public YammerComponent configureComponent(CamelContext camelContext,
+ YammerComponentConfiguration configuration) throws Exception {
+ YammerComponent component = new YammerComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
new file mode 100644
index 0000000..26bfa25
--- /dev/null
+++ b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
@@ -0,0 +1,79 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.yammer.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.yammer.YammerConfiguration;
+
+/**
+ * The yammer component allows you to interact with the Yammer enterprise social
+ * network.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.yammer")
+public class YammerComponentConfiguration {
+
+ /**
+ * The consumer key
+ */
+ private String consumerKey;
+ /**
+ * The consumer secret
+ */
+ private String consumerSecret;
+ /**
+ * The access token
+ */
+ private String accessToken;
+ /**
+ * To use a shared yammer configuration
+ */
+ private YammerConfiguration config;
+
+ public String getConsumerKey() {
+ return consumerKey;
+ }
+
+ public void setConsumerKey(String consumerKey) {
+ this.consumerKey = consumerKey;
+ }
+
+ public String getConsumerSecret() {
+ return consumerSecret;
+ }
+
+ public void setConsumerSecret(String consumerSecret) {
+ this.consumerSecret = consumerSecret;
+ }
+
+ public String getAccessToken() {
+ return accessToken;
+ }
+
+ public void setAccessToken(String accessToken) {
+ this.accessToken = accessToken;
+ }
+
+ public YammerConfiguration getConfig() {
+ return config;
+ }
+
+ public void setConfig(YammerConfiguration config) {
+ this.config = config;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-yammer/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-yammer/src/main/resources/META-INF/spring.factories b/components/camel-yammer/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..898e683
--- /dev/null
+++ b/components/camel-yammer/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.yammer.springboot.YammerComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
new file mode 100644
index 0000000..fded42d
--- /dev/null
+++ b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.zookeeper.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.zookeeper.ZooKeeperComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(ZooKeeperComponentConfiguration.class)
+public class ZooKeeperComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(ZooKeeperComponent.class)
+ public ZooKeeperComponent configureComponent(CamelContext camelContext,
+ ZooKeeperComponentConfiguration configuration) throws Exception {
+ ZooKeeperComponent component = new ZooKeeperComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
new file mode 100644
index 0000000..50e047d
--- /dev/null
+++ b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.zookeeper.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.zookeeper.ZooKeeperConfiguration;
+
+/**
+ * The zookeeper component allows interaction with a ZooKeeper cluster.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.zookeeper")
+public class ZooKeeperComponentConfiguration {
+
+ /**
+ * To use a shared ZooKeeperConfiguration
+ */
+ private ZooKeeperConfiguration configuration;
+
+ public ZooKeeperConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(ZooKeeperConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-zookeeper/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/main/resources/META-INF/spring.factories b/components/camel-zookeeper/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..998f9e1
--- /dev/null
+++ b/components/camel-zookeeper/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.zookeeper.springboot.ZooKeeperComponentAutoConfiguration
[33/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
Experiment with generating spring-boot auto configuration for the Camel components.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d8951be4
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d8951be4
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d8951be4
Branch: refs/heads/boot-generate
Commit: d8951be4ad58fcf4dd868d53586778fdeb3d83cd
Parents: c0b5149
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Jun 8 09:22:14 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Jun 8 09:22:14 2016 +0200
----------------------------------------------------------------------
.../WsComponentAutoConfiguration.java | 8 +-
.../ws/springboot/WsComponentConfiguration.java | 6 +-
.../AhcComponentAutoConfiguration.java | 8 +-
.../springboot/AhcComponentConfiguration.java | 6 +-
.../AMQPComponentAutoConfiguration.java | 8 +-
.../springboot/AMQPComponentConfiguration.java | 22 ++--
.../ApnsComponentAutoConfiguration.java | 8 +-
.../springboot/ApnsComponentConfiguration.java | 2 +-
.../WebsocketComponentAutoConfiguration.java | 8 +-
.../WebsocketComponentConfiguration.java | 2 +-
.../AvroComponentAutoConfiguration.java | 8 +-
.../springboot/AvroComponentConfiguration.java | 2 +-
.../BeanstalkComponentAutoConfiguration.java | 8 +-
.../BeanstalkComponentConfiguration.java | 2 +-
.../BoxComponentAutoConfiguration.java | 8 +-
.../springboot/BoxComponentConfiguration.java | 2 +-
.../BraintreeComponentAutoConfiguration.java | 8 +-
.../BraintreeComponentConfiguration.java | 2 +-
.../CacheComponentAutoConfiguration.java | 8 +-
.../springboot/CacheComponentConfiguration.java | 4 +-
.../CometdComponentAutoConfiguration.java | 8 +-
.../CometdComponentConfiguration.java | 6 +-
...italSignatureComponentAutoConfiguration.java | 8 +-
.../DigitalSignatureComponentConfiguration.java | 2 +-
.../CxfRsComponentAutoConfiguration.java | 8 +-
.../springboot/CxfRsComponentConfiguration.java | 2 +-
.../CxfComponentAutoConfiguration.java | 8 +-
.../springboot/CxfComponentConfiguration.java | 2 +-
.../DisruptorComponentAutoConfiguration.java | 8 +-
.../DisruptorComponentConfiguration.java | 2 +-
.../DisruptorVmComponentAutoConfiguration.java | 8 +-
.../DisruptorVmComponentConfiguration.java | 2 +-
.../DockerComponentAutoConfiguration.java | 8 +-
.../DockerComponentConfiguration.java | 2 +-
.../EjbComponentAutoConfiguration.java | 8 +-
.../springboot/EjbComponentConfiguration.java | 4 +-
...ElasticsearchComponentAutoConfiguration.java | 8 +-
.../ElasticsearchComponentConfiguration.java | 2 +-
.../ElsqlComponentAutoConfiguration.java | 8 +-
.../springboot/ElsqlComponentConfiguration.java | 4 +-
.../EventAdminComponentAutoConfiguration.java | 8 +-
.../EventAdminComponentConfiguration.java | 2 +-
.../FacebookComponentAutoConfiguration.java | 8 +-
.../FacebookComponentConfiguration.java | 2 +-
.../FlinkComponentAutoConfiguration.java | 8 +-
.../springboot/FlinkComponentConfiguration.java | 6 +-
.../FreemarkerComponentAutoConfiguration.java | 8 +-
.../FreemarkerComponentConfiguration.java | 2 +-
.../GangliaComponentAutoConfiguration.java | 8 +-
.../GangliaComponentConfiguration.java | 2 +-
...oogleCalendarComponentAutoConfiguration.java | 8 +-
.../GoogleCalendarComponentConfiguration.java | 4 +-
.../GoogleDriveComponentAutoConfiguration.java | 8 +-
.../GoogleDriveComponentConfiguration.java | 4 +-
.../GoogleMailComponentAutoConfiguration.java | 8 +-
.../GoogleMailComponentConfiguration.java | 4 +-
...GuavaEventBusComponentAutoConfiguration.java | 8 +-
.../GuavaEventBusComponentConfiguration.java | 2 +-
.../HazelcastComponentAutoConfiguration.java | 8 +-
.../HazelcastComponentConfiguration.java | 2 +-
.../HBaseComponentAutoConfiguration.java | 8 +-
.../springboot/HBaseComponentConfiguration.java | 2 +-
.../HdfsComponentAutoConfiguration.java | 8 +-
.../springboot/HdfsComponentConfiguration.java | 2 +-
.../HdfsComponentAutoConfiguration.java | 8 +-
.../springboot/HdfsComponentConfiguration.java | 2 +-
.../HttpComponentAutoConfiguration.java | 8 +-
.../springboot/HttpComponentConfiguration.java | 4 +-
.../HttpComponentAutoConfiguration.java | 8 +-
.../springboot/HttpComponentConfiguration.java | 10 +-
.../IBatisComponentAutoConfiguration.java | 8 +-
.../IBatisComponentConfiguration.java | 2 +-
.../JcloudsComponentAutoConfiguration.java | 8 +-
.../JcloudsComponentConfiguration.java | 2 +-
.../JdbcComponentAutoConfiguration.java | 8 +-
.../springboot/JdbcComponentConfiguration.java | 2 +-
.../JettyHttpComponentAutoConfiguration9.java | 8 +-
.../JettyHttpComponentConfiguration9.java | 12 +-
.../JGroupsComponentAutoConfiguration.java | 8 +-
.../JGroupsComponentConfiguration.java | 2 +-
.../JmsComponentAutoConfiguration.java | 8 +-
.../springboot/JmsComponentConfiguration.java | 22 ++--
.../JoltComponentAutoConfiguration.java | 8 +-
.../springboot/JoltComponentConfiguration.java | 2 +-
.../JpaComponentAutoConfiguration.java | 8 +-
.../springboot/JpaComponentConfiguration.java | 2 +-
.../ScpComponentAutoConfiguration.java | 8 +-
.../Jt400ComponentAutoConfiguration.java | 8 +-
.../springboot/Jt400ComponentConfiguration.java | 2 +-
.../KafkaComponentAutoConfiguration.java | 8 +-
.../springboot/KafkaComponentConfiguration.java | 2 +-
.../KestrelComponentAutoConfiguration.java | 8 +-
.../KestrelComponentConfiguration.java | 2 +-
.../LinkedInComponentAutoConfiguration.java | 8 +-
.../LinkedInComponentConfiguration.java | 2 +-
.../LuceneComponentAutoConfiguration.java | 8 +-
.../LuceneComponentConfiguration.java | 2 +-
.../MailComponentAutoConfiguration.java | 8 +-
.../springboot/MailComponentConfiguration.java | 4 +-
.../MetricsComponentAutoConfiguration.java | 8 +-
.../MetricsComponentConfiguration.java | 2 +-
.../MinaComponentAutoConfiguration.java | 8 +-
.../springboot/MinaComponentConfiguration.java | 2 +-
.../Mina2ComponentAutoConfiguration.java | 8 +-
.../springboot/Mina2ComponentConfiguration.java | 2 +-
.../MQTTComponentAutoConfiguration.java | 8 +-
.../MsvComponentAutoConfiguration.java | 8 +-
.../springboot/MsvComponentConfiguration.java | 2 +-
.../MustacheComponentAutoConfiguration.java | 8 +-
.../MustacheComponentConfiguration.java | 2 +-
.../MyBatisComponentAutoConfiguration.java | 8 +-
.../MyBatisComponentConfiguration.java | 2 +-
.../NagiosComponentAutoConfiguration.java | 8 +-
.../NagiosComponentConfiguration.java | 2 +-
.../NettyHttpComponentAutoConfiguration.java | 8 +-
.../NettyHttpComponentConfiguration.java | 6 +-
.../NettyComponentAutoConfiguration.java | 8 +-
.../springboot/NettyComponentConfiguration.java | 2 +-
.../NettyHttpComponentAutoConfiguration.java | 8 +-
.../NettyHttpComponentConfiguration.java | 8 +-
.../NettyComponentAutoConfiguration.java | 8 +-
.../springboot/NettyComponentConfiguration.java | 4 +-
.../Olingo2ComponentAutoConfiguration.java | 8 +-
.../Olingo2ComponentConfiguration.java | 2 +-
.../OpenShiftComponentAutoConfiguration.java | 8 +-
.../PahoComponentAutoConfiguration.java | 8 +-
.../springboot/PahoComponentConfiguration.java | 2 +-
.../PaxLoggingComponentAutoConfiguration.java | 8 +-
.../PaxLoggingComponentConfiguration.java | 2 +-
.../QuartzComponentAutoConfiguration.java | 8 +-
.../QuartzComponentConfiguration.java | 6 +-
.../QuartzComponentAutoConfiguration.java | 8 +-
.../QuartzComponentConfiguration.java | 4 +-
.../QuickfixjComponentAutoConfiguration.java | 8 +-
.../QuickfixjComponentConfiguration.java | 6 +-
.../RestletComponentAutoConfiguration.java | 8 +-
.../RestletComponentConfiguration.java | 2 +-
.../SalesforceComponentAutoConfiguration.java | 8 +-
.../SalesforceComponentConfiguration.java | 8 +-
.../XQueryComponentAutoConfiguration.java | 8 +-
.../XQueryComponentConfiguration.java | 2 +-
.../ServletComponentAutoConfiguration.java | 8 +-
.../ServletComponentConfiguration.java | 2 +-
.../SjmsBatchComponentAutoConfiguration.java | 8 +-
.../SjmsBatchComponentConfiguration.java | 2 +-
.../SjmsComponentAutoConfiguration.java | 8 +-
.../springboot/SjmsComponentConfiguration.java | 10 +-
.../SlackComponentAutoConfiguration.java | 8 +-
.../SmppComponentAutoConfiguration.java | 8 +-
.../springboot/SmppComponentConfiguration.java | 2 +-
.../SparkComponentAutoConfiguration.java | 8 +-
.../springboot/SparkComponentConfiguration.java | 4 +-
.../SparkComponentAutoConfiguration.java | 8 +-
.../springboot/SparkComponentConfiguration.java | 4 +-
.../SplunkComponentAutoConfiguration.java | 8 +-
.../SplunkComponentConfiguration.java | 2 +-
.../SpringBatchComponentAutoConfiguration.java | 8 +-
.../SpringBatchComponentConfiguration.java | 2 +-
.../EventComponentAutoConfiguration.java | 8 +-
.../SqlComponentAutoConfiguration.java | 8 +-
.../springboot/SqlComponentConfiguration.java | 2 +-
.../SqlStoredComponentAutoConfiguration.java | 8 +-
.../SqlStoredComponentConfiguration.java | 2 +-
.../SshComponentAutoConfiguration.java | 8 +-
.../springboot/SshComponentConfiguration.java | 2 +-
.../StompComponentAutoConfiguration.java | 8 +-
.../springboot/StompComponentConfiguration.java | 2 +-
.../TwitterComponentAutoConfiguration.java | 8 +-
.../UndertowComponentAutoConfiguration.java | 8 +-
.../UndertowComponentConfiguration.java | 2 +-
.../VelocityComponentAutoConfiguration.java | 8 +-
.../VelocityComponentConfiguration.java | 2 +-
.../VertxComponentAutoConfiguration.java | 8 +-
.../springboot/VertxComponentConfiguration.java | 6 +-
.../WebsocketComponentAutoConfiguration.java | 8 +-
.../WebsocketComponentConfiguration.java | 6 +-
components/camel-xmlbeans/pom.xml | 127 +++++++++++--------
.../XmlSignatureComponentAutoConfiguration.java | 8 +-
.../XmlSignatureComponentConfiguration.java | 2 +-
.../YammerComponentAutoConfiguration.java | 8 +-
.../YammerComponentConfiguration.java | 2 +-
.../ZooKeeperComponentAutoConfiguration.java | 8 +-
.../ZooKeeperComponentConfiguration.java | 2 +-
.../SpringBootAutoConfigurationMojo.java | 51 ++++++++
184 files changed, 659 insertions(+), 585 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
index 9482720..ad280d1 100644
--- a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
+++ b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.ahc.ws.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.ahc.ws.WsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.ahc.ws.WsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
index 6c15d1e..617585e 100644
--- a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
+++ b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
@@ -16,12 +16,12 @@
*/
package org.apache.camel.component.ahc.ws.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.ning.http.client.AsyncHttpClient;
-import org.apache.camel.component.ahc.AhcBinding;
import com.ning.http.client.AsyncHttpClientConfig;
-import org.apache.camel.util.jsse.SSLContextParameters;
+import org.apache.camel.component.ahc.AhcBinding;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To exchange data with external Websocket servers using Async Http Client.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
index 8b3f8da..ec10c2e 100644
--- a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
+++ b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.ahc.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.ahc.AhcComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.ahc.AhcComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
index a26f658..001ede5 100644
--- a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
+++ b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
@@ -16,12 +16,12 @@
*/
package org.apache.camel.component.ahc.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.ning.http.client.AsyncHttpClient;
-import org.apache.camel.component.ahc.AhcBinding;
import com.ning.http.client.AsyncHttpClientConfig;
-import org.apache.camel.util.jsse.SSLContextParameters;
+import org.apache.camel.component.ahc.AhcBinding;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To call external HTTP services using Async Http Client.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
index b27c28e..0d3799f 100644
--- a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
+++ b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.amqp.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.amqp.AMQPComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.amqp.AMQPComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
index e48aa49..edabd69 100644
--- a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
+++ b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
@@ -16,24 +16,24 @@
*/
package org.apache.camel.component.amqp.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.jms.JmsConfiguration;
import javax.jms.ConnectionFactory;
import javax.jms.ExceptionListener;
-import org.springframework.util.ErrorHandler;
import org.apache.camel.LoggingLevel;
-import org.springframework.jms.support.converter.MessageConverter;
-import org.springframework.core.task.TaskExecutor;
-import org.springframework.transaction.PlatformTransactionManager;
-import org.springframework.jms.core.JmsOperations;
-import org.springframework.jms.support.destination.DestinationResolver;
-import org.apache.camel.component.jms.ReplyToType;
import org.apache.camel.component.jms.DefaultTaskExecutorType;
+import org.apache.camel.component.jms.JmsConfiguration;
import org.apache.camel.component.jms.JmsKeyFormatStrategy;
-import org.springframework.context.ApplicationContext;
+import org.apache.camel.component.jms.MessageCreatedStrategy;
import org.apache.camel.component.jms.QueueBrowseStrategy;
+import org.apache.camel.component.jms.ReplyToType;
import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.jms.MessageCreatedStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.context.ApplicationContext;
+import org.springframework.core.task.TaskExecutor;
+import org.springframework.jms.core.JmsOperations;
+import org.springframework.jms.support.converter.MessageConverter;
+import org.springframework.jms.support.destination.DestinationResolver;
+import org.springframework.transaction.PlatformTransactionManager;
+import org.springframework.util.ErrorHandler;
/**
* Messaging with AMQP protocol using Apache QPid Client.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
index 54a10f2..3ecd044 100644
--- a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
+++ b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.apns.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.apns.ApnsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.apns.ApnsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
index 7f11532..82f9fb9 100644
--- a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
+++ b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.apns.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.notnoop.apns.ApnsService;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* For sending notifications to Apple iOS devices.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
index 9bd7de6..1244474 100644
--- a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
+++ b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.atmosphere.websocket.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.atmosphere.websocket.WebsocketComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.atmosphere.websocket.WebsocketComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
index e7f8638..6896e65 100644
--- a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
+++ b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
@@ -16,11 +16,11 @@
*/
package org.apache.camel.component.atmosphere.websocket.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.servlet.HttpRegistry;
import org.apache.camel.http.common.HttpBinding;
import org.apache.camel.http.common.HttpConfiguration;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To exchange data with external Websocket clients using Atmosphere.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
index 43398c0..5d5989b 100644
--- a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
+++ b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.avro.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.avro.AvroComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.avro.AvroComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
index acdfdc9..7d13a39 100644
--- a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
+++ b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.avro.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.avro.AvroConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Working with Apache Avro for data serialization.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
index 6b6297e..44db0da 100644
--- a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
+++ b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.beanstalk.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.beanstalk.BeanstalkComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.beanstalk.BeanstalkComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
index c5adda4..d0e4599 100644
--- a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
+++ b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.beanstalk.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.beanstalk.ConnectionSettingsFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The beanstalk component is used for job retrieval and post-processing of
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
index a5540ed..6f7dcf5 100644
--- a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
+++ b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.box.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.box.BoxComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.box.BoxComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
index ff0bbaa..2b74214 100644
--- a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
+++ b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.box.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.box.BoxConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* For uploading downloading and managing files folders groups collaborations
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
index febed50..2176d46 100644
--- a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
+++ b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.braintree.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.braintree.BraintreeComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.braintree.BraintreeComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
index fbf4cb5..60f2b7f 100644
--- a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
+++ b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.braintree.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.braintree.BraintreeConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The braintree component is used for integrating with the Braintree Payment
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
index c867216..cc996cc 100644
--- a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
+++ b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.cache.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.cache.CacheComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.cache.CacheComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
index 01f927c..cfb7abd 100644
--- a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
+++ b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.cache.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.cache.CacheManagerFactory;
import org.apache.camel.component.cache.CacheConfiguration;
+import org.apache.camel.component.cache.CacheManagerFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The cache component enables you to perform caching operations using EHCache
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
index 772565d..3194fda 100644
--- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
+++ b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.cometd.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.cometd.CometdComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.cometd.CometdComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
index 4cf997b..6d7c7d0 100644
--- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
+++ b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
@@ -16,11 +16,11 @@
*/
package org.apache.camel.component.cometd.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.cometd.bayeux.server.SecurityPolicy;
import java.util.List;
-import org.cometd.bayeux.server.BayeuxServer.Extension;
import org.apache.camel.util.jsse.SSLContextParameters;
+import org.cometd.bayeux.server.BayeuxServer.Extension;
+import org.cometd.bayeux.server.SecurityPolicy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The cometd component is a transport for working with the Jetty implementation
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
index 8c6bd42..3ffd71c 100644
--- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
+++ b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.crypto.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.crypto.DigitalSignatureComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.crypto.DigitalSignatureComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
index 6f5c02d..96b82a0 100644
--- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
+++ b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.crypto.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.crypto.DigitalSignatureConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The crypto component is used for signing and verifying exchanges using the
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
index 92e8128..3a9c541 100644
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.cxf.jaxrs.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.cxf.jaxrs.CxfRsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.cxf.jaxrs.CxfRsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
index 62c494f..f517a0e 100644
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.cxf.jaxrs.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The cxfrs component is used for JAX-RS REST services using Apache CXF.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
index 4a69480..c4b223f 100644
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.cxf.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.cxf.CxfComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.cxf.CxfComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
index c863627..b98b695 100644
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.cxf.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The cxf component is used for SOAP WebServices using Apache CXF.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
index 2ebcf6a..82a7266 100644
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.disruptor.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.disruptor.DisruptorComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.disruptor.DisruptorComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
index 048f835..68dd695 100644
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.disruptor.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.disruptor.DisruptorProducerType;
import org.apache.camel.component.disruptor.DisruptorWaitStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The disruptor component provides asynchronous SEDA behavior using LMAX
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
index e3f36cd..94574ee 100644
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.disruptor.vm.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.disruptor.vm.DisruptorVmComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.disruptor.vm.DisruptorVmComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
index abfc98b..a194f49 100644
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.disruptor.vm.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.disruptor.DisruptorProducerType;
import org.apache.camel.component.disruptor.DisruptorWaitStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The disruptor component provides asynchronous SEDA behavior using LMAX
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
index 83bba80..07c50a5 100644
--- a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
+++ b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.docker.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.docker.DockerComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.docker.DockerComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
index 36608a1..3a0d850 100644
--- a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
+++ b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.docker.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.docker.DockerConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The docker component is used for managing Docker containers.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
index f914731..d1bc421 100644
--- a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
+++ b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.ejb.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.ejb.EjbComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.ejb.EjbComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
index 09f5f4f..3ff10d9 100644
--- a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
+++ b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.ejb.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.naming.Context;
import java.util.Properties;
+import javax.naming.Context;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The ejb component is for invoking EJB Java beans from Camel.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
index 0f92ef2..0282a65 100644
--- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
+++ b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.elasticsearch.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.elasticsearch.ElasticsearchComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.elasticsearch.ElasticsearchComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
index 8898f30..c375745 100644
--- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
+++ b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.elasticsearch.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.elasticsearch.client.Client;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The elasticsearch component is used for interfacing with ElasticSearch
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
index 37a4d46..7a0c0f6 100644
--- a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
+++ b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.elsql.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.elsql.ElsqlComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.elsql.ElsqlComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
index 51c8f9b..c36b95e 100644
--- a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
+++ b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
@@ -16,10 +16,10 @@
*/
package org.apache.camel.component.elsql.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.elsql.ElSqlDatabaseVendor;
import javax.sql.DataSource;
import com.opengamma.elsql.ElSqlConfig;
+import org.apache.camel.component.elsql.ElSqlDatabaseVendor;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The elsql component is an extension to the existing SQL Component that uses
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
index dc6cd48..b0715e8 100644
--- a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
+++ b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.eventadmin.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.eventadmin.EventAdminComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.eventadmin.EventAdminComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
index 83d1cf7..245c8e5 100644
--- a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
+++ b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.eventadmin.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.osgi.framework.BundleContext;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The eventadmin component can be used in an OSGi environment to receive OSGi
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
index 6f38580..09bd2c5 100644
--- a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
+++ b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.facebook.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.facebook.FacebookComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.facebook.FacebookComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
index 4a77f62..850b557 100644
--- a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
+++ b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.facebook.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.facebook.config.FacebookConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The Facebook component provides access to all of the Facebook APIs accessible
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
index b96e21b..27185ec 100644
--- a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
+++ b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.flink.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.flink.FlinkComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.flink.FlinkComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
index 79bf167..6e25062 100644
--- a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
+++ b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
@@ -16,11 +16,11 @@
*/
package org.apache.camel.component.flink.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.flink.api.java.DataSet;
-import org.apache.flink.streaming.api.datastream.DataStream;
import org.apache.camel.component.flink.DataSetCallback;
import org.apache.camel.component.flink.DataStreamCallback;
+import org.apache.flink.api.java.DataSet;
+import org.apache.flink.streaming.api.datastream.DataStream;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The flink component can be used to send DataSet jobs to Apache Flink cluster.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
index 238a7ff..7370728 100644
--- a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
+++ b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.freemarker.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.freemarker.FreemarkerComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.freemarker.FreemarkerComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
index 05652c1..a03cf42 100644
--- a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
+++ b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.freemarker.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import freemarker.template.Configuration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Transforms the message using a FreeMarker template.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
index 3a89ae0..fdc4296 100644
--- a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
+++ b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.ganglia.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.ganglia.GangliaComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.ganglia.GangliaComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
index d46883e..1744745 100644
--- a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
+++ b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.ganglia.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.ganglia.GangliaConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The ganglia component is used for sending metrics to the Ganglia monitoring
[26/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
new file mode 100644
index 0000000..abfc98b
--- /dev/null
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java
@@ -0,0 +1,120 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.disruptor.vm.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.disruptor.DisruptorProducerType;
+import org.apache.camel.component.disruptor.DisruptorWaitStrategy;
+
+/**
+ * The disruptor component provides asynchronous SEDA behavior using LMAX
+ * Disruptor.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.disruptor-vm")
+public class DisruptorVmComponentConfiguration {
+
+ /**
+ * To configure the default number of concurrent consumers
+ */
+ private int defaultConcurrentConsumers;
+ /**
+ * To configure the default value for multiple consumers
+ */
+ private boolean defaultMultipleConsumers;
+ /**
+ * To configure the default value for DisruptorProducerType The default
+ * value is Multi.
+ */
+ private DisruptorProducerType defaultProducerType;
+ /**
+ * To configure the default value for DisruptorWaitStrategy The default
+ * value is Blocking.
+ */
+ private DisruptorWaitStrategy defaultWaitStrategy;
+ /**
+ * To configure the default value for block when full The default value is
+ * true.
+ */
+ private boolean defaultBlockWhenFull;
+ /**
+ * To configure the ring buffer size
+ */
+ @Deprecated
+ private int queueSize;
+ /**
+ * To configure the ring buffer size
+ */
+ private int bufferSize;
+
+ public int getDefaultConcurrentConsumers() {
+ return defaultConcurrentConsumers;
+ }
+
+ public void setDefaultConcurrentConsumers(int defaultConcurrentConsumers) {
+ this.defaultConcurrentConsumers = defaultConcurrentConsumers;
+ }
+
+ public boolean isDefaultMultipleConsumers() {
+ return defaultMultipleConsumers;
+ }
+
+ public void setDefaultMultipleConsumers(boolean defaultMultipleConsumers) {
+ this.defaultMultipleConsumers = defaultMultipleConsumers;
+ }
+
+ public DisruptorProducerType getDefaultProducerType() {
+ return defaultProducerType;
+ }
+
+ public void setDefaultProducerType(DisruptorProducerType defaultProducerType) {
+ this.defaultProducerType = defaultProducerType;
+ }
+
+ public DisruptorWaitStrategy getDefaultWaitStrategy() {
+ return defaultWaitStrategy;
+ }
+
+ public void setDefaultWaitStrategy(DisruptorWaitStrategy defaultWaitStrategy) {
+ this.defaultWaitStrategy = defaultWaitStrategy;
+ }
+
+ public boolean isDefaultBlockWhenFull() {
+ return defaultBlockWhenFull;
+ }
+
+ public void setDefaultBlockWhenFull(boolean defaultBlockWhenFull) {
+ this.defaultBlockWhenFull = defaultBlockWhenFull;
+ }
+
+ public int getQueueSize() {
+ return queueSize;
+ }
+
+ public void setQueueSize(int queueSize) {
+ this.queueSize = queueSize;
+ }
+
+ public int getBufferSize() {
+ return bufferSize;
+ }
+
+ public void setBufferSize(int bufferSize) {
+ this.bufferSize = bufferSize;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-disruptor/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/resources/META-INF/spring.factories b/components/camel-disruptor/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..6797e8a
--- /dev/null
+++ b/components/camel-disruptor/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.disruptor.vm.springboot.DisruptorVmComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
new file mode 100644
index 0000000..83bba80
--- /dev/null
+++ b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.docker.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.docker.DockerComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(DockerComponentConfiguration.class)
+public class DockerComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(DockerComponent.class)
+ public DockerComponent configureComponent(CamelContext camelContext,
+ DockerComponentConfiguration configuration) throws Exception {
+ DockerComponent component = new DockerComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
new file mode 100644
index 0000000..36608a1
--- /dev/null
+++ b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.docker.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.docker.DockerConfiguration;
+
+/**
+ * The docker component is used for managing Docker containers.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.docker")
+public class DockerComponentConfiguration {
+
+ /**
+ * To use the shared docker configuration
+ */
+ private DockerConfiguration configuration;
+
+ public DockerConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(DockerConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-docker/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-docker/src/main/resources/META-INF/spring.factories b/components/camel-docker/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..04d76c0
--- /dev/null
+++ b/components/camel-docker/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.docker.springboot.DockerComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
new file mode 100644
index 0000000..f914731
--- /dev/null
+++ b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ejb.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.ejb.EjbComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(EjbComponentConfiguration.class)
+public class EjbComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(EjbComponent.class)
+ public EjbComponent configureComponent(CamelContext camelContext,
+ EjbComponentConfiguration configuration) throws Exception {
+ EjbComponent component = new EjbComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
new file mode 100644
index 0000000..09f5f4f
--- /dev/null
+++ b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java
@@ -0,0 +1,56 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ejb.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.naming.Context;
+import java.util.Properties;
+
+/**
+ * The ejb component is for invoking EJB Java beans from Camel.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.ejb")
+public class EjbComponentConfiguration {
+
+ /**
+ * The Context to use for looking up the EJBs
+ */
+ private Context context;
+ /**
+ * Properties for creating javax.naming.Context if a context has not been
+ * configured.
+ */
+ private Properties properties;
+
+ public Context getContext() {
+ return context;
+ }
+
+ public void setContext(Context context) {
+ this.context = context;
+ }
+
+ public Properties getProperties() {
+ return properties;
+ }
+
+ public void setProperties(Properties properties) {
+ this.properties = properties;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ejb/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ejb/src/main/resources/META-INF/spring.factories b/components/camel-ejb/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..807a34b
--- /dev/null
+++ b/components/camel-ejb/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.ejb.springboot.EjbComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
new file mode 100644
index 0000000..0f92ef2
--- /dev/null
+++ b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.elasticsearch.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.elasticsearch.ElasticsearchComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(ElasticsearchComponentConfiguration.class)
+public class ElasticsearchComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(ElasticsearchComponent.class)
+ public ElasticsearchComponent configureComponent(CamelContext camelContext,
+ ElasticsearchComponentConfiguration configuration) throws Exception {
+ ElasticsearchComponent component = new ElasticsearchComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
new file mode 100644
index 0000000..8898f30
--- /dev/null
+++ b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.elasticsearch.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.elasticsearch.client.Client;
+
+/**
+ * The elasticsearch component is used for interfacing with ElasticSearch
+ * server.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.elasticsearch")
+public class ElasticsearchComponentConfiguration {
+
+ /**
+ * To use an existing configured Elasticsearch client instead of creating a
+ * client per endpoint.
+ */
+ private Client client;
+
+ public Client getClient() {
+ return client;
+ }
+
+ public void setClient(Client client) {
+ this.client = client;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories b/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..a952c37
--- /dev/null
+++ b/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.elasticsearch.springboot.ElasticsearchComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
new file mode 100644
index 0000000..37a4d46
--- /dev/null
+++ b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.elsql.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.elsql.ElsqlComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(ElsqlComponentConfiguration.class)
+public class ElsqlComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(ElsqlComponent.class)
+ public ElsqlComponent configureComponent(CamelContext camelContext,
+ ElsqlComponentConfiguration configuration) throws Exception {
+ ElsqlComponent component = new ElsqlComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
new file mode 100644
index 0000000..51c8f9b
--- /dev/null
+++ b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java
@@ -0,0 +1,86 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.elsql.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.elsql.ElSqlDatabaseVendor;
+import javax.sql.DataSource;
+import com.opengamma.elsql.ElSqlConfig;
+
+/**
+ * The elsql component is an extension to the existing SQL Component that uses
+ * ElSql to define the SQL queries.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.elsql")
+public class ElsqlComponentConfiguration {
+
+ /**
+ * To use a vendor specific com.opengamma.elsql.ElSqlConfig
+ */
+ private ElSqlDatabaseVendor databaseVendor;
+ /**
+ * Sets the DataSource to use to communicate with the database.
+ */
+ private DataSource dataSource;
+ /**
+ * To use a specific configured ElSqlConfig. It may be better to use the
+ * databaseVendor option instead.
+ */
+ private ElSqlConfig elSqlConfig;
+ /**
+ * The resource file which contains the elsql SQL statements to use. You can
+ * specify multiple resources separated by comma. The resources are loaded
+ * on the classpath by default you can prefix with file: to load from file
+ * system. Notice you can set this option on the component and then you do
+ * not have to configure this on the endpoint.
+ */
+ private String resourceUri;
+
+ public ElSqlDatabaseVendor getDatabaseVendor() {
+ return databaseVendor;
+ }
+
+ public void setDatabaseVendor(ElSqlDatabaseVendor databaseVendor) {
+ this.databaseVendor = databaseVendor;
+ }
+
+ public DataSource getDataSource() {
+ return dataSource;
+ }
+
+ public void setDataSource(DataSource dataSource) {
+ this.dataSource = dataSource;
+ }
+
+ public ElSqlConfig getElSqlConfig() {
+ return elSqlConfig;
+ }
+
+ public void setElSqlConfig(ElSqlConfig elSqlConfig) {
+ this.elSqlConfig = elSqlConfig;
+ }
+
+ public String getResourceUri() {
+ return resourceUri;
+ }
+
+ public void setResourceUri(String resourceUri) {
+ this.resourceUri = resourceUri;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-elsql/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-elsql/src/main/resources/META-INF/spring.factories b/components/camel-elsql/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..3b79893
--- /dev/null
+++ b/components/camel-elsql/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.elsql.springboot.ElsqlComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
new file mode 100644
index 0000000..dc6cd48
--- /dev/null
+++ b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.eventadmin.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.eventadmin.EventAdminComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(EventAdminComponentConfiguration.class)
+public class EventAdminComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(EventAdminComponent.class)
+ public EventAdminComponent configureComponent(CamelContext camelContext,
+ EventAdminComponentConfiguration configuration) throws Exception {
+ EventAdminComponent component = new EventAdminComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
new file mode 100644
index 0000000..83d1cf7
--- /dev/null
+++ b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.eventadmin.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The eventadmin component can be used in an OSGi environment to receive OSGi
+ * EventAdmin events and process them.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.eventadmin")
+public class EventAdminComponentConfiguration {
+
+ /**
+ * The OSGi BundleContext is automatic injected by Camel
+ */
+ private BundleContext bundleContext;
+
+ public BundleContext getBundleContext() {
+ return bundleContext;
+ }
+
+ public void setBundleContext(BundleContext bundleContext) {
+ this.bundleContext = bundleContext;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-eventadmin/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-eventadmin/src/main/resources/META-INF/spring.factories b/components/camel-eventadmin/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..d6c2057
--- /dev/null
+++ b/components/camel-eventadmin/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.eventadmin.springboot.EventAdminComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
new file mode 100644
index 0000000..6f38580
--- /dev/null
+++ b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.facebook.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.facebook.FacebookComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(FacebookComponentConfiguration.class)
+public class FacebookComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(FacebookComponent.class)
+ public FacebookComponent configureComponent(CamelContext camelContext,
+ FacebookComponentConfiguration configuration) throws Exception {
+ FacebookComponent component = new FacebookComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
new file mode 100644
index 0000000..4a77f62
--- /dev/null
+++ b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.facebook.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.facebook.config.FacebookConfiguration;
+
+/**
+ * The Facebook component provides access to all of the Facebook APIs accessible
+ * using Facebook4J.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.facebook")
+public class FacebookComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private FacebookConfiguration configuration;
+
+ public FacebookConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(FacebookConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-facebook/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-facebook/src/main/resources/META-INF/spring.factories b/components/camel-facebook/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..49cf4f2
--- /dev/null
+++ b/components/camel-facebook/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.facebook.springboot.FacebookComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
new file mode 100644
index 0000000..b96e21b
--- /dev/null
+++ b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.flink.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.flink.FlinkComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(FlinkComponentConfiguration.class)
+public class FlinkComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(FlinkComponent.class)
+ public FlinkComponent configureComponent(CamelContext camelContext,
+ FlinkComponentConfiguration configuration) throws Exception {
+ FlinkComponent component = new FlinkComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
new file mode 100644
index 0000000..79bf167
--- /dev/null
+++ b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java
@@ -0,0 +1,81 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.flink.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.flink.api.java.DataSet;
+import org.apache.flink.streaming.api.datastream.DataStream;
+import org.apache.camel.component.flink.DataSetCallback;
+import org.apache.camel.component.flink.DataStreamCallback;
+
+/**
+ * The flink component can be used to send DataSet jobs to Apache Flink cluster.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.flink")
+public class FlinkComponentConfiguration {
+
+ /**
+ * DataSet to compute against.
+ */
+ private DataSet dataSet;
+ /**
+ * DataStream to compute against.
+ */
+ private DataStream dataStream;
+ /**
+ * Function performing action against a DataSet.
+ */
+ private DataSetCallback dataSetCallback;
+ /**
+ * Function performing action against a DataStream.
+ */
+ private DataStreamCallback dataStreamCallback;
+
+ public DataSet getDataSet() {
+ return dataSet;
+ }
+
+ public void setDataSet(DataSet dataSet) {
+ this.dataSet = dataSet;
+ }
+
+ public DataStream getDataStream() {
+ return dataStream;
+ }
+
+ public void setDataStream(DataStream dataStream) {
+ this.dataStream = dataStream;
+ }
+
+ public DataSetCallback getDataSetCallback() {
+ return dataSetCallback;
+ }
+
+ public void setDataSetCallback(DataSetCallback dataSetCallback) {
+ this.dataSetCallback = dataSetCallback;
+ }
+
+ public DataStreamCallback getDataStreamCallback() {
+ return dataStreamCallback;
+ }
+
+ public void setDataStreamCallback(DataStreamCallback dataStreamCallback) {
+ this.dataStreamCallback = dataStreamCallback;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-flink/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-flink/src/main/resources/META-INF/spring.factories b/components/camel-flink/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..12d3fd7
--- /dev/null
+++ b/components/camel-flink/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.flink.springboot.FlinkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
new file mode 100644
index 0000000..238a7ff
--- /dev/null
+++ b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.freemarker.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.freemarker.FreemarkerComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(FreemarkerComponentConfiguration.class)
+public class FreemarkerComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(FreemarkerComponent.class)
+ public FreemarkerComponent configureComponent(CamelContext camelContext,
+ FreemarkerComponentConfiguration configuration) throws Exception {
+ FreemarkerComponent component = new FreemarkerComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
new file mode 100644
index 0000000..05652c1
--- /dev/null
+++ b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.freemarker.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import freemarker.template.Configuration;
+
+/**
+ * Transforms the message using a FreeMarker template.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.freemarker")
+public class FreemarkerComponentConfiguration {
+
+ /**
+ * To use an existing freemarker.template.Configuration instance as the
+ * configuration.
+ */
+ private Configuration configuration;
+
+ public Configuration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(Configuration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-freemarker/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-freemarker/src/main/resources/META-INF/spring.factories b/components/camel-freemarker/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..90978d0
--- /dev/null
+++ b/components/camel-freemarker/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.freemarker.springboot.FreemarkerComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
new file mode 100644
index 0000000..3a89ae0
--- /dev/null
+++ b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ganglia.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.ganglia.GangliaComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(GangliaComponentConfiguration.class)
+public class GangliaComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(GangliaComponent.class)
+ public GangliaComponent configureComponent(CamelContext camelContext,
+ GangliaComponentConfiguration configuration) throws Exception {
+ GangliaComponent component = new GangliaComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
new file mode 100644
index 0000000..d46883e
--- /dev/null
+++ b/components/camel-ganglia/src/main/java/org/apache/camel/component/ganglia/springboot/GangliaComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.ganglia.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.ganglia.GangliaConfiguration;
+
+/**
+ * The ganglia component is used for sending metrics to the Ganglia monitoring
+ * system.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.ganglia")
+public class GangliaComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private GangliaConfiguration configuration;
+
+ public GangliaConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(GangliaConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-ganglia/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ganglia/src/main/resources/META-INF/spring.factories b/components/camel-ganglia/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..330482a
--- /dev/null
+++ b/components/camel-ganglia/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.ganglia.springboot.GangliaComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
new file mode 100644
index 0000000..42a7a83
--- /dev/null
+++ b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
@@ -0,0 +1,52 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.google.calendar.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.google.calendar.GoogleCalendarComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(GoogleCalendarComponentConfiguration.class)
+public class GoogleCalendarComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(GoogleCalendarComponent.class)
+ public GoogleCalendarComponent configureComponent(
+ CamelContext camelContext,
+ GoogleCalendarComponentConfiguration configuration)
+ throws Exception {
+ GoogleCalendarComponent component = new GoogleCalendarComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
new file mode 100644
index 0000000..0a60df0
--- /dev/null
+++ b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
@@ -0,0 +1,56 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.google.calendar.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.google.calendar.GoogleCalendarConfiguration;
+import org.apache.camel.component.google.calendar.GoogleCalendarClientFactory;
+
+/**
+ * The google-calendar component provides access to Google Calendar.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.google-calendar")
+public class GoogleCalendarComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private GoogleCalendarConfiguration configuration;
+ /**
+ * To use the GoogleCalendarClientFactory as factory for creating the
+ * client. Will by default use BatchGoogleCalendarClientFactory
+ */
+ private GoogleCalendarClientFactory clientFactory;
+
+ public GoogleCalendarConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(GoogleCalendarConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public GoogleCalendarClientFactory getClientFactory() {
+ return clientFactory;
+ }
+
+ public void setClientFactory(GoogleCalendarClientFactory clientFactory) {
+ this.clientFactory = clientFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-calendar/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/resources/META-INF/spring.factories b/components/camel-google-calendar/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..dc04bbf
--- /dev/null
+++ b/components/camel-google-calendar/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.google.calendar.springboot.GoogleCalendarComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
new file mode 100644
index 0000000..9ee4644
--- /dev/null
+++ b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.google.drive.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.google.drive.GoogleDriveComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(GoogleDriveComponentConfiguration.class)
+public class GoogleDriveComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(GoogleDriveComponent.class)
+ public GoogleDriveComponent configureComponent(CamelContext camelContext,
+ GoogleDriveComponentConfiguration configuration) throws Exception {
+ GoogleDriveComponent component = new GoogleDriveComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
new file mode 100644
index 0000000..47cad60
--- /dev/null
+++ b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
@@ -0,0 +1,57 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.google.drive.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.google.drive.GoogleDriveConfiguration;
+import org.apache.camel.component.google.drive.GoogleDriveClientFactory;
+
+/**
+ * The google-drive component provides access to Google Drive file storage
+ * service.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.google-drive")
+public class GoogleDriveComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private GoogleDriveConfiguration configuration;
+ /**
+ * To use the GoogleCalendarClientFactory as factory for creating the
+ * client. Will by default use BatchGoogleDriveClientFactory
+ */
+ private GoogleDriveClientFactory clientFactory;
+
+ public GoogleDriveConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(GoogleDriveConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public GoogleDriveClientFactory getClientFactory() {
+ return clientFactory;
+ }
+
+ public void setClientFactory(GoogleDriveClientFactory clientFactory) {
+ this.clientFactory = clientFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-drive/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/src/main/resources/META-INF/spring.factories b/components/camel-google-drive/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..360b54c
--- /dev/null
+++ b/components/camel-google-drive/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.google.drive.springboot.GoogleDriveComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
new file mode 100644
index 0000000..6fd218e
--- /dev/null
+++ b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.google.mail.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.google.mail.GoogleMailComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(GoogleMailComponentConfiguration.class)
+public class GoogleMailComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(GoogleMailComponent.class)
+ public GoogleMailComponent configureComponent(CamelContext camelContext,
+ GoogleMailComponentConfiguration configuration) throws Exception {
+ GoogleMailComponent component = new GoogleMailComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
[17/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
Revert "Experiment with generating spring-boot auto configuration for the Camel components."
This reverts commit 75ca9d13916833f61c72e4226accce7431c83aa2.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4f1d8a86
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4f1d8a86
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4f1d8a86
Branch: refs/heads/boot-generate
Commit: 4f1d8a86ffa72dc3f9a31a1f2e6319660c68165d
Parents: 9c4c43e
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Jun 7 16:21:28 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Jun 7 16:21:28 2016 +0200
----------------------------------------------------------------------
.../WsComponentAutoConfiguration.java | 50 -
.../ws/springboot/WsComponentConfiguration.java | 118 --
.../main/resources/META-INF/spring.factories | 19 -
.../AhcComponentAutoConfiguration.java | 50 -
.../springboot/AhcComponentConfiguration.java | 118 --
.../main/resources/META-INF/spring.factories | 19 -
.../AMQPComponentAutoConfiguration.java | 50 -
.../springboot/AMQPComponentConfiguration.java | 1122 -----------------
.../main/resources/META-INF/spring.factories | 19 -
.../ApnsComponentAutoConfiguration.java | 50 -
.../springboot/ApnsComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../AtmosComponentAutoConfiguration.java | 50 -
.../springboot/AtmosComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../WebsocketComponentAutoConfiguration.java | 50 -
.../WebsocketComponentConfiguration.java | 126 --
.../main/resources/META-INF/spring.factories | 19 -
.../AtomComponentAutoConfiguration.java | 50 -
.../springboot/AtomComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../AvroComponentAutoConfiguration.java | 50 -
.../springboot/AvroComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../CwComponentAutoConfiguration.java | 50 -
.../cw/springboot/CwComponentConfiguration.java | 28 -
.../DdbComponentAutoConfiguration.java | 50 -
.../springboot/DdbComponentConfiguration.java | 29 -
.../DdbStreamComponentAutoConfiguration.java | 50 -
.../DdbStreamComponentConfiguration.java | 28 -
.../EC2ComponentAutoConfiguration.java | 50 -
.../springboot/EC2ComponentConfiguration.java | 28 -
.../KinesisComponentAutoConfiguration.java | 50 -
.../KinesisComponentConfiguration.java | 29 -
.../S3ComponentAutoConfiguration.java | 50 -
.../s3/springboot/S3ComponentConfiguration.java | 29 -
.../SdbComponentAutoConfiguration.java | 50 -
.../springboot/SdbComponentConfiguration.java | 29 -
.../SesComponentAutoConfiguration.java | 50 -
.../springboot/SesComponentConfiguration.java | 28 -
.../SnsComponentAutoConfiguration.java | 50 -
.../springboot/SnsComponentConfiguration.java | 29 -
.../SqsComponentAutoConfiguration.java | 50 -
.../springboot/SqsComponentConfiguration.java | 29 -
.../SWFComponentAutoConfiguration.java | 50 -
.../springboot/SWFComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
...BeanValidatorComponentAutoConfiguration.java | 50 -
.../BeanValidatorComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../BeanstalkComponentAutoConfiguration.java | 50 -
.../BeanstalkComponentConfiguration.java | 46 -
.../main/resources/META-INF/spring.factories | 19 -
.../BoxComponentAutoConfiguration.java | 50 -
.../springboot/BoxComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../BraintreeComponentAutoConfiguration.java | 50 -
.../BraintreeComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../CacheComponentAutoConfiguration.java | 50 -
.../springboot/CacheComponentConfiguration.java | 70 --
.../main/resources/META-INF/spring.factories | 19 -
.../CassandraComponentAutoConfiguration.java | 50 -
.../CassandraComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../ChunkComponentAutoConfiguration.java | 50 -
.../springboot/ChunkComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../CMComponentAutoConfiguration.java | 50 -
.../cm/springboot/CMComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../CMISComponentAutoConfiguration.java | 50 -
.../springboot/CMISComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../CoAPComponentAutoConfiguration.java | 50 -
.../springboot/CoAPComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../CometdComponentAutoConfiguration.java | 50 -
.../CometdComponentConfiguration.java | 108 --
.../main/resources/META-INF/spring.factories | 19 -
.../ConsulComponentAutoConfiguration.java | 50 -
.../ConsulComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
...lifiedContextComponentAutoConfiguration.java | 52 -
.../QualifiedContextComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../CouchDbComponentAutoConfiguration.java | 50 -
.../CouchDbComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
...italSignatureComponentAutoConfiguration.java | 52 -
.../DigitalSignatureComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../CxfRsComponentAutoConfiguration.java | 50 -
.../springboot/CxfRsComponentConfiguration.java | 44 -
.../CxfComponentAutoConfiguration.java | 50 -
.../springboot/CxfComponentConfiguration.java | 59 -
.../main/resources/META-INF/spring.factories | 19 -
.../DisruptorComponentAutoConfiguration.java | 50 -
.../DisruptorComponentConfiguration.java | 120 --
.../DisruptorVmComponentAutoConfiguration.java | 50 -
.../DisruptorVmComponentConfiguration.java | 120 --
.../main/resources/META-INF/spring.factories | 19 -
.../DnsComponentAutoConfiguration.java | 50 -
.../springboot/DnsComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../DockerComponentAutoConfiguration.java | 50 -
.../DockerComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../DozerComponentAutoConfiguration.java | 50 -
.../springboot/DozerComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../DropboxComponentAutoConfiguration.java | 50 -
.../DropboxComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../EhcacheComponentAutoConfiguration.java | 50 -
.../EhcacheComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../EjbComponentAutoConfiguration.java | 50 -
.../springboot/EjbComponentConfiguration.java | 56 -
.../main/resources/META-INF/spring.factories | 19 -
...ElasticsearchComponentAutoConfiguration.java | 50 -
.../ElasticsearchComponentConfiguration.java | 44 -
.../main/resources/META-INF/spring.factories | 19 -
.../ElsqlComponentAutoConfiguration.java | 50 -
.../springboot/ElsqlComponentConfiguration.java | 86 --
.../main/resources/META-INF/spring.factories | 19 -
.../EtcdComponentAutoConfiguration.java | 50 -
.../springboot/EtcdComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../EventAdminComponentAutoConfiguration.java | 50 -
.../EventAdminComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../ExecComponentAutoConfiguration.java | 50 -
.../springboot/ExecComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../FacebookComponentAutoConfiguration.java | 50 -
.../FacebookComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../FlatpackComponentAutoConfiguration.java | 50 -
.../FlatpackComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../FlinkComponentAutoConfiguration.java | 50 -
.../springboot/FlinkComponentConfiguration.java | 81 --
.../main/resources/META-INF/spring.factories | 19 -
.../FopComponentAutoConfiguration.java | 50 -
.../springboot/FopComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../FreemarkerComponentAutoConfiguration.java | 50 -
.../FreemarkerComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../FtpComponentAutoConfiguration.java | 50 -
.../springboot/FtpComponentConfiguration.java | 29 -
.../FtpsComponentAutoConfiguration.java | 50 -
.../springboot/FtpsComponentConfiguration.java | 29 -
.../SftpComponentAutoConfiguration.java | 50 -
.../springboot/SftpComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../GangliaComponentAutoConfiguration.java | 50 -
.../GangliaComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../GeoCoderComponentAutoConfiguration.java | 50 -
.../GeoCoderComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../GitComponentAutoConfiguration.java | 50 -
.../springboot/GitComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../GitHubComponentAutoConfiguration.java | 50 -
.../GitHubComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
...oogleCalendarComponentAutoConfiguration.java | 52 -
.../GoogleCalendarComponentConfiguration.java | 56 -
.../main/resources/META-INF/spring.factories | 19 -
.../GoogleDriveComponentAutoConfiguration.java | 50 -
.../GoogleDriveComponentConfiguration.java | 57 -
.../main/resources/META-INF/spring.factories | 19 -
.../GoogleMailComponentAutoConfiguration.java | 50 -
.../GoogleMailComponentConfiguration.java | 56 -
.../main/resources/META-INF/spring.factories | 19 -
.../GoraComponentAutoConfiguration.java | 50 -
.../springboot/GoraComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../grape/springboot/GrapeEndpoint.java | 50 -
.../main/resources/META-INF/spring.factories | 19 -
...GuavaEventBusComponentAutoConfiguration.java | 50 -
.../GuavaEventBusComponentConfiguration.java | 59 -
.../main/resources/META-INF/spring.factories | 19 -
.../HazelcastComponentAutoConfiguration.java | 50 -
.../HazelcastComponentConfiguration.java | 45 -
.../main/resources/META-INF/spring.factories | 19 -
.../HBaseComponentAutoConfiguration.java | 50 -
.../springboot/HBaseComponentConfiguration.java | 55 -
.../main/resources/META-INF/spring.factories | 19 -
.../HdfsComponentAutoConfiguration.java | 50 -
.../springboot/HdfsComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../HdfsComponentAutoConfiguration.java | 50 -
.../springboot/HdfsComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../HipchatComponentAutoConfiguration.java | 50 -
.../HipchatComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../HttpComponentAutoConfiguration.java | 50 -
.../springboot/HttpComponentConfiguration.java | 116 --
.../main/resources/META-INF/spring.factories | 19 -
.../HttpComponentAutoConfiguration.java | 50 -
.../springboot/HttpComponentConfiguration.java | 217 ----
.../main/resources/META-INF/spring.factories | 19 -
.../IBatisComponentAutoConfiguration.java | 50 -
.../IBatisComponentConfiguration.java | 68 --
.../main/resources/META-INF/spring.factories | 19 -
.../InfinispanComponentAutoConfiguration.java | 50 -
.../InfinispanComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../IrcComponentAutoConfiguration.java | 50 -
.../springboot/IrcComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../IronMQComponentAutoConfiguration.java | 50 -
.../IronMQComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../JavaSpaceComponentAutoConfiguration.java | 50 -
.../JavaSpaceComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../JBPMComponentAutoConfiguration.java | 50 -
.../springboot/JBPMComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../JCacheComponentAutoConfiguration.java | 50 -
.../JCacheComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../JcloudsComponentAutoConfiguration.java | 50 -
.../JcloudsComponentConfiguration.java | 57 -
.../main/resources/META-INF/spring.factories | 19 -
.../JcrComponentAutoConfiguration.java | 50 -
.../springboot/JcrComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../JdbcComponentAutoConfiguration.java | 50 -
.../springboot/JdbcComponentConfiguration.java | 44 -
.../main/resources/META-INF/spring.factories | 19 -
.../JettyHttpComponentAutoConfiguration9.java | 50 -
.../JettyHttpComponentConfiguration9.java | 436 -------
.../main/resources/META-INF/spring.factories | 19 -
.../JGroupsComponentAutoConfiguration.java | 50 -
.../JGroupsComponentConfiguration.java | 69 --
.../main/resources/META-INF/spring.factories | 19 -
.../JingComponentAutoConfiguration.java | 50 -
.../springboot/JingComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../JIRAComponentAutoConfiguration.java | 50 -
.../springboot/JIRAComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../JmsComponentAutoConfiguration.java | 50 -
.../springboot/JmsComponentConfiguration.java | 1123 ------------------
.../main/resources/META-INF/spring.factories | 19 -
.../JMXComponentAutoConfiguration.java | 50 -
.../springboot/JMXComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../JoltComponentAutoConfiguration.java | 50 -
.../springboot/JoltComponentConfiguration.java | 44 -
.../main/resources/META-INF/spring.factories | 19 -
.../JpaComponentAutoConfiguration.java | 50 -
.../springboot/JpaComponentConfiguration.java | 89 --
.../main/resources/META-INF/spring.factories | 19 -
.../ScpComponentAutoConfiguration.java | 50 -
.../springboot/ScpComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../Jt400ComponentAutoConfiguration.java | 50 -
.../springboot/Jt400ComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../KafkaComponentAutoConfiguration.java | 50 -
.../springboot/KafkaComponentConfiguration.java | 47 -
.../main/resources/META-INF/spring.factories | 19 -
.../KestrelComponentAutoConfiguration.java | 50 -
.../KestrelComponentConfiguration.java | 44 -
.../main/resources/META-INF/spring.factories | 19 -
.../KratiComponentAutoConfiguration.java | 50 -
.../springboot/KratiComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../KubernetesComponentAutoConfiguration.java | 50 -
.../KubernetesComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../LdapComponentAutoConfiguration.java | 50 -
.../springboot/LdapComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../LinkedInComponentAutoConfiguration.java | 50 -
.../LinkedInComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../LuceneComponentAutoConfiguration.java | 50 -
.../LuceneComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../MailComponentAutoConfiguration.java | 50 -
.../springboot/MailComponentConfiguration.java | 55 -
.../main/resources/META-INF/spring.factories | 19 -
.../MetricsComponentAutoConfiguration.java | 50 -
.../MetricsComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../MinaComponentAutoConfiguration.java | 50 -
.../springboot/MinaComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../Mina2ComponentAutoConfiguration.java | 50 -
.../springboot/Mina2ComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../MllpComponentAutoConfiguration.java | 50 -
.../springboot/MllpComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../GridFsComponentAutoConfiguration.java | 50 -
.../GridFsComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../MongoDbComponentAutoConfiguration.java | 50 -
.../MongoDbComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../MQTTComponentAutoConfiguration.java | 50 -
.../springboot/MQTTComponentConfiguration.java | 67 --
.../main/resources/META-INF/spring.factories | 19 -
.../MsvComponentAutoConfiguration.java | 50 -
.../springboot/MsvComponentConfiguration.java | 57 -
.../main/resources/META-INF/spring.factories | 19 -
.../MustacheComponentAutoConfiguration.java | 50 -
.../MustacheComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../MvelComponentAutoConfiguration.java | 50 -
.../springboot/MvelComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../MyBatisComponentAutoConfiguration.java | 50 -
.../MyBatisComponentConfiguration.java | 56 -
.../main/resources/META-INF/spring.factories | 19 -
.../NagiosComponentAutoConfiguration.java | 50 -
.../NagiosComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../NatsComponentAutoConfiguration.java | 50 -
.../springboot/NatsComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../NettyHttpComponentAutoConfiguration.java | 50 -
.../NettyHttpComponentConfiguration.java | 100 --
.../main/resources/META-INF/spring.factories | 19 -
.../NettyComponentAutoConfiguration.java | 50 -
.../springboot/NettyComponentConfiguration.java | 55 -
.../main/resources/META-INF/spring.factories | 19 -
.../NettyHttpComponentAutoConfiguration.java | 50 -
.../NettyHttpComponentConfiguration.java | 113 --
.../main/resources/META-INF/spring.factories | 19 -
.../NettyComponentAutoConfiguration.java | 50 -
.../springboot/NettyComponentConfiguration.java | 68 --
.../main/resources/META-INF/spring.factories | 19 -
.../Olingo2ComponentAutoConfiguration.java | 50 -
.../Olingo2ComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../OpenShiftComponentAutoConfiguration.java | 50 -
.../OpenShiftComponentConfiguration.java | 79 --
.../main/resources/META-INF/spring.factories | 19 -
.../OptaPlannerComponentAutoConfiguration.java | 50 -
.../OptaPlannerComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../PahoComponentAutoConfiguration.java | 50 -
.../springboot/PahoComponentConfiguration.java | 67 --
.../main/resources/META-INF/spring.factories | 19 -
.../PaxLoggingComponentAutoConfiguration.java | 50 -
.../PaxLoggingComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../PdfComponentAutoConfiguration.java | 50 -
.../springboot/PdfComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../PgEventComponentAutoConfiguration.java | 50 -
.../PgEventComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../PrinterComponentAutoConfiguration.java | 50 -
.../PrinterComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../QuartzComponentAutoConfiguration.java | 50 -
.../QuartzComponentConfiguration.java | 119 --
.../main/resources/META-INF/spring.factories | 19 -
.../QuartzComponentAutoConfiguration.java | 50 -
.../QuartzComponentConfiguration.java | 149 ---
.../main/resources/META-INF/spring.factories | 19 -
.../QuickfixjComponentAutoConfiguration.java | 50 -
.../QuickfixjComponentConfiguration.java | 98 --
.../main/resources/META-INF/spring.factories | 19 -
.../RabbitMQComponentAutoConfiguration.java | 50 -
.../RabbitMQComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../RestletComponentAutoConfiguration.java | 50 -
.../RestletComponentConfiguration.java | 296 -----
.../main/resources/META-INF/spring.factories | 19 -
.../RmiComponentAutoConfiguration.java | 50 -
.../springboot/RmiComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../RouteboxComponentAutoConfiguration.java | 50 -
.../RouteboxComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../RssComponentAutoConfiguration.java | 50 -
.../springboot/RssComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../SalesforceComponentAutoConfiguration.java | 50 -
.../SalesforceComponentConfiguration.java | 231 ----
.../main/resources/META-INF/spring.factories | 19 -
.../NetWeaverComponentAutoConfiguration.java | 50 -
.../NetWeaverComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../XQueryComponentAutoConfiguration.java | 50 -
.../XQueryComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../SchematronComponentAutoConfiguration.java | 50 -
.../SchematronComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../ServiceNowComponentAutoConfiguration.java | 50 -
.../ServiceNowComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../ServletComponentAutoConfiguration.java | 50 -
.../ServletComponentConfiguration.java | 127 --
.../main/resources/META-INF/spring.factories | 19 -
.../SipComponentAutoConfiguration.java | 50 -
.../springboot/SipComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../SjmsBatchComponentAutoConfiguration.java | 50 -
.../SjmsBatchComponentConfiguration.java | 43 -
.../SjmsComponentAutoConfiguration.java | 50 -
.../springboot/SjmsComponentConfiguration.java | 166 ---
.../main/resources/META-INF/spring.factories | 19 -
.../SlackComponentAutoConfiguration.java | 50 -
.../springboot/SlackComponentConfiguration.java | 41 -
.../main/resources/META-INF/spring.factories | 19 -
.../SmppComponentAutoConfiguration.java | 50 -
.../springboot/SmppComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../SnmpComponentAutoConfiguration.java | 50 -
.../springboot/SnmpComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../SolrComponentAutoConfiguration.java | 50 -
.../springboot/SolrComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../SparkComponentAutoConfiguration.java | 50 -
.../springboot/SparkComponentConfiguration.java | 166 ---
.../main/resources/META-INF/spring.factories | 19 -
.../SparkComponentAutoConfiguration.java | 50 -
.../springboot/SparkComponentConfiguration.java | 56 -
.../main/resources/META-INF/spring.factories | 19 -
.../SplunkComponentAutoConfiguration.java | 50 -
.../SplunkComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
.../SpringBatchComponentAutoConfiguration.java | 50 -
.../SpringBatchComponentConfiguration.java | 43 -
.../main/resources/META-INF/spring.factories | 19 -
...ngIntegrationComponentAutoConfiguration.java | 52 -
...SpringIntegrationComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../SpringLdapComponentAutoConfiguration.java | 50 -
.../SpringLdapComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../RedisComponentAutoConfiguration.java | 50 -
.../springboot/RedisComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
...ingWebserviceComponentAutoConfiguration.java | 52 -
.../SpringWebserviceComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../EventComponentAutoConfiguration.java | 50 -
.../springboot/EventComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../SqlComponentAutoConfiguration.java | 50 -
.../springboot/SqlComponentConfiguration.java | 55 -
.../SqlStoredComponentAutoConfiguration.java | 50 -
.../SqlStoredComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../SshComponentAutoConfiguration.java | 50 -
.../springboot/SshComponentConfiguration.java | 175 ---
.../main/resources/META-INF/spring.factories | 19 -
.../StAXComponentAutoConfiguration.java | 50 -
.../springboot/StAXComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../StompComponentAutoConfiguration.java | 50 -
.../springboot/StompComponentConfiguration.java | 91 --
.../main/resources/META-INF/spring.factories | 19 -
.../StreamComponentAutoConfiguration.java | 50 -
.../StreamComponentConfiguration.java | 29 -
.../main/resources/META-INF/spring.factories | 19 -
.../TelegramComponentAutoConfiguration.java | 50 -
.../TelegramComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../TwitterComponentAutoConfiguration.java | 50 -
.../TwitterComponentConfiguration.java | 126 --
.../main/resources/META-INF/spring.factories | 19 -
.../UndertowComponentAutoConfiguration.java | 50 -
.../UndertowComponentConfiguration.java | 58 -
.../main/resources/META-INF/spring.factories | 19 -
.../VelocityComponentAutoConfiguration.java | 50 -
.../VelocityComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
.../VertxComponentAutoConfiguration.java | 50 -
.../springboot/VertxComponentConfiguration.java | 107 --
.../main/resources/META-INF/spring.factories | 19 -
.../WeatherComponentAutoConfiguration.java | 50 -
.../WeatherComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../WebsocketComponentAutoConfiguration.java | 50 -
.../WebsocketComponentConfiguration.java | 192 ---
.../main/resources/META-INF/spring.factories | 19 -
.../XmlRpcComponentAutoConfiguration.java | 50 -
.../XmlRpcComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../XmlSignatureComponentAutoConfiguration.java | 50 -
.../XmlSignatureComponentConfiguration.java | 59 -
.../main/resources/META-INF/spring.factories | 19 -
.../XmppComponentAutoConfiguration.java | 50 -
.../springboot/XmppComponentConfiguration.java | 28 -
.../main/resources/META-INF/spring.factories | 19 -
.../YammerComponentAutoConfiguration.java | 50 -
.../YammerComponentConfiguration.java | 79 --
.../main/resources/META-INF/spring.factories | 19 -
.../ZooKeeperComponentAutoConfiguration.java | 50 -
.../ZooKeeperComponentConfiguration.java | 42 -
.../main/resources/META-INF/spring.factories | 19 -
508 files changed, 23524 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
deleted file mode 100644
index 9482720..0000000
--- a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ahc.ws.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ahc.ws.WsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(WsComponentConfiguration.class)
-public class WsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(WsComponent.class)
- public WsComponent configureComponent(CamelContext camelContext,
- WsComponentConfiguration configuration) throws Exception {
- WsComponent component = new WsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
deleted file mode 100644
index 6c15d1e..0000000
--- a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/springboot/WsComponentConfiguration.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ahc.ws.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.ning.http.client.AsyncHttpClient;
-import org.apache.camel.component.ahc.AhcBinding;
-import com.ning.http.client.AsyncHttpClientConfig;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * To exchange data with external Websocket servers using Async Http Client.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ahc-wss")
-public class WsComponentConfiguration {
-
- /**
- * To use a custom AsyncHttpClient
- */
- private AsyncHttpClient client;
- /**
- * To use a custom AhcBinding which allows to control how to bind between
- * AHC and Camel.
- */
- private AhcBinding binding;
- /**
- * To configure the AsyncHttpClient to use a custom
- * com.ning.http.client.AsyncHttpClientConfig instance.
- */
- private AsyncHttpClientConfig clientConfig;
- /**
- * Reference to a org.apache.camel.util.jsse.SSLContextParameters in the
- * Registry. Note that configuring this option will override any SSL/TLS
- * configuration options provided through the clientConfig option at the
- * endpoint or component level.
- */
- private SSLContextParameters sslContextParameters;
- /**
- * Whether to allow java serialization when a request uses
- * context-type=application/x-java-serialized-object This is by default
- * turned off. If you enable this then be aware that Java will deserialize
- * the incoming data from the request to Java and that can be a potential
- * security risk.
- */
- private boolean allowJavaSerializedObject;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public AsyncHttpClient getClient() {
- return client;
- }
-
- public void setClient(AsyncHttpClient client) {
- this.client = client;
- }
-
- public AhcBinding getBinding() {
- return binding;
- }
-
- public void setBinding(AhcBinding binding) {
- this.binding = binding;
- }
-
- public AsyncHttpClientConfig getClientConfig() {
- return clientConfig;
- }
-
- public void setClientConfig(AsyncHttpClientConfig clientConfig) {
- this.clientConfig = clientConfig;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-
- public boolean isAllowJavaSerializedObject() {
- return allowJavaSerializedObject;
- }
-
- public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
- this.allowJavaSerializedObject = allowJavaSerializedObject;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ahc-ws/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ahc-ws/src/main/resources/META-INF/spring.factories b/components/camel-ahc-ws/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 0af731e..0000000
--- a/components/camel-ahc-ws/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ahc.ws.springboot.WsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
deleted file mode 100644
index 8b3f8da..0000000
--- a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ahc.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ahc.AhcComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(AhcComponentConfiguration.class)
-public class AhcComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(AhcComponent.class)
- public AhcComponent configureComponent(CamelContext camelContext,
- AhcComponentConfiguration configuration) throws Exception {
- AhcComponent component = new AhcComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java b/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
deleted file mode 100644
index a26f658..0000000
--- a/components/camel-ahc/src/main/java/org/apache/camel/component/ahc/springboot/AhcComponentConfiguration.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ahc.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.ning.http.client.AsyncHttpClient;
-import org.apache.camel.component.ahc.AhcBinding;
-import com.ning.http.client.AsyncHttpClientConfig;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * To call external HTTP services using Async Http Client.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ahc")
-public class AhcComponentConfiguration {
-
- /**
- * To use a custom AsyncHttpClient
- */
- private AsyncHttpClient client;
- /**
- * To use a custom AhcBinding which allows to control how to bind between
- * AHC and Camel.
- */
- private AhcBinding binding;
- /**
- * To configure the AsyncHttpClient to use a custom
- * com.ning.http.client.AsyncHttpClientConfig instance.
- */
- private AsyncHttpClientConfig clientConfig;
- /**
- * Reference to a org.apache.camel.util.jsse.SSLContextParameters in the
- * Registry. Note that configuring this option will override any SSL/TLS
- * configuration options provided through the clientConfig option at the
- * endpoint or component level.
- */
- private SSLContextParameters sslContextParameters;
- /**
- * Whether to allow java serialization when a request uses
- * context-type=application/x-java-serialized-object This is by default
- * turned off. If you enable this then be aware that Java will deserialize
- * the incoming data from the request to Java and that can be a potential
- * security risk.
- */
- private boolean allowJavaSerializedObject;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public AsyncHttpClient getClient() {
- return client;
- }
-
- public void setClient(AsyncHttpClient client) {
- this.client = client;
- }
-
- public AhcBinding getBinding() {
- return binding;
- }
-
- public void setBinding(AhcBinding binding) {
- this.binding = binding;
- }
-
- public AsyncHttpClientConfig getClientConfig() {
- return clientConfig;
- }
-
- public void setClientConfig(AsyncHttpClientConfig clientConfig) {
- this.clientConfig = clientConfig;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-
- public boolean isAllowJavaSerializedObject() {
- return allowJavaSerializedObject;
- }
-
- public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
- this.allowJavaSerializedObject = allowJavaSerializedObject;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ahc/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ahc/src/main/resources/META-INF/spring.factories b/components/camel-ahc/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index f82d278..0000000
--- a/components/camel-ahc/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ahc.springboot.AhcComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
deleted file mode 100644
index b27c28e..0000000
--- a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.amqp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.amqp.AMQPComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(AMQPComponentConfiguration.class)
-public class AMQPComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(AMQPComponent.class)
- public AMQPComponent configureComponent(CamelContext camelContext,
- AMQPComponentConfiguration configuration) throws Exception {
- AMQPComponent component = new AMQPComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[22/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
new file mode 100644
index 0000000..c72cf63
--- /dev/null
+++ b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mybatis.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.mybatis.MyBatisComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(MyBatisComponentConfiguration.class)
+public class MyBatisComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(MyBatisComponent.class)
+ public MyBatisComponent configureComponent(CamelContext camelContext,
+ MyBatisComponentConfiguration configuration) throws Exception {
+ MyBatisComponent component = new MyBatisComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
new file mode 100644
index 0000000..81e4f2f
--- /dev/null
+++ b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
@@ -0,0 +1,56 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mybatis.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.ibatis.session.SqlSessionFactory;
+
+/**
+ * Performs a query poll insert update or delete in a relational database using
+ * MyBatis.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.mybatis")
+public class MyBatisComponentConfiguration {
+
+ /**
+ * To use the SqlSessionFactory
+ */
+ private SqlSessionFactory sqlSessionFactory;
+ /**
+ * Location of MyBatis xml configuration file. The default value is:
+ * SqlMapConfig.xml loaded from the classpath
+ */
+ private String configurationUri;
+
+ public SqlSessionFactory getSqlSessionFactory() {
+ return sqlSessionFactory;
+ }
+
+ public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) {
+ this.sqlSessionFactory = sqlSessionFactory;
+ }
+
+ public String getConfigurationUri() {
+ return configurationUri;
+ }
+
+ public void setConfigurationUri(String configurationUri) {
+ this.configurationUri = configurationUri;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mybatis/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/main/resources/META-INF/spring.factories b/components/camel-mybatis/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..6e83825
--- /dev/null
+++ b/components/camel-mybatis/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.mybatis.springboot.MyBatisComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
new file mode 100644
index 0000000..9386855
--- /dev/null
+++ b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.nagios.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.nagios.NagiosComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(NagiosComponentConfiguration.class)
+public class NagiosComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(NagiosComponent.class)
+ public NagiosComponent configureComponent(CamelContext camelContext,
+ NagiosComponentConfiguration configuration) throws Exception {
+ NagiosComponent component = new NagiosComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
new file mode 100644
index 0000000..03a4e64
--- /dev/null
+++ b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.nagios.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.nagios.NagiosConfiguration;
+
+/**
+ * To send passive checks to Nagios using JSendNSCA.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.nagios")
+public class NagiosComponentConfiguration {
+
+ /**
+ * To use a shared NagiosConfiguration
+ */
+ private NagiosConfiguration configuration;
+
+ public NagiosConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(NagiosConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-nagios/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-nagios/src/main/resources/META-INF/spring.factories b/components/camel-nagios/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..d336f1b
--- /dev/null
+++ b/components/camel-nagios/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.nagios.springboot.NagiosComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
new file mode 100644
index 0000000..ec5ef51
--- /dev/null
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.netty.http.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.netty.http.NettyHttpComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(NettyHttpComponentConfiguration.class)
+public class NettyHttpComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(NettyHttpComponent.class)
+ public NettyHttpComponent configureComponent(CamelContext camelContext,
+ NettyHttpComponentConfiguration configuration) throws Exception {
+ NettyHttpComponent component = new NettyHttpComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
new file mode 100644
index 0000000..fcf0113
--- /dev/null
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
@@ -0,0 +1,100 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.netty.http.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.netty.http.NettyHttpBinding;
+import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration;
+import org.apache.camel.component.netty.NettyConfiguration;
+
+/**
+ * Netty HTTP server and client using the Netty 3.x library.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.netty-http")
+public class NettyHttpComponentConfiguration {
+
+ /**
+ * To use a custom org.apache.camel.component.netty.http.NettyHttpBinding
+ * for binding to/from Netty and Camel Message API.
+ */
+ private NettyHttpBinding nettyHttpBinding;
+ /**
+ * To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
+ * headers.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+ /**
+ * Refers to a
+ * org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for
+ * configuring secure web resources.
+ */
+ private NettyHttpSecurityConfiguration securityConfiguration;
+ /**
+ * To use the NettyConfiguration as configuration when creating endpoints.
+ */
+ private NettyConfiguration configuration;
+ /**
+ * The core pool size for the ordered thread pool if its in use. The default
+ * value is 16.
+ */
+ private int maximumPoolSize;
+
+ public NettyHttpBinding getNettyHttpBinding() {
+ return nettyHttpBinding;
+ }
+
+ public void setNettyHttpBinding(NettyHttpBinding nettyHttpBinding) {
+ this.nettyHttpBinding = nettyHttpBinding;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+
+ public NettyHttpSecurityConfiguration getSecurityConfiguration() {
+ return securityConfiguration;
+ }
+
+ public void setSecurityConfiguration(
+ NettyHttpSecurityConfiguration securityConfiguration) {
+ this.securityConfiguration = securityConfiguration;
+ }
+
+ public NettyConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(NettyConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public int getMaximumPoolSize() {
+ return maximumPoolSize;
+ }
+
+ public void setMaximumPoolSize(int maximumPoolSize) {
+ this.maximumPoolSize = maximumPoolSize;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty-http/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/resources/META-INF/spring.factories b/components/camel-netty-http/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..a2295b2
--- /dev/null
+++ b/components/camel-netty-http/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.netty.http.springboot.NettyHttpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
new file mode 100644
index 0000000..6c894d4
--- /dev/null
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.netty.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.netty.NettyComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(NettyComponentConfiguration.class)
+public class NettyComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(NettyComponent.class)
+ public NettyComponent configureComponent(CamelContext camelContext,
+ NettyComponentConfiguration configuration) throws Exception {
+ NettyComponent component = new NettyComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
new file mode 100644
index 0000000..b478eaa
--- /dev/null
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
@@ -0,0 +1,55 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.netty.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.netty.NettyConfiguration;
+
+/**
+ * Socket level networking using TCP or UDP with the Netty 3.x library.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.netty")
+public class NettyComponentConfiguration {
+
+ /**
+ * To use the NettyConfiguration as configuration when creating endpoints.
+ */
+ private NettyConfiguration configuration;
+ /**
+ * The core pool size for the ordered thread pool if its in use. The default
+ * value is 16.
+ */
+ private int maximumPoolSize;
+
+ public NettyConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(NettyConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public int getMaximumPoolSize() {
+ return maximumPoolSize;
+ }
+
+ public void setMaximumPoolSize(int maximumPoolSize) {
+ this.maximumPoolSize = maximumPoolSize;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/resources/META-INF/spring.factories b/components/camel-netty/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..7d37fe1
--- /dev/null
+++ b/components/camel-netty/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.netty.springboot.NettyComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
new file mode 100644
index 0000000..259e8ae
--- /dev/null
+++ b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.netty4.http.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.netty4.http.NettyHttpComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(NettyHttpComponentConfiguration.class)
+public class NettyHttpComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(NettyHttpComponent.class)
+ public NettyHttpComponent configureComponent(CamelContext camelContext,
+ NettyHttpComponentConfiguration configuration) throws Exception {
+ NettyHttpComponent component = new NettyHttpComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
new file mode 100644
index 0000000..2236277
--- /dev/null
+++ b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
@@ -0,0 +1,113 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.netty4.http.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.netty4.http.NettyHttpBinding;
+import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.camel.component.netty4.http.NettyHttpSecurityConfiguration;
+import org.apache.camel.component.netty4.NettyConfiguration;
+import io.netty.util.concurrent.EventExecutorGroup;
+
+/**
+ * Netty HTTP server and client using the Netty 4.x library.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.netty4-http")
+public class NettyHttpComponentConfiguration {
+
+ /**
+ * To use a custom org.apache.camel.component.netty4.http.NettyHttpBinding
+ * for binding to/from Netty and Camel Message API.
+ */
+ private NettyHttpBinding nettyHttpBinding;
+ /**
+ * To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
+ * headers.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+ /**
+ * Refers to a
+ * org.apache.camel.component.netty4.http.NettyHttpSecurityConfiguration for
+ * configuring secure web resources.
+ */
+ private NettyHttpSecurityConfiguration securityConfiguration;
+ /**
+ * The thread pool size for the EventExecutorGroup if its in use. The
+ * default value is 16.
+ */
+ private int maximumPoolSize;
+ /**
+ * To use the NettyConfiguration as configuration when creating endpoints.
+ */
+ private NettyConfiguration configuration;
+ /**
+ * To use the given EventExecutorGroup
+ */
+ private EventExecutorGroup executorService;
+
+ public NettyHttpBinding getNettyHttpBinding() {
+ return nettyHttpBinding;
+ }
+
+ public void setNettyHttpBinding(NettyHttpBinding nettyHttpBinding) {
+ this.nettyHttpBinding = nettyHttpBinding;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+
+ public NettyHttpSecurityConfiguration getSecurityConfiguration() {
+ return securityConfiguration;
+ }
+
+ public void setSecurityConfiguration(
+ NettyHttpSecurityConfiguration securityConfiguration) {
+ this.securityConfiguration = securityConfiguration;
+ }
+
+ public int getMaximumPoolSize() {
+ return maximumPoolSize;
+ }
+
+ public void setMaximumPoolSize(int maximumPoolSize) {
+ this.maximumPoolSize = maximumPoolSize;
+ }
+
+ public NettyConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(NettyConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public EventExecutorGroup getExecutorService() {
+ return executorService;
+ }
+
+ public void setExecutorService(EventExecutorGroup executorService) {
+ this.executorService = executorService;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty4-http/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/resources/META-INF/spring.factories b/components/camel-netty4-http/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..912a3c3
--- /dev/null
+++ b/components/camel-netty4-http/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.netty4.http.springboot.NettyHttpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
new file mode 100644
index 0000000..a504a8d
--- /dev/null
+++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.netty4.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.netty4.NettyComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(NettyComponentConfiguration.class)
+public class NettyComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(NettyComponent.class)
+ public NettyComponent configureComponent(CamelContext camelContext,
+ NettyComponentConfiguration configuration) throws Exception {
+ NettyComponent component = new NettyComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
new file mode 100644
index 0000000..bed39e9
--- /dev/null
+++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
@@ -0,0 +1,68 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.netty4.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.netty4.NettyConfiguration;
+import io.netty.util.concurrent.EventExecutorGroup;
+
+/**
+ * Socket level networking using TCP or UDP with the Netty 4.x library.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.netty4")
+public class NettyComponentConfiguration {
+
+ /**
+ * The thread pool size for the EventExecutorGroup if its in use. The
+ * default value is 16.
+ */
+ private int maximumPoolSize;
+ /**
+ * To use the NettyConfiguration as configuration when creating endpoints.
+ */
+ private NettyConfiguration configuration;
+ /**
+ * To use the given EventExecutorGroup
+ */
+ private EventExecutorGroup executorService;
+
+ public int getMaximumPoolSize() {
+ return maximumPoolSize;
+ }
+
+ public void setMaximumPoolSize(int maximumPoolSize) {
+ this.maximumPoolSize = maximumPoolSize;
+ }
+
+ public NettyConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(NettyConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public EventExecutorGroup getExecutorService() {
+ return executorService;
+ }
+
+ public void setExecutorService(EventExecutorGroup executorService) {
+ this.executorService = executorService;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-netty4/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/resources/META-INF/spring.factories b/components/camel-netty4/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..25df3f1
--- /dev/null
+++ b/components/camel-netty4/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.netty4.springboot.NettyComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
new file mode 100644
index 0000000..f889140
--- /dev/null
+++ b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.olingo2.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.olingo2.Olingo2Component;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(Olingo2ComponentConfiguration.class)
+public class Olingo2ComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(Olingo2Component.class)
+ public Olingo2Component configureComponent(CamelContext camelContext,
+ Olingo2ComponentConfiguration configuration) throws Exception {
+ Olingo2Component component = new Olingo2Component();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
new file mode 100644
index 0000000..f28b1f6
--- /dev/null
+++ b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.olingo2.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.olingo2.Olingo2Configuration;
+
+/**
+ * Communicates with OData 2.0 and 3.0 services using Apache Olingo.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.olingo2")
+public class Olingo2ComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private Olingo2Configuration configuration;
+
+ public Olingo2Configuration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(Olingo2Configuration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-olingo2/camel-olingo2-component/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/resources/META-INF/spring.factories b/components/camel-olingo2/camel-olingo2-component/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..9a1c863
--- /dev/null
+++ b/components/camel-olingo2/camel-olingo2-component/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.olingo2.springboot.Olingo2ComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
new file mode 100644
index 0000000..10a56cf
--- /dev/null
+++ b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.openshift.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.openshift.OpenShiftComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(OpenShiftComponentConfiguration.class)
+public class OpenShiftComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(OpenShiftComponent.class)
+ public OpenShiftComponent configureComponent(CamelContext camelContext,
+ OpenShiftComponentConfiguration configuration) throws Exception {
+ OpenShiftComponent component = new OpenShiftComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentConfiguration.java b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentConfiguration.java
new file mode 100644
index 0000000..e2dc6ed
--- /dev/null
+++ b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentConfiguration.java
@@ -0,0 +1,79 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.openshift.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * To manage your Openshift 2.x applications.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.openshift")
+public class OpenShiftComponentConfiguration {
+
+ /**
+ * The username to login to openshift server.
+ */
+ private String username;
+ /**
+ * The password for login to openshift server.
+ */
+ private String password;
+ /**
+ * Domain name. If not specified then the default domain is used.
+ */
+ private String domain;
+ /**
+ * Url to the openshift server. If not specified then the default value from
+ * the local openshift configuration file /.openshift/express.conf is used.
+ * And if that fails as well then openshift.redhat.com is used.
+ */
+ private String server;
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ public String getDomain() {
+ return domain;
+ }
+
+ public void setDomain(String domain) {
+ this.domain = domain;
+ }
+
+ public String getServer() {
+ return server;
+ }
+
+ public void setServer(String server) {
+ this.server = server;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-openshift/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/main/resources/META-INF/spring.factories b/components/camel-openshift/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..a555e2c
--- /dev/null
+++ b/components/camel-openshift/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.openshift.springboot.OpenShiftComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
new file mode 100644
index 0000000..4385917
--- /dev/null
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.paho.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.paho.PahoComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(PahoComponentConfiguration.class)
+public class PahoComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(PahoComponent.class)
+ public PahoComponent configureComponent(CamelContext camelContext,
+ PahoComponentConfiguration configuration) throws Exception {
+ PahoComponent component = new PahoComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
new file mode 100644
index 0000000..6a44d99
--- /dev/null
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
@@ -0,0 +1,67 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.paho.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.eclipse.paho.client.mqttv3.MqttConnectOptions;
+
+/**
+ * Component for communicating with MQTT M2M message brokers using Eclipse Paho
+ * MQTT Client.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.paho")
+public class PahoComponentConfiguration {
+
+ /**
+ * The URL of the MQTT broker.
+ */
+ private String brokerUrl;
+ /**
+ * MQTT client identifier.
+ */
+ private String clientId;
+ /**
+ * Client connection options
+ */
+ private MqttConnectOptions connectOptions;
+
+ public String getBrokerUrl() {
+ return brokerUrl;
+ }
+
+ public void setBrokerUrl(String brokerUrl) {
+ this.brokerUrl = brokerUrl;
+ }
+
+ public String getClientId() {
+ return clientId;
+ }
+
+ public void setClientId(String clientId) {
+ this.clientId = clientId;
+ }
+
+ public MqttConnectOptions getConnectOptions() {
+ return connectOptions;
+ }
+
+ public void setConnectOptions(MqttConnectOptions connectOptions) {
+ this.connectOptions = connectOptions;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-paho/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/resources/META-INF/spring.factories b/components/camel-paho/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..5901896
--- /dev/null
+++ b/components/camel-paho/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.paho.springboot.PahoComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
new file mode 100644
index 0000000..95a0463
--- /dev/null
+++ b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.paxlogging.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.paxlogging.PaxLoggingComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(PaxLoggingComponentConfiguration.class)
+public class PaxLoggingComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(PaxLoggingComponent.class)
+ public PaxLoggingComponent configureComponent(CamelContext camelContext,
+ PaxLoggingComponentConfiguration configuration) throws Exception {
+ PaxLoggingComponent component = new PaxLoggingComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
new file mode 100644
index 0000000..a614b0c
--- /dev/null
+++ b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.paxlogging.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The paxlogging component can be used in an OSGi environment to receive
+ * PaxLogging events and process them.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.paxlogging")
+public class PaxLoggingComponentConfiguration {
+
+ /**
+ * The OSGi BundleContext is automatic injected by Camel
+ */
+ private BundleContext bundleContext;
+
+ public BundleContext getBundleContext() {
+ return bundleContext;
+ }
+
+ public void setBundleContext(BundleContext bundleContext) {
+ this.bundleContext = bundleContext;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-paxlogging/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-paxlogging/src/main/resources/META-INF/spring.factories b/components/camel-paxlogging/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..68a4e38
--- /dev/null
+++ b/components/camel-paxlogging/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.paxlogging.springboot.PaxLoggingComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
new file mode 100644
index 0000000..848e27f
--- /dev/null
+++ b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.quartz.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.quartz.QuartzComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(QuartzComponentConfiguration.class)
+public class QuartzComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(QuartzComponent.class)
+ public QuartzComponent configureComponent(CamelContext camelContext,
+ QuartzComponentConfiguration configuration) throws Exception {
+ QuartzComponent component = new QuartzComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
new file mode 100644
index 0000000..fdc8694
--- /dev/null
+++ b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
@@ -0,0 +1,119 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.quartz.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.quartz.SchedulerFactory;
+import org.quartz.Scheduler;
+import java.util.Properties;
+
+/**
+ * Provides a scheduled delivery of messages using the Quartz 1.x scheduler.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.quartz")
+public class QuartzComponentConfiguration {
+
+ /**
+ * To use the custom SchedulerFactory which is used to create the Scheduler.
+ */
+ private SchedulerFactory factory;
+ /**
+ * To use the custom configured Quartz scheduler instead of creating a new
+ * Scheduler.
+ */
+ private Scheduler scheduler;
+ /**
+ * Properties to configure the Quartz scheduler.
+ */
+ private Properties properties;
+ /**
+ * File name of the properties to load from the classpath
+ */
+ private String propertiesFile;
+ /**
+ * Seconds to wait before starting the quartz scheduler.
+ */
+ private int startDelayedSeconds;
+ /**
+ * Whether or not the scheduler should be auto started. This options is
+ * default true
+ */
+ private boolean autoStartScheduler;
+ /**
+ * Whether to enable Quartz JMX which allows to manage the Quartz scheduler
+ * from JMX. This options is default true
+ */
+ private boolean enableJmx;
+
+ public SchedulerFactory getFactory() {
+ return factory;
+ }
+
+ public void setFactory(SchedulerFactory factory) {
+ this.factory = factory;
+ }
+
+ public Scheduler getScheduler() {
+ return scheduler;
+ }
+
+ public void setScheduler(Scheduler scheduler) {
+ this.scheduler = scheduler;
+ }
+
+ public Properties getProperties() {
+ return properties;
+ }
+
+ public void setProperties(Properties properties) {
+ this.properties = properties;
+ }
+
+ public String getPropertiesFile() {
+ return propertiesFile;
+ }
+
+ public void setPropertiesFile(String propertiesFile) {
+ this.propertiesFile = propertiesFile;
+ }
+
+ public int getStartDelayedSeconds() {
+ return startDelayedSeconds;
+ }
+
+ public void setStartDelayedSeconds(int startDelayedSeconds) {
+ this.startDelayedSeconds = startDelayedSeconds;
+ }
+
+ public boolean isAutoStartScheduler() {
+ return autoStartScheduler;
+ }
+
+ public void setAutoStartScheduler(boolean autoStartScheduler) {
+ this.autoStartScheduler = autoStartScheduler;
+ }
+
+ public boolean isEnableJmx() {
+ return enableJmx;
+ }
+
+ public void setEnableJmx(boolean enableJmx) {
+ this.enableJmx = enableJmx;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quartz/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/resources/META-INF/spring.factories b/components/camel-quartz/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..d33d8b8
--- /dev/null
+++ b/components/camel-quartz/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.quartz.springboot.QuartzComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
new file mode 100644
index 0000000..6b8d9be
--- /dev/null
+++ b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.quartz2.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.quartz2.QuartzComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(QuartzComponentConfiguration.class)
+public class QuartzComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(QuartzComponent.class)
+ public QuartzComponent configureComponent(CamelContext camelContext,
+ QuartzComponentConfiguration configuration) throws Exception {
+ QuartzComponent component = new QuartzComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
[31/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
index b4ff89e..ac09bd5 100644
--- a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
+++ b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.mustache.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.mustache.MustacheComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.mustache.MustacheComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
index 3b6b02a..2f789e3 100644
--- a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
+++ b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.mustache.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.github.mustachejava.MustacheFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Transforms the message using a Mustache template.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
index c72cf63..963773f 100644
--- a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
+++ b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.mybatis.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.mybatis.MyBatisComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.mybatis.MyBatisComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
index 81e4f2f..2c3fee8 100644
--- a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
+++ b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.mybatis.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.ibatis.session.SqlSessionFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Performs a query poll insert update or delete in a relational database using
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
index 9386855..278f305 100644
--- a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
+++ b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.nagios.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.nagios.NagiosComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.nagios.NagiosComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
index 03a4e64..afc8604 100644
--- a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
+++ b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.nagios.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.nagios.NagiosConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To send passive checks to Nagios using JSendNSCA.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
index ec5ef51..50dffd2 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.netty.http.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.netty.http.NettyHttpComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.netty.http.NettyHttpComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
index fcf0113..90e022a 100644
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
+++ b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
@@ -16,11 +16,11 @@
*/
package org.apache.camel.component.netty.http.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.netty.NettyConfiguration;
import org.apache.camel.component.netty.http.NettyHttpBinding;
-import org.apache.camel.spi.HeaderFilterStrategy;
import org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration;
-import org.apache.camel.component.netty.NettyConfiguration;
+import org.apache.camel.spi.HeaderFilterStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Netty HTTP server and client using the Netty 3.x library.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
index 6c894d4..04c4633 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.netty.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.netty.NettyComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.netty.NettyComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
index b478eaa..f958387 100644
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
+++ b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.netty.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.netty.NettyConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Socket level networking using TCP or UDP with the Netty 3.x library.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
index 259e8ae..e954a36 100644
--- a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
+++ b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.netty4.http.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.netty4.http.NettyHttpComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.netty4.http.NettyHttpComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
index 2236277..31c80d0 100644
--- a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
+++ b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
@@ -16,12 +16,12 @@
*/
package org.apache.camel.component.netty4.http.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
+import io.netty.util.concurrent.EventExecutorGroup;
+import org.apache.camel.component.netty4.NettyConfiguration;
import org.apache.camel.component.netty4.http.NettyHttpBinding;
-import org.apache.camel.spi.HeaderFilterStrategy;
import org.apache.camel.component.netty4.http.NettyHttpSecurityConfiguration;
-import org.apache.camel.component.netty4.NettyConfiguration;
-import io.netty.util.concurrent.EventExecutorGroup;
+import org.apache.camel.spi.HeaderFilterStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Netty HTTP server and client using the Netty 4.x library.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
index a504a8d..eda99a2 100644
--- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
+++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.netty4.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.netty4.NettyComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.netty4.NettyComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
index bed39e9..e29ea13 100644
--- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
+++ b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.netty4.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.netty4.NettyConfiguration;
import io.netty.util.concurrent.EventExecutorGroup;
+import org.apache.camel.component.netty4.NettyConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Socket level networking using TCP or UDP with the Netty 4.x library.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
index f889140..1685ac5 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.olingo2.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.olingo2.Olingo2Component;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.olingo2.Olingo2Component;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
index f28b1f6..037baa4 100644
--- a/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
+++ b/components/camel-olingo2/camel-olingo2-component/src/main/java/org/apache/camel/component/olingo2/springboot/Olingo2ComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.olingo2.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.olingo2.Olingo2Configuration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Communicates with OData 2.0 and 3.0 services using Apache Olingo.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
index 10a56cf..8152776 100644
--- a/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
+++ b/components/camel-openshift/src/main/java/org/apache/camel/component/openshift/springboot/OpenShiftComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.openshift.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.openshift.OpenShiftComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.openshift.OpenShiftComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
index 4385917..165b843 100644
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.paho.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.paho.PahoComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.paho.PahoComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
index 6a44d99..26d2cbb 100644
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/springboot/PahoComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.paho.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.eclipse.paho.client.mqttv3.MqttConnectOptions;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Component for communicating with MQTT M2M message brokers using Eclipse Paho
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
index 95a0463..4a82268 100644
--- a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
+++ b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.paxlogging.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.paxlogging.PaxLoggingComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.paxlogging.PaxLoggingComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
index a614b0c..d26ef84 100644
--- a/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
+++ b/components/camel-paxlogging/src/main/java/org/apache/camel/component/paxlogging/springboot/PaxLoggingComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.paxlogging.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.osgi.framework.BundleContext;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The paxlogging component can be used in an OSGi environment to receive
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
index 848e27f..fad69ec 100644
--- a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
+++ b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.quartz.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.quartz.QuartzComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.quartz.QuartzComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
index fdc8694..ad2828d 100644
--- a/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
+++ b/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/springboot/QuartzComponentConfiguration.java
@@ -16,10 +16,10 @@
*/
package org.apache.camel.component.quartz.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.quartz.SchedulerFactory;
-import org.quartz.Scheduler;
import java.util.Properties;
+import org.quartz.Scheduler;
+import org.quartz.SchedulerFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Provides a scheduled delivery of messages using the Quartz 1.x scheduler.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
index 6b8d9be..86a458e 100644
--- a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
+++ b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.quartz2.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.quartz2.QuartzComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.quartz2.QuartzComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
index 1a10e7d..bf1836b 100644
--- a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
+++ b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
@@ -16,10 +16,10 @@
*/
package org.apache.camel.component.quartz2.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.Properties;
-import org.quartz.SchedulerFactory;
import org.quartz.Scheduler;
+import org.quartz.SchedulerFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Provides a scheduled delivery of messages using the Quartz 2.x scheduler.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
index f6db84e..8fc62e5 100644
--- a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
+++ b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.quickfixj.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.quickfixj.QuickfixjComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.quickfixj.QuickfixjComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
index b5c7ac6..e05070f 100644
--- a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
+++ b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
@@ -16,12 +16,12 @@
*/
package org.apache.camel.component.quickfixj.springboot;
+import java.util.Map;
+import org.apache.camel.component.quickfixj.QuickfixjConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
-import quickfix.MessageFactory;
import quickfix.LogFactory;
+import quickfix.MessageFactory;
import quickfix.MessageStoreFactory;
-import java.util.Map;
-import org.apache.camel.component.quickfixj.QuickfixjConfiguration;
/**
* The quickfix component allows to send Financial Interchange (FIX) messages to
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
index 5f67f3c..e80993d 100644
--- a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
+++ b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.restlet.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.restlet.RestletComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.restlet.RestletComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
index 7628dc5..7c581db 100644
--- a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
+++ b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.restlet.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.List;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Component for consuming and producing Restful resources using Restlet.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
index b225f6e..7bd6cbd 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.salesforce.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.salesforce.SalesforceComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.salesforce.SalesforceComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
index a0dc59e..37c73ea 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
@@ -16,12 +16,12 @@
*/
package org.apache.camel.component.salesforce.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.salesforce.SalesforceLoginConfig;
-import org.apache.camel.component.salesforce.SalesforceEndpointConfig;
import java.util.Map;
-import org.apache.camel.util.jsse.SSLContextParameters;
import java.util.Set;
+import org.apache.camel.component.salesforce.SalesforceEndpointConfig;
+import org.apache.camel.component.salesforce.SalesforceLoginConfig;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The salesforce component is used for integrating Camel with the massive
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
index e7a36ea..a8e7c3c 100644
--- a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
+++ b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.xquery.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.xquery.XQueryComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.xquery.XQueryComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
index 64a4a68..8731955 100644
--- a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
+++ b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.xquery.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import net.sf.saxon.lib.ModuleURIResolver;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Transforms the message using a XQuery template using Saxon.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
index 6b00043..f9d8b98 100644
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
+++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.servlet.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.servlet.ServletComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.servlet.ServletComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
index acb56fb..56c156c 100644
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
+++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
@@ -16,11 +16,11 @@
*/
package org.apache.camel.component.servlet.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.servlet.HttpRegistry;
import org.apache.camel.http.common.HttpBinding;
import org.apache.camel.http.common.HttpConfiguration;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To use a HTTP Servlet as entry for Camel routes when running in a servlet
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
index b90c08d..ff2c90d 100644
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.sjms.batch.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.sjms.batch.SjmsBatchComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.sjms.batch.SjmsBatchComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
index 2fc9821..b611055 100644
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.sjms.batch.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.jms.ConnectionFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The sjms-batch component is a specialized for highly performant transactional
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
index ac6d50a..de771b7 100644
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.sjms.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.sjms.SjmsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.sjms.SjmsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
index af45c48..b45174d 100644
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
@@ -16,15 +16,15 @@
*/
package org.apache.camel.component.sjms.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.jms.ConnectionFactory;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.sjms.jms.ConnectionResource;
-import org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy;
import org.apache.camel.component.sjms.TransactionCommitStrategy;
+import org.apache.camel.component.sjms.jms.ConnectionResource;
import org.apache.camel.component.sjms.jms.DestinationCreationStrategy;
-import org.apache.camel.component.sjms.taskmanager.TimedTaskManager;
+import org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy;
import org.apache.camel.component.sjms.jms.MessageCreatedStrategy;
+import org.apache.camel.component.sjms.taskmanager.TimedTaskManager;
+import org.apache.camel.spi.HeaderFilterStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The sjms component (simple jms) allows messages to be sent to (or consumed
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
index 5a95d5a..831c22d 100644
--- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
+++ b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.slack.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.slack.SlackComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.slack.SlackComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
index 79890c3..4a9783c 100644
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.smpp.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.smpp.SmppComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.smpp.SmppComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
index 5042b30..e6e5277 100644
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.smpp.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.smpp.SmppConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To send and receive SMS using a SMSC (Short Message Service Center).
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
index a97c7ff..95e12d6 100644
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
+++ b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.sparkrest.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.sparkrest.SparkComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.sparkrest.SparkComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
index b7ce2ca..1791ce1 100644
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
+++ b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.sparkrest.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.sparkrest.SparkConfiguration;
import org.apache.camel.component.sparkrest.SparkBinding;
+import org.apache.camel.component.sparkrest.SparkConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The spark-rest component is used for hosting REST services which has been
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
index 6caa96d..bf65556 100644
--- a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
+++ b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.spark.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.spark.SparkComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.spark.SparkComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
index 388ae57..eedf908 100644
--- a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
+++ b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.spark.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.spark.api.java.JavaRDDLike;
import org.apache.camel.component.spark.RddCallback;
+import org.apache.spark.api.java.JavaRDDLike;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The spark component can be used to send RDD or DataFrame jobs to Apache Spark
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
index d3c1935..ac2f43b 100644
--- a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
+++ b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.splunk.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.splunk.SplunkComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.splunk.SplunkComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
index dc660f9..2100393 100644
--- a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
+++ b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.splunk.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.splunk.SplunkConfigurationFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The splunk component allows to publish or search for events in Splunk.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
index 9ade577..bd8d10d 100644
--- a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
+++ b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.spring.batch.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.spring.batch.SpringBatchComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.spring.batch.SpringBatchComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
index 25e8916..a1d5b8e 100644
--- a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
+++ b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.spring.batch.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.batch.core.launch.JobLauncher;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The spring-batch component allows to send messages to Spring Batch for
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
index a017d5a..605a467 100644
--- a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
+++ b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.event.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.event.EventComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.event.EventComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
index 09ef1dd..72e4166 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.sql.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.sql.SqlComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.sql.SqlComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
index f127ffe..f8d5ea6 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.sql.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.sql.DataSource;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The sql component can be used to perform SQL query to a database.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
index 3bd59f3..e3fd0eb 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.sql.stored.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.sql.stored.SqlStoredComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.sql.stored.SqlStoredComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
index 470569f..22dc8f7 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.sql.stored.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.sql.DataSource;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Camel SQL support
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
index 3f16c47..2db11d3 100644
--- a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
+++ b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.ssh.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.ssh.SshComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.ssh.SshComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
index 4afa893..36fca04 100644
--- a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
+++ b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.ssh.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.ssh.SshConfiguration;
import org.apache.sshd.common.KeyPairProvider;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The ssh component enables access to SSH servers such that you can send an SSH
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
index 5f242d7..10f73e2 100644
--- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
+++ b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.stomp.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.stomp.StompComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.stomp.StompComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
[16/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java b/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
deleted file mode 100644
index e48aa49..0000000
--- a/components/camel-amqp/src/main/java/org/apache/camel/component/amqp/springboot/AMQPComponentConfiguration.java
+++ /dev/null
@@ -1,1122 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.amqp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.jms.JmsConfiguration;
-import javax.jms.ConnectionFactory;
-import javax.jms.ExceptionListener;
-import org.springframework.util.ErrorHandler;
-import org.apache.camel.LoggingLevel;
-import org.springframework.jms.support.converter.MessageConverter;
-import org.springframework.core.task.TaskExecutor;
-import org.springframework.transaction.PlatformTransactionManager;
-import org.springframework.jms.core.JmsOperations;
-import org.springframework.jms.support.destination.DestinationResolver;
-import org.apache.camel.component.jms.ReplyToType;
-import org.apache.camel.component.jms.DefaultTaskExecutorType;
-import org.apache.camel.component.jms.JmsKeyFormatStrategy;
-import org.springframework.context.ApplicationContext;
-import org.apache.camel.component.jms.QueueBrowseStrategy;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.jms.MessageCreatedStrategy;
-
-/**
- * Messaging with AMQP protocol using Apache QPid Client.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.amqp")
-public class AMQPComponentConfiguration {
-
- /**
- * To use a shared JMS configuration
- */
- private JmsConfiguration configuration;
- /**
- * 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 enqued 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 the JMS broker. To avoid this its recommended to enable this
- * option.
- */
- private boolean acceptMessagesWhileStopping;
- /**
- * Whether the DefaultMessageListenerContainer used in the reply managers
- * for request-reply messaging allow the
- * DefaultMessageListenerContainer.runningAllowed flag to quick stop in case
- * JmsConfigurationisAcceptMessagesWhileStopping 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.
- */
- private boolean allowReplyManagerQuickStop;
- /**
- * 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.
- */
- private int acknowledgementMode;
- /**
- * Enables eager loading of JMS properties as soon as a message is loaded
- * which generally is inefficient as the JMS properties may not be required
- * but sometimes can catch early any issues with the underlying JMS provider
- * and the use of JMS properties
- */
- private boolean eagerLoadingOfProperties;
- /**
- * The JMS acknowledgement name which is one of: SESSION_TRANSACTED
- * CLIENT_ACKNOWLEDGE AUTO_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE
- */
- private String acknowledgementModeName;
- /**
- * Specifies whether the consumer container should auto-startup.
- */
- private boolean autoStartup;
- /**
- * Sets the cache level by ID for the underlying JMS resources. See
- * cacheLevelName option for more details.
- */
- private int cacheLevel;
- /**
- * Sets the cache level by name for the underlying JMS resources. Possible
- * values are: CACHE_AUTO CACHE_CONNECTION CACHE_CONSUMER CACHE_NONE and
- * CACHE_SESSION. The default setting is CACHE_AUTO. See the Spring
- * documentation and Transactions Cache Levels for more information.
- */
- private String cacheLevelName;
- /**
- * Sets the cache level by name for the reply consumer when doing
- * request/reply over JMS. This option only applies when using fixed reply
- * queues (not temporary). Camel will by default use: CACHE_CONSUMER for
- * exclusive or shared w/ replyToSelectorName. And CACHE_SESSION for shared
- * without replyToSelectorName. Some JMS brokers such as IBM WebSphere may
- * require to set the replyToCacheLevelName=CACHE_NONE to work. Note: If
- * using temporary queues then CACHE_NONE is not allowed and you must use a
- * higher value such as CACHE_CONSUMER or CACHE_SESSION.
- */
- private String replyToCacheLevelName;
- /**
- * Sets the JMS client ID to use. Note that this value if specified must be
- * unique and can only be used by a single JMS connection instance. It is
- * typically only required for durable topic subscriptions. If using Apache
- * ActiveMQ you may prefer to use Virtual Topics instead.
- */
- private String clientId;
- /**
- * Specifies the default number of concurrent consumers when consuming from
- * JMS (not for request/reply over JMS). See also the maxMessagesPerTask
- * option to control dynamic scaling up/down of threads. When doing
- * request/reply over JMS then the option replyToConcurrentConsumers is used
- * to control number of concurrent consumers on the reply message listener.
- */
- private int concurrentConsumers;
- /**
- * Specifies the default number of concurrent consumers when doing
- * request/reply over JMS. See also the maxMessagesPerTask option to control
- * dynamic scaling up/down of threads.
- */
- private int replyToConcurrentConsumers;
- /**
- * Sets the default connection factory to be use
- */
- private ConnectionFactory connectionFactory;
- /**
- * Specifies whether persistent delivery is used by default.
- */
- private boolean deliveryPersistent;
- /**
- * Specifies the delivery mode to be used. Possible values are Possibles
- * values are those defined by javax.jms.DeliveryMode. NON_PERSISTENT = 1
- * and PERSISTENT = 2.
- */
- private Integer deliveryMode;
- /**
- * The durable subscriber name for specifying durable topic subscriptions.
- * The clientId option must be configured as well.
- */
- private String durableSubscriptionName;
- /**
- * Specifies the JMS Exception Listener that is to be notified of any
- * underlying JMS exceptions.
- */
- private ExceptionListener exceptionListener;
- /**
- * Specifies a org.springframework.util.ErrorHandler to be invoked in case
- * of any uncaught exceptions thrown while processing a Message. By default
- * these exceptions will be logged at the WARN level if no errorHandler has
- * been configured. You can configure logging level and whether stack traces
- * should be logged using errorHandlerLoggingLevel and
- * errorHandlerLogStackTrace options. This makes it much easier to configure
- * than having to code a custom errorHandler.
- */
- private ErrorHandler errorHandler;
- /**
- * Allows to configure the default errorHandler logging level for logging
- * uncaught exceptions.
- */
- private LoggingLevel errorHandlerLoggingLevel;
- /**
- * Allows to control whether stacktraces should be logged or not by the
- * default errorHandler.
- */
- private boolean errorHandlerLogStackTrace;
- /**
- * Set if the deliveryMode priority or timeToLive qualities of service
- * should be used when sending messages. This option is based on Spring's
- * JmsTemplate. The deliveryMode priority and timeToLive options are applied
- * to the current endpoint. This contrasts with the preserveMessageQos
- * option which operates at message granularity reading QoS properties
- * exclusively from the Camel In message headers.
- */
- private boolean explicitQosEnabled;
- /**
- * Specifies whether the listener session should be exposed when consuming
- * messages.
- */
- private boolean exposeListenerSession;
- /**
- * Specifies the limit for idle executions of a receive task not having
- * received any message within its execution. If this limit is reached the
- * task will shut down and leave receiving to other executing tasks (in the
- * case of dynamic scheduling; see the maxConcurrentConsumers setting).
- * There is additional doc available from Spring.
- */
- private int idleTaskExecutionLimit;
- /**
- * Specify the limit for the number of consumers that are allowed to be idle
- * at any given time.
- */
- private int idleConsumerLimit;
- /**
- * Specifies the maximum number of concurrent consumers when consuming from
- * JMS (not for request/reply over JMS). See also the maxMessagesPerTask
- * option to control dynamic scaling up/down of threads. When doing
- * request/reply over JMS then the option replyToMaxConcurrentConsumers is
- * used to control number of concurrent consumers on the reply message
- * listener.
- */
- private int maxConcurrentConsumers;
- /**
- * Specifies the maximum number of concurrent consumers when using
- * request/reply over JMS. See also the maxMessagesPerTask option to control
- * dynamic scaling up/down of threads.
- */
- private int replyToMaxConcurrentConsumers;
- /**
- * Specifies the maximum number of concurrent consumers for continue routing
- * when timeout occurred when using request/reply over JMS.
- */
- private int replyOnTimeoutToMaxConcurrentConsumers;
- /**
- * The number of messages per task. -1 is unlimited. If you use a range for
- * concurrent consumers (eg min max) then this option can be used to set a
- * value to eg 100 to control how fast the consumers will shrink when less
- * work is required.
- */
- private int maxMessagesPerTask;
- /**
- * To use a custom Spring
- * org.springframework.jms.support.converter.MessageConverter so you can be
- * in control how to map to/from a javax.jms.Message.
- */
- private MessageConverter messageConverter;
- /**
- * Specifies whether Camel should auto map the received JMS message to a
- * suited payload type such as javax.jms.TextMessage to a String etc. See
- * section about how mapping works below for more details.
- */
- private boolean mapJmsMessage;
- /**
- * When sending specifies whether message IDs should be added.
- */
- private boolean messageIdEnabled;
- /**
- * Specifies whether timestamps should be enabled by default on sending
- * messages.
- */
- private boolean messageTimestampEnabled;
- /**
- * 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)
- */
- private boolean alwaysCopyMessage;
- /**
- * Specifies whether JMSMessageID should always be used as JMSCorrelationID
- * for InOut messages.
- */
- private boolean useMessageIDAsCorrelationID;
- /**
- * Values greater than 1 specify the message priority when sending (where 0
- * is the lowest priority and 9 is the highest). The explicitQosEnabled
- * option must also be enabled in order for this option to have any effect.
- */
- private int priority;
- /**
- * Specifies whether to inhibit the delivery of messages published by its
- * own connection.
- */
- private boolean pubSubNoLocal;
- /**
- * The timeout for receiving messages (in milliseconds).
- */
- private long receiveTimeout;
- /**
- * Specifies the interval between recovery attempts i.e. when a connection
- * is being refreshed in milliseconds. The default is 5000 ms that is 5
- * seconds.
- */
- private long recoveryInterval;
- /**
- * Deprecated: Enabled by default if you specify a durableSubscriptionName
- * and a clientId.
- */
- @Deprecated
- private boolean subscriptionDurable;
- /**
- * Allows you to specify a custom task executor for consuming messages.
- */
- private TaskExecutor taskExecutor;
- /**
- * When sending messages specifies the time-to-live of the message (in
- * milliseconds).
- */
- private long timeToLive;
- /**
- * Specifies whether to use transacted mode
- */
- private boolean transacted;
- /**
- * If true Camel will create a JmsTransactionManager if there is no
- * transactionManager injected when option transacted=true.
- */
- private boolean lazyCreateTransactionManager;
- /**
- * The Spring transaction manager to use.
- */
- private PlatformTransactionManager transactionManager;
- /**
- * The name of the transaction to use.
- */
- private String transactionName;
- /**
- * The timeout value of the transaction (in seconds) if using transacted
- * mode.
- */
- private int transactionTimeout;
- /**
- * Specifies whether to test the connection on startup. This ensures that
- * when Camel starts that all the JMS consumers have a valid connection to
- * the JMS broker. If a connection cannot be granted then Camel throws an
- * exception on startup. This ensures that Camel is not started with failed
- * connections. The JMS producers is tested as well.
- */
- private boolean testConnectionOnStartup;
- /**
- * Whether to startup the JmsConsumer message listener asynchronously when
- * starting a route. For example if a JmsConsumer cannot get a connection to
- * a remote JMS broker then it may block while retrying and/or failover.
- * This will cause Camel to block while starting routes. By setting this
- * option to true you will let routes startup while the JmsConsumer connects
- * to the JMS broker using a dedicated thread in asynchronous mode. If this
- * option is used then beware that if the connection could not be
- * established then an exception is logged at WARN level and the consumer
- * will not be able to receive messages; You can then restart the route to
- * retry.
- */
- private boolean asyncStartListener;
- /**
- * Whether to stop the JmsConsumer message listener asynchronously when
- * stopping a route.
- */
- private boolean asyncStopListener;
- /**
- * When using mapJmsMessage=false Camel will create a new JMS message to
- * send to a new JMS destination if you touch the headers (get or set)
- * during the route. Set this option to true to force Camel to send the
- * original JMS message that was received.
- */
- private boolean forceSendOriginalMessage;
- /**
- * The timeout for waiting for a reply when using the InOut Exchange Pattern
- * (in milliseconds). The default is 20 seconds. You can include the header
- * CamelJmsRequestTimeout to override this endpoint configured timeout value
- * and thus have per message individual timeout values. See also the
- * requestTimeoutCheckerInterval option.
- */
- private long requestTimeout;
- /**
- * Configures how often Camel should check for timed out Exchanges when
- * doing request/reply over JMS. By default Camel checks once per second.
- * But if you must react faster when a timeout occurs then you can lower
- * this interval to check more frequently. The timeout is determined by the
- * option requestTimeout.
- */
- private long requestTimeoutCheckerInterval;
- /**
- * You can transfer the exchange over the wire instead of just the body and
- * headers. The following fields are transferred: In body Out body Fault
- * body In headers Out headers Fault headers exchange properties exchange
- * exception. This requires that the objects are serializable. Camel will
- * exclude any non-serializable objects and log it at WARN level. You must
- * enable this option on both the producer and consumer side so Camel knows
- * the payloads is an Exchange and not a regular payload.
- */
- private boolean transferExchange;
- /**
- * If enabled and you are using Request Reply messaging (InOut) and an
- * Exchange failed on the consumer side then the caused Exception will be
- * send back in response as a javax.jms.ObjectMessage. If the client is
- * Camel the returned Exception is rethrown. This allows you to use Camel
- * JMS as a bridge in your routing - for example using persistent queues to
- * enable robust routing. Notice that if you also have transferExchange
- * enabled this option takes precedence. The caught exception is required to
- * be serializable. The original Exception on the consumer side can be
- * wrapped in an outer exception such as
- * org.apache.camel.RuntimeCamelException when returned to the producer.
- */
- private boolean transferException;
- /**
- * If enabled and you are using Request Reply messaging (InOut) and an
- * Exchange failed with a SOAP fault (not exception) on the consumer side
- * then the fault flag on link org.apache.camel.MessageisFault() will be
- * send back in the response as a JMS header with the key link
- * JmsConstantsJMS_TRANSFER_FAULT. If the client is Camel the returned fault
- * flag will be set on the link org.apache.camel.MessagesetFault(boolean).
- * You may want to enable this when using Camel components that support
- * faults such as SOAP based such as cxf or spring-ws.
- */
- private boolean transferFault;
- /**
- * Allows you to use your own implementation of the
- * org.springframework.jms.core.JmsOperations interface. Camel uses
- * JmsTemplate as default. Can be used for testing purpose but not used much
- * as stated in the spring API docs.
- */
- private JmsOperations jmsOperations;
- /**
- * A pluggable
- * org.springframework.jms.support.destination.DestinationResolver that
- * allows you to use your own resolver (for example to lookup the real
- * destination in a JNDI registry).
- */
- private DestinationResolver destinationResolver;
- /**
- * Allows for explicitly specifying which kind of strategy to use for
- * replyTo queues when doing request/reply over JMS. Possible values are:
- * Temporary Shared or Exclusive. By default Camel will use temporary
- * queues. However if replyTo has been configured then Shared is used by
- * default. This option allows you to use exclusive queues instead of shared
- * ones. See Camel JMS documentation for more details and especially the
- * notes about the implications if running in a clustered environment and
- * the fact that Shared reply queues has lower performance than its
- * alternatives Temporary and Exclusive.
- */
- private ReplyToType replyToType;
- /**
- * Set to true if you want to send message using the QoS settings specified
- * on the message instead of the QoS settings on the JMS endpoint. The
- * following three headers are considered JMSPriority JMSDeliveryMode and
- * JMSExpiration. You can provide all or only some of them. If not provided
- * Camel will fall back to use the values from the endpoint instead. So when
- * using this option the headers override the values from the endpoint. The
- * explicitQosEnabled option by contrast will only use options set on the
- * endpoint and not values from the message header.
- */
- private boolean preserveMessageQos;
- /**
- * Whether the JmsConsumer processes the Exchange asynchronously. If enabled
- * then the JmsConsumer may pickup the next message from the JMS queue while
- * the previous message is being processed asynchronously (by the
- * Asynchronous Routing Engine). This means that messages may be processed
- * not 100 strictly in order. If disabled (as default) then the Exchange is
- * fully processed before the JmsConsumer will pickup the next message from
- * the JMS queue. Note if transacted has been enabled then
- * asyncConsumer=true does not run asynchronously as transaction must be
- * executed synchronously (Camel 3.0 may support async transactions).
- */
- private boolean asyncConsumer;
- /**
- * Whether to allow sending messages with no body. If this option is false
- * and the message body is null then an JMSException is thrown.
- */
- private boolean allowNullBody;
- /**
- * Only applicable when sending to JMS destination using InOnly (eg fire and
- * forget). Enabling this option will enrich the Camel Exchange with the
- * actual JMSMessageID that was used by the JMS client when the message was
- * sent to the JMS destination.
- */
- private boolean includeSentJMSMessageID;
- /**
- * Whether to include all JMSXxxx properties when mapping from JMS to Camel
- * Message. Setting this to true will include properties such as JMSXAppID
- * and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy
- * then this option does not apply.
- */
- private boolean includeAllJMSXProperties;
- /**
- * Specifies what default TaskExecutor type to use in the
- * DefaultMessageListenerContainer for both consumer endpoints and the
- * ReplyTo consumer of producer endpoints. Possible values: SimpleAsync
- * (uses Spring's SimpleAsyncTaskExecutor) or ThreadPool (uses Spring's
- * ThreadPoolTaskExecutor with optimal values - cached threadpool-like). If
- * not set it defaults to the previous behaviour which uses a cached thread
- * pool for consumer endpoints and SimpleAsync for reply consumers. The use
- * of ThreadPool is recommended to reduce thread trash in elastic
- * configurations with dynamically increasing and decreasing concurrent
- * consumers.
- */
- private DefaultTaskExecutorType defaultTaskExecutorType;
- /**
- * Pluggable strategy for encoding and decoding JMS keys so they can be
- * compliant with the JMS specification. Camel provides two implementations
- * out of the box: default and passthrough. The default strategy will safely
- * marshal dots and hyphens (. and -). The passthrough strategy leaves the
- * key as is. Can be used for JMS brokers which do not care whether JMS
- * header keys contain illegal characters. You can provide your own
- * implementation of the org.apache.camel.component.jms.JmsKeyFormatStrategy
- * and refer to it using the notation.
- */
- private JmsKeyFormatStrategy jmsKeyFormatStrategy;
- /**
- * Sets the Spring ApplicationContext to use
- */
- private ApplicationContext applicationContext;
- /**
- * To use a custom QueueBrowseStrategy when browsing queues
- */
- private QueueBrowseStrategy queueBrowseStrategy;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
- /**
- * To use the given MessageCreatedStrategy which are invoked when Camel
- * creates new instances of javax.jms.Message objects when Camel is sending
- * a JMS message.
- */
- private MessageCreatedStrategy messageCreatedStrategy;
- /**
- * Number of times to wait for provisional correlation id to be updated to
- * the actual correlation id when doing request/reply over JMS and when the
- * option useMessageIDAsCorrelationID is enabled.
- */
- private int waitForProvisionCorrelationToBeUpdatedCounter;
- /**
- * Interval in millis to sleep each time while waiting for provisional
- * correlation id to be updated.
- */
- private long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
-
- public JmsConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(JmsConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public boolean isAcceptMessagesWhileStopping() {
- return acceptMessagesWhileStopping;
- }
-
- public void setAcceptMessagesWhileStopping(
- boolean acceptMessagesWhileStopping) {
- this.acceptMessagesWhileStopping = acceptMessagesWhileStopping;
- }
-
- public boolean isAllowReplyManagerQuickStop() {
- return allowReplyManagerQuickStop;
- }
-
- public void setAllowReplyManagerQuickStop(boolean allowReplyManagerQuickStop) {
- this.allowReplyManagerQuickStop = allowReplyManagerQuickStop;
- }
-
- public int getAcknowledgementMode() {
- return acknowledgementMode;
- }
-
- public void setAcknowledgementMode(int acknowledgementMode) {
- this.acknowledgementMode = acknowledgementMode;
- }
-
- public boolean isEagerLoadingOfProperties() {
- return eagerLoadingOfProperties;
- }
-
- public void setEagerLoadingOfProperties(boolean eagerLoadingOfProperties) {
- this.eagerLoadingOfProperties = eagerLoadingOfProperties;
- }
-
- public String getAcknowledgementModeName() {
- return acknowledgementModeName;
- }
-
- public void setAcknowledgementModeName(String acknowledgementModeName) {
- this.acknowledgementModeName = acknowledgementModeName;
- }
-
- public boolean isAutoStartup() {
- return autoStartup;
- }
-
- public void setAutoStartup(boolean autoStartup) {
- this.autoStartup = autoStartup;
- }
-
- public int getCacheLevel() {
- return cacheLevel;
- }
-
- public void setCacheLevel(int cacheLevel) {
- this.cacheLevel = cacheLevel;
- }
-
- public String getCacheLevelName() {
- return cacheLevelName;
- }
-
- public void setCacheLevelName(String cacheLevelName) {
- this.cacheLevelName = cacheLevelName;
- }
-
- public String getReplyToCacheLevelName() {
- return replyToCacheLevelName;
- }
-
- public void setReplyToCacheLevelName(String replyToCacheLevelName) {
- this.replyToCacheLevelName = replyToCacheLevelName;
- }
-
- public String getClientId() {
- return clientId;
- }
-
- public void setClientId(String clientId) {
- this.clientId = clientId;
- }
-
- public int getConcurrentConsumers() {
- return concurrentConsumers;
- }
-
- public void setConcurrentConsumers(int concurrentConsumers) {
- this.concurrentConsumers = concurrentConsumers;
- }
-
- public int getReplyToConcurrentConsumers() {
- return replyToConcurrentConsumers;
- }
-
- public void setReplyToConcurrentConsumers(int replyToConcurrentConsumers) {
- this.replyToConcurrentConsumers = replyToConcurrentConsumers;
- }
-
- public ConnectionFactory getConnectionFactory() {
- return connectionFactory;
- }
-
- public void setConnectionFactory(ConnectionFactory connectionFactory) {
- this.connectionFactory = connectionFactory;
- }
-
- public boolean isDeliveryPersistent() {
- return deliveryPersistent;
- }
-
- public void setDeliveryPersistent(boolean deliveryPersistent) {
- this.deliveryPersistent = deliveryPersistent;
- }
-
- public Integer getDeliveryMode() {
- return deliveryMode;
- }
-
- public void setDeliveryMode(Integer deliveryMode) {
- this.deliveryMode = deliveryMode;
- }
-
- public String getDurableSubscriptionName() {
- return durableSubscriptionName;
- }
-
- public void setDurableSubscriptionName(String durableSubscriptionName) {
- this.durableSubscriptionName = durableSubscriptionName;
- }
-
- public ExceptionListener getExceptionListener() {
- return exceptionListener;
- }
-
- public void setExceptionListener(ExceptionListener exceptionListener) {
- this.exceptionListener = exceptionListener;
- }
-
- public ErrorHandler getErrorHandler() {
- return errorHandler;
- }
-
- public void setErrorHandler(ErrorHandler errorHandler) {
- this.errorHandler = errorHandler;
- }
-
- public LoggingLevel getErrorHandlerLoggingLevel() {
- return errorHandlerLoggingLevel;
- }
-
- public void setErrorHandlerLoggingLevel(
- LoggingLevel errorHandlerLoggingLevel) {
- this.errorHandlerLoggingLevel = errorHandlerLoggingLevel;
- }
-
- public boolean isErrorHandlerLogStackTrace() {
- return errorHandlerLogStackTrace;
- }
-
- public void setErrorHandlerLogStackTrace(boolean errorHandlerLogStackTrace) {
- this.errorHandlerLogStackTrace = errorHandlerLogStackTrace;
- }
-
- public boolean isExplicitQosEnabled() {
- return explicitQosEnabled;
- }
-
- public void setExplicitQosEnabled(boolean explicitQosEnabled) {
- this.explicitQosEnabled = explicitQosEnabled;
- }
-
- public boolean isExposeListenerSession() {
- return exposeListenerSession;
- }
-
- public void setExposeListenerSession(boolean exposeListenerSession) {
- this.exposeListenerSession = exposeListenerSession;
- }
-
- public int getIdleTaskExecutionLimit() {
- return idleTaskExecutionLimit;
- }
-
- public void setIdleTaskExecutionLimit(int idleTaskExecutionLimit) {
- this.idleTaskExecutionLimit = idleTaskExecutionLimit;
- }
-
- public int getIdleConsumerLimit() {
- return idleConsumerLimit;
- }
-
- public void setIdleConsumerLimit(int idleConsumerLimit) {
- this.idleConsumerLimit = idleConsumerLimit;
- }
-
- public int getMaxConcurrentConsumers() {
- return maxConcurrentConsumers;
- }
-
- public void setMaxConcurrentConsumers(int maxConcurrentConsumers) {
- this.maxConcurrentConsumers = maxConcurrentConsumers;
- }
-
- public int getReplyToMaxConcurrentConsumers() {
- return replyToMaxConcurrentConsumers;
- }
-
- public void setReplyToMaxConcurrentConsumers(
- int replyToMaxConcurrentConsumers) {
- this.replyToMaxConcurrentConsumers = replyToMaxConcurrentConsumers;
- }
-
- public int getReplyOnTimeoutToMaxConcurrentConsumers() {
- return replyOnTimeoutToMaxConcurrentConsumers;
- }
-
- public void setReplyOnTimeoutToMaxConcurrentConsumers(
- int replyOnTimeoutToMaxConcurrentConsumers) {
- this.replyOnTimeoutToMaxConcurrentConsumers = replyOnTimeoutToMaxConcurrentConsumers;
- }
-
- public int getMaxMessagesPerTask() {
- return maxMessagesPerTask;
- }
-
- public void setMaxMessagesPerTask(int maxMessagesPerTask) {
- this.maxMessagesPerTask = maxMessagesPerTask;
- }
-
- public MessageConverter getMessageConverter() {
- return messageConverter;
- }
-
- public void setMessageConverter(MessageConverter messageConverter) {
- this.messageConverter = messageConverter;
- }
-
- public boolean isMapJmsMessage() {
- return mapJmsMessage;
- }
-
- public void setMapJmsMessage(boolean mapJmsMessage) {
- this.mapJmsMessage = mapJmsMessage;
- }
-
- public boolean isMessageIdEnabled() {
- return messageIdEnabled;
- }
-
- public void setMessageIdEnabled(boolean messageIdEnabled) {
- this.messageIdEnabled = messageIdEnabled;
- }
-
- public boolean isMessageTimestampEnabled() {
- return messageTimestampEnabled;
- }
-
- public void setMessageTimestampEnabled(boolean messageTimestampEnabled) {
- this.messageTimestampEnabled = messageTimestampEnabled;
- }
-
- public boolean isAlwaysCopyMessage() {
- return alwaysCopyMessage;
- }
-
- public void setAlwaysCopyMessage(boolean alwaysCopyMessage) {
- this.alwaysCopyMessage = alwaysCopyMessage;
- }
-
- public boolean isUseMessageIDAsCorrelationID() {
- return useMessageIDAsCorrelationID;
- }
-
- public void setUseMessageIDAsCorrelationID(
- boolean useMessageIDAsCorrelationID) {
- this.useMessageIDAsCorrelationID = useMessageIDAsCorrelationID;
- }
-
- public int getPriority() {
- return priority;
- }
-
- public void setPriority(int priority) {
- this.priority = priority;
- }
-
- public boolean isPubSubNoLocal() {
- return pubSubNoLocal;
- }
-
- public void setPubSubNoLocal(boolean pubSubNoLocal) {
- this.pubSubNoLocal = pubSubNoLocal;
- }
-
- public long getReceiveTimeout() {
- return receiveTimeout;
- }
-
- public void setReceiveTimeout(long receiveTimeout) {
- this.receiveTimeout = receiveTimeout;
- }
-
- public long getRecoveryInterval() {
- return recoveryInterval;
- }
-
- public void setRecoveryInterval(long recoveryInterval) {
- this.recoveryInterval = recoveryInterval;
- }
-
- public boolean isSubscriptionDurable() {
- return subscriptionDurable;
- }
-
- public void setSubscriptionDurable(boolean subscriptionDurable) {
- this.subscriptionDurable = subscriptionDurable;
- }
-
- public TaskExecutor getTaskExecutor() {
- return taskExecutor;
- }
-
- public void setTaskExecutor(TaskExecutor taskExecutor) {
- this.taskExecutor = taskExecutor;
- }
-
- public long getTimeToLive() {
- return timeToLive;
- }
-
- public void setTimeToLive(long timeToLive) {
- this.timeToLive = timeToLive;
- }
-
- public boolean isTransacted() {
- return transacted;
- }
-
- public void setTransacted(boolean transacted) {
- this.transacted = transacted;
- }
-
- public boolean isLazyCreateTransactionManager() {
- return lazyCreateTransactionManager;
- }
-
- public void setLazyCreateTransactionManager(
- boolean lazyCreateTransactionManager) {
- this.lazyCreateTransactionManager = lazyCreateTransactionManager;
- }
-
- public PlatformTransactionManager getTransactionManager() {
- return transactionManager;
- }
-
- public void setTransactionManager(
- PlatformTransactionManager transactionManager) {
- this.transactionManager = transactionManager;
- }
-
- public String getTransactionName() {
- return transactionName;
- }
-
- public void setTransactionName(String transactionName) {
- this.transactionName = transactionName;
- }
-
- public int getTransactionTimeout() {
- return transactionTimeout;
- }
-
- public void setTransactionTimeout(int transactionTimeout) {
- this.transactionTimeout = transactionTimeout;
- }
-
- public boolean isTestConnectionOnStartup() {
- return testConnectionOnStartup;
- }
-
- public void setTestConnectionOnStartup(boolean testConnectionOnStartup) {
- this.testConnectionOnStartup = testConnectionOnStartup;
- }
-
- public boolean isAsyncStartListener() {
- return asyncStartListener;
- }
-
- public void setAsyncStartListener(boolean asyncStartListener) {
- this.asyncStartListener = asyncStartListener;
- }
-
- public boolean isAsyncStopListener() {
- return asyncStopListener;
- }
-
- public void setAsyncStopListener(boolean asyncStopListener) {
- this.asyncStopListener = asyncStopListener;
- }
-
- public boolean isForceSendOriginalMessage() {
- return forceSendOriginalMessage;
- }
-
- public void setForceSendOriginalMessage(boolean forceSendOriginalMessage) {
- this.forceSendOriginalMessage = forceSendOriginalMessage;
- }
-
- public long getRequestTimeout() {
- return requestTimeout;
- }
-
- public void setRequestTimeout(long requestTimeout) {
- this.requestTimeout = requestTimeout;
- }
-
- public long getRequestTimeoutCheckerInterval() {
- return requestTimeoutCheckerInterval;
- }
-
- public void setRequestTimeoutCheckerInterval(
- long requestTimeoutCheckerInterval) {
- this.requestTimeoutCheckerInterval = requestTimeoutCheckerInterval;
- }
-
- public boolean isTransferExchange() {
- return transferExchange;
- }
-
- public void setTransferExchange(boolean transferExchange) {
- this.transferExchange = transferExchange;
- }
-
- public boolean isTransferException() {
- return transferException;
- }
-
- public void setTransferException(boolean transferException) {
- this.transferException = transferException;
- }
-
- public boolean isTransferFault() {
- return transferFault;
- }
-
- public void setTransferFault(boolean transferFault) {
- this.transferFault = transferFault;
- }
-
- public JmsOperations getJmsOperations() {
- return jmsOperations;
- }
-
- public void setJmsOperations(JmsOperations jmsOperations) {
- this.jmsOperations = jmsOperations;
- }
-
- public DestinationResolver getDestinationResolver() {
- return destinationResolver;
- }
-
- public void setDestinationResolver(DestinationResolver destinationResolver) {
- this.destinationResolver = destinationResolver;
- }
-
- public ReplyToType getReplyToType() {
- return replyToType;
- }
-
- public void setReplyToType(ReplyToType replyToType) {
- this.replyToType = replyToType;
- }
-
- public boolean isPreserveMessageQos() {
- return preserveMessageQos;
- }
-
- public void setPreserveMessageQos(boolean preserveMessageQos) {
- this.preserveMessageQos = preserveMessageQos;
- }
-
- public boolean isAsyncConsumer() {
- return asyncConsumer;
- }
-
- public void setAsyncConsumer(boolean asyncConsumer) {
- this.asyncConsumer = asyncConsumer;
- }
-
- public boolean isAllowNullBody() {
- return allowNullBody;
- }
-
- public void setAllowNullBody(boolean allowNullBody) {
- this.allowNullBody = allowNullBody;
- }
-
- public boolean isIncludeSentJMSMessageID() {
- return includeSentJMSMessageID;
- }
-
- public void setIncludeSentJMSMessageID(boolean includeSentJMSMessageID) {
- this.includeSentJMSMessageID = includeSentJMSMessageID;
- }
-
- public boolean isIncludeAllJMSXProperties() {
- return includeAllJMSXProperties;
- }
-
- public void setIncludeAllJMSXProperties(boolean includeAllJMSXProperties) {
- this.includeAllJMSXProperties = includeAllJMSXProperties;
- }
-
- public DefaultTaskExecutorType getDefaultTaskExecutorType() {
- return defaultTaskExecutorType;
- }
-
- public void setDefaultTaskExecutorType(
- DefaultTaskExecutorType defaultTaskExecutorType) {
- this.defaultTaskExecutorType = defaultTaskExecutorType;
- }
-
- public JmsKeyFormatStrategy getJmsKeyFormatStrategy() {
- return jmsKeyFormatStrategy;
- }
-
- public void setJmsKeyFormatStrategy(
- JmsKeyFormatStrategy jmsKeyFormatStrategy) {
- this.jmsKeyFormatStrategy = jmsKeyFormatStrategy;
- }
-
- public ApplicationContext getApplicationContext() {
- return applicationContext;
- }
-
- public void setApplicationContext(ApplicationContext applicationContext) {
- this.applicationContext = applicationContext;
- }
-
- public QueueBrowseStrategy getQueueBrowseStrategy() {
- return queueBrowseStrategy;
- }
-
- public void setQueueBrowseStrategy(QueueBrowseStrategy queueBrowseStrategy) {
- this.queueBrowseStrategy = queueBrowseStrategy;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-
- public MessageCreatedStrategy getMessageCreatedStrategy() {
- return messageCreatedStrategy;
- }
-
- public void setMessageCreatedStrategy(
- MessageCreatedStrategy messageCreatedStrategy) {
- this.messageCreatedStrategy = messageCreatedStrategy;
- }
-
- public int getWaitForProvisionCorrelationToBeUpdatedCounter() {
- return waitForProvisionCorrelationToBeUpdatedCounter;
- }
-
- public void setWaitForProvisionCorrelationToBeUpdatedCounter(
- int waitForProvisionCorrelationToBeUpdatedCounter) {
- this.waitForProvisionCorrelationToBeUpdatedCounter = waitForProvisionCorrelationToBeUpdatedCounter;
- }
-
- public long getWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime() {
- return waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
- }
-
- public void setWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime(
- long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime) {
- this.waitForProvisionCorrelationToBeUpdatedThreadSleepingTime = waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-amqp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/resources/META-INF/spring.factories b/components/camel-amqp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6e72322..0000000
--- a/components/camel-amqp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.amqp.springboot.AMQPComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
deleted file mode 100644
index 54a10f2..0000000
--- a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.apns.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.apns.ApnsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ApnsComponentConfiguration.class)
-public class ApnsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ApnsComponent.class)
- public ApnsComponent configureComponent(CamelContext camelContext,
- ApnsComponentConfiguration configuration) throws Exception {
- ApnsComponent component = new ApnsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java b/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
deleted file mode 100644
index 7f11532..0000000
--- a/components/camel-apns/src/main/java/org/apache/camel/component/apns/springboot/ApnsComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.apns.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.notnoop.apns.ApnsService;
-
-/**
- * For sending notifications to Apple iOS devices.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.apns")
-public class ApnsComponentConfiguration {
-
- /**
- * To use a custom link ApnsService
- */
- private ApnsService apnsService;
-
- public ApnsService getApnsService() {
- return apnsService;
- }
-
- public void setApnsService(ApnsService apnsService) {
- this.apnsService = apnsService;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-apns/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-apns/src/main/resources/META-INF/spring.factories b/components/camel-apns/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 67aaf4e..0000000
--- a/components/camel-apns/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.apns.springboot.ApnsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java b/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java
deleted file mode 100644
index 85d51d5..0000000
--- a/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.atmos.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.atmos.AtmosComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(AtmosComponentConfiguration.class)
-public class AtmosComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(AtmosComponent.class)
- public AtmosComponent configureComponent(CamelContext camelContext,
- AtmosComponentConfiguration configuration) throws Exception {
- AtmosComponent component = new AtmosComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentConfiguration.java b/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentConfiguration.java
deleted file mode 100644
index bfb4e35..0000000
--- a/components/camel-atmos/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.atmos.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The atmos component is used for integrating with EMC's Atomos Storage.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.atmos")
-public class AtmosComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atmos/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-atmos/src/main/resources/META-INF/spring.factories b/components/camel-atmos/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 011ad91..0000000
--- a/components/camel-atmos/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.atmos.springboot.AtmosComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
deleted file mode 100644
index 9bd7de6..0000000
--- a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.atmosphere.websocket.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.atmosphere.websocket.WebsocketComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(WebsocketComponentConfiguration.class)
-public class WebsocketComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(WebsocketComponent.class)
- public WebsocketComponent configureComponent(CamelContext camelContext,
- WebsocketComponentConfiguration configuration) throws Exception {
- WebsocketComponent component = new WebsocketComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
deleted file mode 100644
index e7f8638..0000000
--- a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.atmosphere.websocket.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.servlet.HttpRegistry;
-import org.apache.camel.http.common.HttpBinding;
-import org.apache.camel.http.common.HttpConfiguration;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * To exchange data with external Websocket clients using Atmosphere.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.atmosphere-websocket")
-public class WebsocketComponentConfiguration {
-
- /**
- * Default name of servlet to use. The default name is CamelServlet.
- */
- private String servletName;
- /**
- * To use a custom org.apache.camel.component.servlet.HttpRegistry.
- */
- 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.
- */
- private boolean attachmentMultipartBinding;
- /**
- * To use a custom HttpBinding to control the mapping between Camel message
- * and HttpClient.
- */
- private HttpBinding httpBinding;
- /**
- * To use the shared HttpConfiguration as base configuration.
- */
- private HttpConfiguration httpConfiguration;
- /**
- * Whether to allow java serialization when a request uses
- * context-type=application/x-java-serialized-object This is by default
- * turned off. If you enable this then be aware that Java will deserialize
- * the incoming data from the request to Java and that can be a potential
- * security risk.
- */
- private boolean allowJavaSerializedObject;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public String getServletName() {
- return servletName;
- }
-
- public void setServletName(String servletName) {
- this.servletName = servletName;
- }
-
- public HttpRegistry getHttpRegistry() {
- return httpRegistry;
- }
-
- public void setHttpRegistry(HttpRegistry httpRegistry) {
- this.httpRegistry = httpRegistry;
- }
-
- public boolean isAttachmentMultipartBinding() {
- return attachmentMultipartBinding;
- }
-
- public void setAttachmentMultipartBinding(boolean attachmentMultipartBinding) {
- this.attachmentMultipartBinding = attachmentMultipartBinding;
- }
-
- public HttpBinding getHttpBinding() {
- return httpBinding;
- }
-
- public void setHttpBinding(HttpBinding httpBinding) {
- this.httpBinding = httpBinding;
- }
-
- public HttpConfiguration getHttpConfiguration() {
- return httpConfiguration;
- }
-
- public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
- this.httpConfiguration = httpConfiguration;
- }
-
- public boolean isAllowJavaSerializedObject() {
- return allowJavaSerializedObject;
- }
-
- public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
- this.allowJavaSerializedObject = allowJavaSerializedObject;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atmosphere-websocket/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/main/resources/META-INF/spring.factories b/components/camel-atmosphere-websocket/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6954476..0000000
--- a/components/camel-atmosphere-websocket/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.atmosphere.websocket.springboot.WebsocketComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atom/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atom/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java b/components/camel-atom/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java
deleted file mode 100644
index 32d37f0..0000000
--- a/components/camel-atom/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.atom.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.atom.AtomComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(AtomComponentConfiguration.class)
-public class AtomComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(AtomComponent.class)
- public AtomComponent configureComponent(CamelContext camelContext,
- AtomComponentConfiguration configuration) throws Exception {
- AtomComponent component = new AtomComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atom/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atom/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentConfiguration.java b/components/camel-atom/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentConfiguration.java
deleted file mode 100644
index 5e0da19..0000000
--- a/components/camel-atom/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.atom.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The atom component is used for consuming Atom RSS feeds.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.atom")
-public class AtomComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-atom/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-atom/src/main/resources/META-INF/spring.factories b/components/camel-atom/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index eca75c4..0000000
--- a/components/camel-atom/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.atom.springboot.AtomComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
deleted file mode 100644
index 43398c0..0000000
--- a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.avro.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.avro.AvroComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(AvroComponentConfiguration.class)
-public class AvroComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(AvroComponent.class)
- public AvroComponent configureComponent(CamelContext camelContext,
- AvroComponentConfiguration configuration) throws Exception {
- AvroComponent component = new AvroComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
deleted file mode 100644
index acdfdc9..0000000
--- a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.avro.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.avro.AvroConfiguration;
-
-/**
- * Working with Apache Avro for data serialization.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.avro")
-public class AvroComponentConfiguration {
-
- /**
- * To use a shared AvroConfiguration to configure options once
- */
- private AvroConfiguration configuration;
-
- public AvroConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(AvroConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-avro/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/resources/META-INF/spring.factories b/components/camel-avro/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a3ace3c..0000000
--- a/components/camel-avro/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.avro.springboot.AvroComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java
deleted file mode 100644
index 184e6c4..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.cw.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.cw.CwComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CwComponentConfiguration.class)
-public class CwComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CwComponent.class)
- public CwComponent configureComponent(CamelContext camelContext,
- CwComponentConfiguration configuration) throws Exception {
- CwComponent component = new CwComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentConfiguration.java
deleted file mode 100644
index ddbe3aa..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.cw.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-cw component is used for sending metrics to an Amazon CloudWatch.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-cw")
-public class CwComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java
deleted file mode 100644
index b991d25..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.ddb.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.ddb.DdbComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DdbComponentConfiguration.class)
-public class DdbComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DdbComponent.class)
- public DdbComponent configureComponent(CamelContext camelContext,
- DdbComponentConfiguration configuration) throws Exception {
- DdbComponent component = new DdbComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[03/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java b/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java
deleted file mode 100644
index 09c0b42..0000000
--- a/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.springldap.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.springldap.SpringLdapComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SpringLdapComponentConfiguration.class)
-public class SpringLdapComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SpringLdapComponent.class)
- public SpringLdapComponent configureComponent(CamelContext camelContext,
- SpringLdapComponentConfiguration configuration) throws Exception {
- SpringLdapComponent component = new SpringLdapComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentConfiguration.java b/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentConfiguration.java
deleted file mode 100644
index 04cfc30..0000000
--- a/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.springldap.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The spring-ldap component allows you to perform searches in LDAP servers
- * using filters as the message payload.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spring-ldap")
-public class SpringLdapComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ldap/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring-ldap/src/main/resources/META-INF/spring.factories b/components/camel-spring-ldap/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index da3ea68..0000000
--- a/components/camel-spring-ldap/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.springldap.springboot.SpringLdapComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java
deleted file mode 100644
index 0cf0088..0000000
--- a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.redis.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.redis.RedisComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(RedisComponentConfiguration.class)
-public class RedisComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(RedisComponent.class)
- public RedisComponent configureComponent(CamelContext camelContext,
- RedisComponentConfiguration configuration) throws Exception {
- RedisComponent component = new RedisComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentConfiguration.java b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentConfiguration.java
deleted file mode 100644
index 411dc4c..0000000
--- a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.redis.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The spring-redis component allows sending and receiving messages from Redis.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spring-redis")
-public class RedisComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-redis/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring-redis/src/main/resources/META-INF/spring.factories b/components/camel-spring-redis/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 155e9db..0000000
--- a/components/camel-spring-redis/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.redis.springboot.RedisComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java
deleted file mode 100644
index a382cf0..0000000
--- a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.ws.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.spring.ws.SpringWebserviceComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SpringWebserviceComponentConfiguration.class)
-public class SpringWebserviceComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SpringWebserviceComponent.class)
- public SpringWebserviceComponent configureComponent(
- CamelContext camelContext,
- SpringWebserviceComponentConfiguration configuration)
- throws Exception {
- SpringWebserviceComponent component = new SpringWebserviceComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentConfiguration.java b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentConfiguration.java
deleted file mode 100644
index dba550b..0000000
--- a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.ws.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The spring-ws component is used for SOAP WebServices using Spring
- * WebServices.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spring-ws")
-public class SpringWebserviceComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ws/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring-ws/src/main/resources/META-INF/spring.factories b/components/camel-spring-ws/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index cf4fe19..0000000
--- a/components/camel-spring-ws/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.spring.ws.springboot.SpringWebserviceComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
deleted file mode 100644
index a017d5a..0000000
--- a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.event.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.event.EventComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(EventComponentConfiguration.class)
-public class EventComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(EventComponent.class)
- public EventComponent configureComponent(CamelContext camelContext,
- EventComponentConfiguration configuration) throws Exception {
- EventComponent component = new EventComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java
deleted file mode 100644
index a2cc856..0000000
--- a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.event.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.context.ApplicationContext;
-
-/**
- * The spring-event component allows to listen for Spring Application Events.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spring-event")
-public class EventComponentConfiguration {
-
- /**
- * The Spring ApplicationContext
- */
- private ApplicationContext applicationContext;
-
- public ApplicationContext getApplicationContext() {
- return applicationContext;
- }
-
- public void setApplicationContext(ApplicationContext applicationContext) {
- this.applicationContext = applicationContext;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/main/resources/META-INF/spring.factories b/components/camel-spring/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3b58cd1..0000000
--- a/components/camel-spring/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.event.springboot.EventComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
deleted file mode 100644
index 09ef1dd..0000000
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sql.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sql.SqlComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SqlComponentConfiguration.class)
-public class SqlComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SqlComponent.class)
- public SqlComponent configureComponent(CamelContext camelContext,
- SqlComponentConfiguration configuration) throws Exception {
- SqlComponent component = new SqlComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
deleted file mode 100644
index f127ffe..0000000
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sql.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.sql.DataSource;
-
-/**
- * The sql component can be used to perform SQL query to a database.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sql")
-public class SqlComponentConfiguration {
-
- /**
- * Sets the DataSource to use to communicate with the database.
- */
- private DataSource dataSource;
- /**
- * Sets whether to use placeholder and replace all placeholder characters
- * with sign in the SQL queries. This option is default true
- */
- private boolean usePlaceholder;
-
- public DataSource getDataSource() {
- return dataSource;
- }
-
- public void setDataSource(DataSource dataSource) {
- this.dataSource = dataSource;
- }
-
- public boolean isUsePlaceholder() {
- return usePlaceholder;
- }
-
- public void setUsePlaceholder(boolean usePlaceholder) {
- this.usePlaceholder = usePlaceholder;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
deleted file mode 100644
index 3bd59f3..0000000
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sql.stored.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sql.stored.SqlStoredComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SqlStoredComponentConfiguration.class)
-public class SqlStoredComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SqlStoredComponent.class)
- public SqlStoredComponent configureComponent(CamelContext camelContext,
- SqlStoredComponentConfiguration configuration) throws Exception {
- SqlStoredComponent component = new SqlStoredComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
deleted file mode 100644
index 470569f..0000000
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sql.stored.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.sql.DataSource;
-
-/**
- * Camel SQL support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sql-stored")
-public class SqlStoredComponentConfiguration {
-
- /**
- * Sets the DataSource to use to communicate with the database.
- */
- private DataSource dataSource;
-
- public DataSource getDataSource() {
- return dataSource;
- }
-
- public void setDataSource(DataSource dataSource) {
- this.dataSource = dataSource;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/resources/META-INF/spring.factories b/components/camel-sql/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 881053b..0000000
--- a/components/camel-sql/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.sql.stored.springboot.SqlStoredComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
deleted file mode 100644
index 3f16c47..0000000
--- a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ssh.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ssh.SshComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SshComponentConfiguration.class)
-public class SshComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SshComponent.class)
- public SshComponent configureComponent(CamelContext camelContext,
- SshComponentConfiguration configuration) throws Exception {
- SshComponent component = new SshComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
deleted file mode 100644
index 4afa893..0000000
--- a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java
+++ /dev/null
@@ -1,175 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ssh.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.ssh.SshConfiguration;
-import org.apache.sshd.common.KeyPairProvider;
-
-/**
- * The ssh component enables access to SSH servers such that you can send an SSH
- * command and process the response.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ssh")
-public class SshComponentConfiguration {
-
- /**
- * To use the shared SSH configuration
- */
- private SshConfiguration configuration;
- /**
- * Sets the hostname of the remote SSH server.
- */
- private String host;
- /**
- * Sets the port number for the remote SSH server.
- */
- private int port;
- /**
- * Sets the username to use in logging into the remote SSH server.
- */
- private String username;
- /**
- * Sets the password to use in connecting to remote SSH server. Requires
- * keyPairProvider to be set to null.
- */
- private String password;
- /**
- * Sets the command string to send to the remote SSH server during every
- * poll cycle. Only works with camel-ssh component being used as a consumer
- * i.e. from(ssh://...). You may need to end your command with a newline and
- * that must be URL encoded 0A
- */
- private String pollCommand;
- /**
- * Sets the KeyPairProvider reference to use when connecting using
- * Certificates to the remote SSH Server.
- */
- private KeyPairProvider keyPairProvider;
- /**
- * Sets the key type to pass to the KeyPairProvider as part of
- * authentication. KeyPairProvider.loadKey(...) will be passed this value.
- * Defaults to ssh-rsa.
- */
- private String keyType;
- /**
- * Sets the timeout in milliseconds to wait in establishing the remote SSH
- * server connection. Defaults to 30000 milliseconds.
- */
- private long timeout;
- /**
- * Sets the resource path of the certificate to use for Authentication.
- */
- @Deprecated
- private String certFilename;
- /**
- * Sets the resource path of the certificate to use for Authentication. Will
- * use ResourceHelperKeyPairProvider to resolve file based certificate and
- * depends on keyType setting.
- */
- private String certResource;
-
- public SshConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(SshConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public String getHost() {
- return host;
- }
-
- public void setHost(String host) {
- this.host = host;
- }
-
- public int getPort() {
- return port;
- }
-
- public void setPort(int port) {
- this.port = port;
- }
-
- public String getUsername() {
- return username;
- }
-
- public void setUsername(String username) {
- this.username = username;
- }
-
- public String getPassword() {
- return password;
- }
-
- public void setPassword(String password) {
- this.password = password;
- }
-
- public String getPollCommand() {
- return pollCommand;
- }
-
- public void setPollCommand(String pollCommand) {
- this.pollCommand = pollCommand;
- }
-
- public KeyPairProvider getKeyPairProvider() {
- return keyPairProvider;
- }
-
- public void setKeyPairProvider(KeyPairProvider keyPairProvider) {
- this.keyPairProvider = keyPairProvider;
- }
-
- public String getKeyType() {
- return keyType;
- }
-
- public void setKeyType(String keyType) {
- this.keyType = keyType;
- }
-
- public long getTimeout() {
- return timeout;
- }
-
- public void setTimeout(long timeout) {
- this.timeout = timeout;
- }
-
- public String getCertFilename() {
- return certFilename;
- }
-
- public void setCertFilename(String certFilename) {
- this.certFilename = certFilename;
- }
-
- public String getCertResource() {
- return certResource;
- }
-
- public void setCertResource(String certResource) {
- this.certResource = certResource;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ssh/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ssh/src/main/resources/META-INF/spring.factories b/components/camel-ssh/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 67aa6d0..0000000
--- a/components/camel-ssh/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ssh.springboot.SshComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java b/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java
deleted file mode 100644
index 22e866b..0000000
--- a/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.stax.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.stax.StAXComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(StAXComponentConfiguration.class)
-public class StAXComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(StAXComponent.class)
- public StAXComponent configureComponent(CamelContext camelContext,
- StAXComponentConfiguration configuration) throws Exception {
- StAXComponent component = new StAXComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentConfiguration.java b/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentConfiguration.java
deleted file mode 100644
index 2728c49..0000000
--- a/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.stax.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The stax component allows messages to be process through a SAX
- * ContentHandler.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.stax")
-public class StAXComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stax/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-stax/src/main/resources/META-INF/spring.factories b/components/camel-stax/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 0e55e4f..0000000
--- a/components/camel-stax/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.stax.springboot.StAXComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
deleted file mode 100644
index 5f242d7..0000000
--- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.stomp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.stomp.StompComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(StompComponentConfiguration.class)
-public class StompComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(StompComponent.class)
- public StompComponent configureComponent(CamelContext camelContext,
- StompComponentConfiguration configuration) throws Exception {
- StompComponent component = new StompComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
deleted file mode 100644
index 84e77c5..0000000
--- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.stomp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.stomp.StompConfiguration;
-
-/**
- * The stomp component is used for communicating with Stomp compliant message
- * brokers.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.stomp")
-public class StompComponentConfiguration {
-
- /**
- * To use the shared stomp configuration
- */
- private StompConfiguration configuration;
- /**
- * The URI of the Stomp broker to connect to
- */
- private String brokerURL;
- /**
- * The username
- */
- private String login;
- /**
- * The password
- */
- private String passcode;
- /**
- * The virtual host
- */
- private String host;
-
- public StompConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(StompConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public String getBrokerURL() {
- return brokerURL;
- }
-
- public void setBrokerURL(String brokerURL) {
- this.brokerURL = brokerURL;
- }
-
- public String getLogin() {
- return login;
- }
-
- public void setLogin(String login) {
- this.login = login;
- }
-
- public String getPasscode() {
- return passcode;
- }
-
- public void setPasscode(String passcode) {
- this.passcode = passcode;
- }
-
- public String getHost() {
- return host;
- }
-
- public void setHost(String host) {
- this.host = host;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stomp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/resources/META-INF/spring.factories b/components/camel-stomp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 1f38a87..0000000
--- a/components/camel-stomp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.stomp.springboot.StompComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java b/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java
deleted file mode 100644
index 77f1df8..0000000
--- a/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.stream.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.stream.StreamComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(StreamComponentConfiguration.class)
-public class StreamComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(StreamComponent.class)
- public StreamComponent configureComponent(CamelContext camelContext,
- StreamComponentConfiguration configuration) throws Exception {
- StreamComponent component = new StreamComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentConfiguration.java b/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentConfiguration.java
deleted file mode 100644
index e04c091..0000000
--- a/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.stream.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The stream: component provides access to the system-in system-out and
- * system-err streams as well as allowing streaming of file and URL.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.stream")
-public class StreamComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stream/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-stream/src/main/resources/META-INF/spring.factories b/components/camel-stream/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index ebc6117..0000000
--- a/components/camel-stream/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.stream.springboot.StreamComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java b/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java
deleted file mode 100644
index 9cb7627..0000000
--- a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.telegram.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.telegram.TelegramComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(TelegramComponentConfiguration.class)
-public class TelegramComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(TelegramComponent.class)
- public TelegramComponent configureComponent(CamelContext camelContext,
- TelegramComponentConfiguration configuration) throws Exception {
- TelegramComponent component = new TelegramComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentConfiguration.java b/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentConfiguration.java
deleted file mode 100644
index 7163305..0000000
--- a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.telegram.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The Camel endpoint for a telegram bot.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.telegram")
-public class TelegramComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-telegram/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-telegram/src/main/resources/META-INF/spring.factories b/components/camel-telegram/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7e794e6..0000000
--- a/components/camel-telegram/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.telegram.springboot.TelegramComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
deleted file mode 100644
index e854561..0000000
--- a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.twitter.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.twitter.TwitterComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(TwitterComponentConfiguration.class)
-public class TwitterComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(TwitterComponent.class)
- public TwitterComponent configureComponent(CamelContext camelContext,
- TwitterComponentConfiguration configuration) throws Exception {
- TwitterComponent component = new TwitterComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java
deleted file mode 100644
index 8ce5105..0000000
--- a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.twitter.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * This component integrates with Twitter to send tweets or search for tweets
- * and more.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.twitter")
-public class TwitterComponentConfiguration {
-
- /**
- * The access token
- */
- private String accessToken;
- /**
- * The access token secret
- */
- private String accessTokenSecret;
- /**
- * The consumer key
- */
- private String consumerKey;
- /**
- * The consumer secret
- */
- private String consumerSecret;
- /**
- * The http proxy host which can be used for the camel-twitter.
- */
- private String httpProxyHost;
- /**
- * The http proxy user which can be used for the camel-twitter.
- */
- private String httpProxyUser;
- /**
- * The http proxy password which can be used for the camel-twitter.
- */
- private String httpProxyPassword;
- /**
- * The http proxy port which can be used for the camel-twitter.
- */
- private int httpProxyPort;
-
- public String getAccessToken() {
- return accessToken;
- }
-
- public void setAccessToken(String accessToken) {
- this.accessToken = accessToken;
- }
-
- public String getAccessTokenSecret() {
- return accessTokenSecret;
- }
-
- public void setAccessTokenSecret(String accessTokenSecret) {
- this.accessTokenSecret = accessTokenSecret;
- }
-
- public String getConsumerKey() {
- return consumerKey;
- }
-
- public void setConsumerKey(String consumerKey) {
- this.consumerKey = consumerKey;
- }
-
- public String getConsumerSecret() {
- return consumerSecret;
- }
-
- public void setConsumerSecret(String consumerSecret) {
- this.consumerSecret = consumerSecret;
- }
-
- public String getHttpProxyHost() {
- return httpProxyHost;
- }
-
- public void setHttpProxyHost(String httpProxyHost) {
- this.httpProxyHost = httpProxyHost;
- }
-
- public String getHttpProxyUser() {
- return httpProxyUser;
- }
-
- public void setHttpProxyUser(String httpProxyUser) {
- this.httpProxyUser = httpProxyUser;
- }
-
- public String getHttpProxyPassword() {
- return httpProxyPassword;
- }
-
- public void setHttpProxyPassword(String httpProxyPassword) {
- this.httpProxyPassword = httpProxyPassword;
- }
-
- public int getHttpProxyPort() {
- return httpProxyPort;
- }
-
- public void setHttpProxyPort(int httpProxyPort) {
- this.httpProxyPort = httpProxyPort;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-twitter/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/resources/META-INF/spring.factories b/components/camel-twitter/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 8694c3b..0000000
--- a/components/camel-twitter/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.twitter.springboot.TwitterComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
deleted file mode 100644
index ea53436..0000000
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.undertow.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.undertow.UndertowComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(UndertowComponentConfiguration.class)
-public class UndertowComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(UndertowComponent.class)
- public UndertowComponent configureComponent(CamelContext camelContext,
- UndertowComponentConfiguration configuration) throws Exception {
- UndertowComponent component = new UndertowComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[14/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cassandraql/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cassandraql/src/main/resources/META-INF/spring.factories b/components/camel-cassandraql/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index ff39091..0000000
--- a/components/camel-cassandraql/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.cassandra.springboot.CassandraComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java b/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java
deleted file mode 100644
index 3c855f2..0000000
--- a/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.chunk.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.chunk.ChunkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ChunkComponentConfiguration.class)
-public class ChunkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ChunkComponent.class)
- public ChunkComponent configureComponent(CamelContext camelContext,
- ChunkComponentConfiguration configuration) throws Exception {
- ChunkComponent component = new ChunkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentConfiguration.java b/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentConfiguration.java
deleted file mode 100644
index 52af25b..0000000
--- a/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.chunk.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Transforms the message using a Chunk template.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.chunk")
-public class ChunkComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-chunk/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-chunk/src/main/resources/META-INF/spring.factories b/components/camel-chunk/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 0bb0704..0000000
--- a/components/camel-chunk/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.chunk.springboot.ChunkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java
deleted file mode 100644
index 630ad0a..0000000
--- a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cm.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.cm.CMComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CMComponentConfiguration.class)
-public class CMComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CMComponent.class)
- public CMComponent configureComponent(CamelContext camelContext,
- CMComponentConfiguration configuration) throws Exception {
- CMComponent component = new CMComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentConfiguration.java b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentConfiguration.java
deleted file mode 100644
index 0dcfd07..0000000
--- a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cm.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel CM SMS Gateway Component
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cm-sms")
-public class CMComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cm-sms/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cm-sms/src/main/resources/META-INF/spring.factories b/components/camel-cm-sms/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 53fe560..0000000
--- a/components/camel-cm-sms/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.cm.springboot.CMComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java b/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java
deleted file mode 100644
index fae2b23..0000000
--- a/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cmis.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.cmis.CMISComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CMISComponentConfiguration.class)
-public class CMISComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CMISComponent.class)
- public CMISComponent configureComponent(CamelContext camelContext,
- CMISComponentConfiguration configuration) throws Exception {
- CMISComponent component = new CMISComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentConfiguration.java b/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentConfiguration.java
deleted file mode 100644
index 182978e..0000000
--- a/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cmis.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The cmis component uses the Apache Chemistry client API and allows you to
- * add/read nodes to/from a CMIS compliant content repositories.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cmis")
-public class CMISComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cmis/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cmis/src/main/resources/META-INF/spring.factories b/components/camel-cmis/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 56d8aca..0000000
--- a/components/camel-cmis/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.cmis.springboot.CMISComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java b/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java
deleted file mode 100644
index 3a08a74..0000000
--- a/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.coap.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.coap.CoAPComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CoAPComponentConfiguration.class)
-public class CoAPComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CoAPComponent.class)
- public CoAPComponent configureComponent(CamelContext camelContext,
- CoAPComponentConfiguration configuration) throws Exception {
- CoAPComponent component = new CoAPComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentConfiguration.java b/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentConfiguration.java
deleted file mode 100644
index b6942e0..0000000
--- a/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.coap.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The coap component is used for sending and receiving messages from COAP
- * capable devices.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.coap")
-public class CoAPComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-coap/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-coap/src/main/resources/META-INF/spring.factories b/components/camel-coap/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 82beb02..0000000
--- a/components/camel-coap/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.coap.springboot.CoAPComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
deleted file mode 100644
index 772565d..0000000
--- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cometd.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.cometd.CometdComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CometdComponentConfiguration.class)
-public class CometdComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CometdComponent.class)
- public CometdComponent configureComponent(CamelContext camelContext,
- CometdComponentConfiguration configuration) throws Exception {
- CometdComponent component = new CometdComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
deleted file mode 100644
index 4cf997b..0000000
--- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cometd.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.cometd.bayeux.server.SecurityPolicy;
-import java.util.List;
-import org.cometd.bayeux.server.BayeuxServer.Extension;
-import org.apache.camel.util.jsse.SSLContextParameters;
-
-/**
- * The cometd component is a transport for working with the Jetty implementation
- * of the cometd/bayeux protocol.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cometds")
-public class CometdComponentConfiguration {
-
- /**
- * The password for the keystore when using SSL.
- */
- private String sslKeyPassword;
- /**
- * The password when using SSL.
- */
- private String sslPassword;
- /**
- * The path to the keystore.
- */
- private String sslKeystore;
- /**
- * To use a custom configured SecurityPolicy to control authorization
- */
- private SecurityPolicy securityPolicy;
- /**
- * To use a list of custom BayeuxServer.Extension that allows modifying
- * incoming and outgoing requests.
- */
- private List<org.cometd.bayeux.server.BayeuxServer.Extension> extensions;
- /**
- * To configure security using SSLContextParameters
- */
- private SSLContextParameters sslContextParameters;
-
- public String getSslKeyPassword() {
- return sslKeyPassword;
- }
-
- public void setSslKeyPassword(String sslKeyPassword) {
- this.sslKeyPassword = sslKeyPassword;
- }
-
- public String getSslPassword() {
- return sslPassword;
- }
-
- public void setSslPassword(String sslPassword) {
- this.sslPassword = sslPassword;
- }
-
- public String getSslKeystore() {
- return sslKeystore;
- }
-
- public void setSslKeystore(String sslKeystore) {
- this.sslKeystore = sslKeystore;
- }
-
- public SecurityPolicy getSecurityPolicy() {
- return securityPolicy;
- }
-
- public void setSecurityPolicy(SecurityPolicy securityPolicy) {
- this.securityPolicy = securityPolicy;
- }
-
- public List<Extension> getExtensions() {
- return extensions;
- }
-
- public void setExtensions(List<Extension> extensions) {
- this.extensions = extensions;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cometd/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/resources/META-INF/spring.factories b/components/camel-cometd/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index b2c7883..0000000
--- a/components/camel-cometd/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.cometd.springboot.CometdComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java b/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java
deleted file mode 100644
index 79b85a5..0000000
--- a/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.consul.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.consul.ConsulComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ConsulComponentConfiguration.class)
-public class ConsulComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ConsulComponent.class)
- public ConsulComponent configureComponent(CamelContext camelContext,
- ConsulComponentConfiguration configuration) throws Exception {
- ConsulComponent component = new ConsulComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentConfiguration.java b/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentConfiguration.java
deleted file mode 100644
index 34b3150..0000000
--- a/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.consul.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Consul support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.consul")
-public class ConsulComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-consul/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-consul/src/main/resources/META-INF/spring.factories b/components/camel-consul/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 85286f6..0000000
--- a/components/camel-consul/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.consul.springboot.ConsulComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java b/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java
deleted file mode 100644
index f3b817e..0000000
--- a/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.context.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.context.QualifiedContextComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(QualifiedContextComponentConfiguration.class)
-public class QualifiedContextComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(QualifiedContextComponent.class)
- public QualifiedContextComponent configureComponent(
- CamelContext camelContext,
- QualifiedContextComponentConfiguration configuration)
- throws Exception {
- QualifiedContextComponent component = new QualifiedContextComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentConfiguration.java b/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentConfiguration.java
deleted file mode 100644
index 82bab81..0000000
--- a/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.context.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The context component allows to send/receive messages between Camel routes in
- * a black box way.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.context")
-public class QualifiedContextComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-context/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-context/src/main/resources/META-INF/spring.factories b/components/camel-context/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 8ab5468..0000000
--- a/components/camel-context/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.context.springboot.QualifiedContextComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java b/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java
deleted file mode 100644
index 63efa12..0000000
--- a/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.couchdb.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.couchdb.CouchDbComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CouchDbComponentConfiguration.class)
-public class CouchDbComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CouchDbComponent.class)
- public CouchDbComponent configureComponent(CamelContext camelContext,
- CouchDbComponentConfiguration configuration) throws Exception {
- CouchDbComponent component = new CouchDbComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentConfiguration.java b/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentConfiguration.java
deleted file mode 100644
index 9d8916b..0000000
--- a/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.couchdb.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The couchdb component is used for integrate with CouchDB databases.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.couchdb")
-public class CouchDbComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-couchdb/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-couchdb/src/main/resources/META-INF/spring.factories b/components/camel-couchdb/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index eda969c..0000000
--- a/components/camel-couchdb/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.couchdb.springboot.CouchDbComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
deleted file mode 100644
index 8c6bd42..0000000
--- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.crypto.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.crypto.DigitalSignatureComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DigitalSignatureComponentConfiguration.class)
-public class DigitalSignatureComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DigitalSignatureComponent.class)
- public DigitalSignatureComponent configureComponent(
- CamelContext camelContext,
- DigitalSignatureComponentConfiguration configuration)
- throws Exception {
- DigitalSignatureComponent component = new DigitalSignatureComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
deleted file mode 100644
index 6f5c02d..0000000
--- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.crypto.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.crypto.DigitalSignatureConfiguration;
-
-/**
- * The crypto component is used for signing and verifying exchanges using the
- * Signature Service of the Java Cryptographic Extension (JCE).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.crypto")
-public class DigitalSignatureComponentConfiguration {
-
- /**
- * To use the shared DigitalSignatureConfiguration as configuration
- */
- private DigitalSignatureConfiguration configuration;
-
- public DigitalSignatureConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(DigitalSignatureConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-crypto/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/resources/META-INF/spring.factories b/components/camel-crypto/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7fd3d83..0000000
--- a/components/camel-crypto/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.crypto.springboot.DigitalSignatureComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
deleted file mode 100644
index 92e8128..0000000
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cxf.jaxrs.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.cxf.jaxrs.CxfRsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CxfRsComponentConfiguration.class)
-public class CxfRsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CxfRsComponent.class)
- public CxfRsComponent configureComponent(CamelContext camelContext,
- CxfRsComponentConfiguration configuration) throws Exception {
- CxfRsComponent component = new CxfRsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
deleted file mode 100644
index 62c494f..0000000
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cxf.jaxrs.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * The cxfrs component is used for JAX-RS REST services using Apache CXF.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cxfrs")
-public class CxfRsComponentConfiguration {
-
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
deleted file mode 100644
index 4a69480..0000000
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cxf.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.cxf.CxfComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CxfComponentConfiguration.class)
-public class CxfComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CxfComponent.class)
- public CxfComponent configureComponent(CamelContext camelContext,
- CxfComponentConfiguration configuration) throws Exception {
- CxfComponent component = new CxfComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
deleted file mode 100644
index c863627..0000000
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cxf.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * The cxf component is used for SOAP WebServices using Apache CXF.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cxf")
-public class CxfComponentConfiguration {
-
- /**
- * This option controls whether the CXF component when running in PAYLOAD
- * mode will DOM parse the incoming messages into DOM Elements or keep the
- * payload as a javax.xml.transform.Source object that would allow streaming
- * in some cases.
- */
- private Boolean allowStreaming;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public Boolean getAllowStreaming() {
- return allowStreaming;
- }
-
- public void setAllowStreaming(Boolean allowStreaming) {
- this.allowStreaming = allowStreaming;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cxf/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/resources/META-INF/spring.factories b/components/camel-cxf/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index e72480d..0000000
--- a/components/camel-cxf/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.cxf.jaxrs.springboot.CxfRsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
deleted file mode 100644
index 2ebcf6a..0000000
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.disruptor.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.disruptor.DisruptorComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DisruptorComponentConfiguration.class)
-public class DisruptorComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DisruptorComponent.class)
- public DisruptorComponent configureComponent(CamelContext camelContext,
- DisruptorComponentConfiguration configuration) throws Exception {
- DisruptorComponent component = new DisruptorComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
deleted file mode 100644
index 048f835..0000000
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.disruptor.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.disruptor.DisruptorProducerType;
-import org.apache.camel.component.disruptor.DisruptorWaitStrategy;
-
-/**
- * The disruptor component provides asynchronous SEDA behavior using LMAX
- * Disruptor.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.disruptor")
-public class DisruptorComponentConfiguration {
-
- /**
- * To configure the default number of concurrent consumers
- */
- private int defaultConcurrentConsumers;
- /**
- * To configure the default value for multiple consumers
- */
- private boolean defaultMultipleConsumers;
- /**
- * To configure the default value for DisruptorProducerType The default
- * value is Multi.
- */
- private DisruptorProducerType defaultProducerType;
- /**
- * To configure the default value for DisruptorWaitStrategy The default
- * value is Blocking.
- */
- private DisruptorWaitStrategy defaultWaitStrategy;
- /**
- * To configure the default value for block when full The default value is
- * true.
- */
- private boolean defaultBlockWhenFull;
- /**
- * To configure the ring buffer size
- */
- @Deprecated
- private int queueSize;
- /**
- * To configure the ring buffer size
- */
- private int bufferSize;
-
- public int getDefaultConcurrentConsumers() {
- return defaultConcurrentConsumers;
- }
-
- public void setDefaultConcurrentConsumers(int defaultConcurrentConsumers) {
- this.defaultConcurrentConsumers = defaultConcurrentConsumers;
- }
-
- public boolean isDefaultMultipleConsumers() {
- return defaultMultipleConsumers;
- }
-
- public void setDefaultMultipleConsumers(boolean defaultMultipleConsumers) {
- this.defaultMultipleConsumers = defaultMultipleConsumers;
- }
-
- public DisruptorProducerType getDefaultProducerType() {
- return defaultProducerType;
- }
-
- public void setDefaultProducerType(DisruptorProducerType defaultProducerType) {
- this.defaultProducerType = defaultProducerType;
- }
-
- public DisruptorWaitStrategy getDefaultWaitStrategy() {
- return defaultWaitStrategy;
- }
-
- public void setDefaultWaitStrategy(DisruptorWaitStrategy defaultWaitStrategy) {
- this.defaultWaitStrategy = defaultWaitStrategy;
- }
-
- public boolean isDefaultBlockWhenFull() {
- return defaultBlockWhenFull;
- }
-
- public void setDefaultBlockWhenFull(boolean defaultBlockWhenFull) {
- this.defaultBlockWhenFull = defaultBlockWhenFull;
- }
-
- public int getQueueSize() {
- return queueSize;
- }
-
- public void setQueueSize(int queueSize) {
- this.queueSize = queueSize;
- }
-
- public int getBufferSize() {
- return bufferSize;
- }
-
- public void setBufferSize(int bufferSize) {
- this.bufferSize = bufferSize;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
deleted file mode 100644
index e3f36cd..0000000
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.disruptor.vm.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.disruptor.vm.DisruptorVmComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DisruptorVmComponentConfiguration.class)
-public class DisruptorVmComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DisruptorVmComponent.class)
- public DisruptorVmComponent configureComponent(CamelContext camelContext,
- DisruptorVmComponentConfiguration configuration) throws Exception {
- DisruptorVmComponent component = new DisruptorVmComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[23/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
new file mode 100644
index 0000000..4fa0f5f
--- /dev/null
+++ b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.scp.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * To copy files using the secure copy protocol (SCP).
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.scp")
+public class ScpComponentConfiguration {
+
+ /**
+ * JSCH is verbose logging out of the box. Therefore we turn the logging
+ * down to DEBUG logging by default. But setting this option to true turns
+ * on the verbose logging again.
+ */
+ private boolean verboseLogging;
+
+ public boolean isVerboseLogging() {
+ return verboseLogging;
+ }
+
+ public void setVerboseLogging(boolean verboseLogging) {
+ this.verboseLogging = verboseLogging;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jsch/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/resources/META-INF/spring.factories b/components/camel-jsch/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..0fefee7
--- /dev/null
+++ b/components/camel-jsch/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.scp.springboot.ScpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
new file mode 100644
index 0000000..27951b9
--- /dev/null
+++ b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jt400.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.jt400.Jt400Component;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(Jt400ComponentConfiguration.class)
+public class Jt400ComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(Jt400Component.class)
+ public Jt400Component configureComponent(CamelContext camelContext,
+ Jt400ComponentConfiguration configuration) throws Exception {
+ Jt400Component component = new Jt400Component();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
new file mode 100644
index 0000000..75f9f06
--- /dev/null
+++ b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jt400.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.ibm.as400.access.AS400ConnectionPool;
+
+/**
+ * The jt400 component allows you to exchanges messages with an AS/400 system
+ * using data queues or program call.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.jt400")
+public class Jt400ComponentConfiguration {
+
+ /**
+ * Returns the default connection pool used by this component.
+ */
+ private AS400ConnectionPool connectionPool;
+
+ public AS400ConnectionPool getConnectionPool() {
+ return connectionPool;
+ }
+
+ public void setConnectionPool(AS400ConnectionPool connectionPool) {
+ this.connectionPool = connectionPool;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jt400/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/resources/META-INF/spring.factories b/components/camel-jt400/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..3d0f165
--- /dev/null
+++ b/components/camel-jt400/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.jt400.springboot.Jt400ComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
new file mode 100644
index 0000000..4e7a62e
--- /dev/null
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.kafka.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.kafka.KafkaComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(KafkaComponentConfiguration.class)
+public class KafkaComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(KafkaComponent.class)
+ public KafkaComponent configureComponent(CamelContext camelContext,
+ KafkaComponentConfiguration configuration) throws Exception {
+ KafkaComponent component = new KafkaComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
new file mode 100644
index 0000000..d4923bd
--- /dev/null
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
@@ -0,0 +1,47 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.kafka.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import java.util.concurrent.ExecutorService;
+
+/**
+ * The kafka component allows messages to be sent to (or consumed from) Apache
+ * Kafka brokers.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.kafka")
+public class KafkaComponentConfiguration {
+
+ /**
+ * To use a shared custom worker pool for continue routing Exchange after
+ * kafka server has acknowledge the message that was sent to it from
+ * KafkaProducer using asynchronous non-blocking processing. If using this
+ * option then you must handle the lifecycle of the thread pool to shut the
+ * pool down when no longer needed.
+ */
+ private ExecutorService workerPool;
+
+ public ExecutorService getWorkerPool() {
+ return workerPool;
+ }
+
+ public void setWorkerPool(ExecutorService workerPool) {
+ this.workerPool = workerPool;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-kafka/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-kafka/src/main/resources/META-INF/spring.factories b/components/camel-kafka/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..3bf44f6
--- /dev/null
+++ b/components/camel-kafka/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.kafka.springboot.KafkaComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
new file mode 100644
index 0000000..ef7fce7
--- /dev/null
+++ b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.kestrel.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.kestrel.KestrelComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(KestrelComponentConfiguration.class)
+public class KestrelComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(KestrelComponent.class)
+ public KestrelComponent configureComponent(CamelContext camelContext,
+ KestrelComponentConfiguration configuration) throws Exception {
+ KestrelComponent component = new KestrelComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
new file mode 100644
index 0000000..d856674
--- /dev/null
+++ b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.kestrel.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.kestrel.KestrelConfiguration;
+
+/**
+ * The kestrel component allows messages to be sent to (or consumed from)
+ * Kestrel brokers.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.kestrel")
+public class KestrelComponentConfiguration {
+
+ /**
+ * To use a shared configured configuration as base for creating new
+ * endpoints.
+ */
+ private KestrelConfiguration configuration;
+
+ public KestrelConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(KestrelConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-kestrel/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-kestrel/src/main/resources/META-INF/spring.factories b/components/camel-kestrel/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..534bb4c
--- /dev/null
+++ b/components/camel-kestrel/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.kestrel.springboot.KestrelComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
new file mode 100644
index 0000000..f8962a5
--- /dev/null
+++ b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.linkedin.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.linkedin.LinkedInComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(LinkedInComponentConfiguration.class)
+public class LinkedInComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(LinkedInComponent.class)
+ public LinkedInComponent configureComponent(CamelContext camelContext,
+ LinkedInComponentConfiguration configuration) throws Exception {
+ LinkedInComponent component = new LinkedInComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
new file mode 100644
index 0000000..aa75f41
--- /dev/null
+++ b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.linkedin.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.linkedin.LinkedInConfiguration;
+
+/**
+ * The linkedin component is uses for retrieving LinkedIn user profiles
+ * connections companies groups posts etc.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.linkedin")
+public class LinkedInComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private LinkedInConfiguration configuration;
+
+ public LinkedInConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(LinkedInConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-linkedin/camel-linkedin-component/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/src/main/resources/META-INF/spring.factories b/components/camel-linkedin/camel-linkedin-component/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..fde340f
--- /dev/null
+++ b/components/camel-linkedin/camel-linkedin-component/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.linkedin.springboot.LinkedInComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
new file mode 100644
index 0000000..23720bd
--- /dev/null
+++ b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.lucene.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.lucene.LuceneComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(LuceneComponentConfiguration.class)
+public class LuceneComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(LuceneComponent.class)
+ public LuceneComponent configureComponent(CamelContext camelContext,
+ LuceneComponentConfiguration configuration) throws Exception {
+ LuceneComponent component = new LuceneComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
new file mode 100644
index 0000000..4f639e9
--- /dev/null
+++ b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.lucene.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.lucene.LuceneConfiguration;
+
+/**
+ * To insert or query from Apache Lucene databases.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.lucene")
+public class LuceneComponentConfiguration {
+
+ /**
+ * To use a shared lucene configuration
+ */
+ private LuceneConfiguration config;
+
+ public LuceneConfiguration getConfig() {
+ return config;
+ }
+
+ public void setConfig(LuceneConfiguration config) {
+ this.config = config;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-lucene/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-lucene/src/main/resources/META-INF/spring.factories b/components/camel-lucene/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..bc2eef7
--- /dev/null
+++ b/components/camel-lucene/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.lucene.springboot.LuceneComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
new file mode 100644
index 0000000..67022c2
--- /dev/null
+++ b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mail.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.mail.MailComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(MailComponentConfiguration.class)
+public class MailComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(MailComponent.class)
+ public MailComponent configureComponent(CamelContext camelContext,
+ MailComponentConfiguration configuration) throws Exception {
+ MailComponent component = new MailComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
new file mode 100644
index 0000000..49baa08
--- /dev/null
+++ b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
@@ -0,0 +1,55 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mail.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.mail.MailConfiguration;
+import org.apache.camel.component.mail.ContentTypeResolver;
+
+/**
+ * To send or receive emails using imap/pop3 or stmp protocols.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.smtps")
+public class MailComponentConfiguration {
+
+ /**
+ * Sets the Mail configuration
+ */
+ private MailConfiguration configuration;
+ /**
+ * Resolver to determine Content-Type for file attachments.
+ */
+ private ContentTypeResolver contentTypeResolver;
+
+ public MailConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(MailConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public ContentTypeResolver getContentTypeResolver() {
+ return contentTypeResolver;
+ }
+
+ public void setContentTypeResolver(ContentTypeResolver contentTypeResolver) {
+ this.contentTypeResolver = contentTypeResolver;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mail/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/resources/META-INF/spring.factories b/components/camel-mail/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..9791dc1
--- /dev/null
+++ b/components/camel-mail/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.mail.springboot.MailComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
new file mode 100644
index 0000000..6224637
--- /dev/null
+++ b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.metrics.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.metrics.MetricsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(MetricsComponentConfiguration.class)
+public class MetricsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(MetricsComponent.class)
+ public MetricsComponent configureComponent(CamelContext camelContext,
+ MetricsComponentConfiguration configuration) throws Exception {
+ MetricsComponent component = new MetricsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
new file mode 100644
index 0000000..5fd61b0
--- /dev/null
+++ b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.metrics.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.codahale.metrics.MetricRegistry;
+
+/**
+ * To collect various metrics directly from Camel routes using the DropWizard
+ * metrics library.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.metrics")
+public class MetricsComponentConfiguration {
+
+ /**
+ * To use a custom configured MetricRegistry.
+ */
+ private MetricRegistry metricRegistry;
+
+ public MetricRegistry getMetricRegistry() {
+ return metricRegistry;
+ }
+
+ public void setMetricRegistry(MetricRegistry metricRegistry) {
+ this.metricRegistry = metricRegistry;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-metrics/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/resources/META-INF/spring.factories b/components/camel-metrics/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..dd83a8b
--- /dev/null
+++ b/components/camel-metrics/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.metrics.springboot.MetricsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
new file mode 100644
index 0000000..c0f6981
--- /dev/null
+++ b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mina.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.mina.MinaComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(MinaComponentConfiguration.class)
+public class MinaComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(MinaComponent.class)
+ public MinaComponent configureComponent(CamelContext camelContext,
+ MinaComponentConfiguration configuration) throws Exception {
+ MinaComponent component = new MinaComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
new file mode 100644
index 0000000..86f2b16
--- /dev/null
+++ b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mina.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.mina.MinaConfiguration;
+
+/**
+ * Socket level networking using TCP or UDP with the Apache Mina 1.x library.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.mina")
+public class MinaComponentConfiguration {
+
+ /**
+ * To use the shared mina configuration.
+ */
+ private MinaConfiguration configuration;
+
+ public MinaConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(MinaConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mina/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/main/resources/META-INF/spring.factories b/components/camel-mina/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..7d810bf
--- /dev/null
+++ b/components/camel-mina/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.mina.springboot.MinaComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
new file mode 100644
index 0000000..7a2f740
--- /dev/null
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mina2.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.mina2.Mina2Component;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(Mina2ComponentConfiguration.class)
+public class Mina2ComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(Mina2Component.class)
+ public Mina2Component configureComponent(CamelContext camelContext,
+ Mina2ComponentConfiguration configuration) throws Exception {
+ Mina2Component component = new Mina2Component();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
new file mode 100644
index 0000000..03f5663
--- /dev/null
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mina2.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.mina2.Mina2Configuration;
+
+/**
+ * Socket level networking using TCP or UDP with the Apache Mina 2.x library.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.mina2")
+public class Mina2ComponentConfiguration {
+
+ /**
+ * To use the shared mina configuration.
+ */
+ private Mina2Configuration configuration;
+
+ public Mina2Configuration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(Mina2Configuration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mina2/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/resources/META-INF/spring.factories b/components/camel-mina2/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..b398489
--- /dev/null
+++ b/components/camel-mina2/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.mina2.springboot.Mina2ComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java b/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
new file mode 100644
index 0000000..0e48350
--- /dev/null
+++ b/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mqtt.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.mqtt.MQTTComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(MQTTComponentConfiguration.class)
+public class MQTTComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(MQTTComponent.class)
+ public MQTTComponent configureComponent(CamelContext camelContext,
+ MQTTComponentConfiguration configuration) throws Exception {
+ MQTTComponent component = new MQTTComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentConfiguration.java b/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentConfiguration.java
new file mode 100644
index 0000000..82e5504
--- /dev/null
+++ b/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentConfiguration.java
@@ -0,0 +1,67 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mqtt.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * Component for communicating with MQTT M2M message brokers using FuseSource
+ * MQTT Client.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.mqtt")
+public class MQTTComponentConfiguration {
+
+ /**
+ * The URI of the MQTT broker to connect too - this component also supports
+ * SSL - e.g. ssl://127.0.0.1:8883
+ */
+ private String host;
+ /**
+ * Username to be used for authentication against the MQTT broker
+ */
+ private String userName;
+ /**
+ * Password to be used for authentication against the MQTT broker
+ */
+ private String password;
+
+ public String getHost() {
+ return host;
+ }
+
+ public void setHost(String host) {
+ this.host = host;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mqtt/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/src/main/resources/META-INF/spring.factories b/components/camel-mqtt/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..6d3291e
--- /dev/null
+++ b/components/camel-mqtt/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.mqtt.springboot.MQTTComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
new file mode 100644
index 0000000..831df0c
--- /dev/null
+++ b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.validator.msv.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.validator.msv.MsvComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(MsvComponentConfiguration.class)
+public class MsvComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(MsvComponent.class)
+ public MsvComponent configureComponent(CamelContext camelContext,
+ MsvComponentConfiguration configuration) throws Exception {
+ MsvComponent component = new MsvComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
new file mode 100644
index 0000000..5658429
--- /dev/null
+++ b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
@@ -0,0 +1,57 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.validator.msv.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.xml.validation.SchemaFactory;
+import org.apache.camel.component.validator.ValidatorResourceResolverFactory;
+
+/**
+ * Validates the payload of a message using the MSV Library.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.msv")
+public class MsvComponentConfiguration {
+
+ /**
+ * To use the javax.xml.validation.SchemaFactory.
+ */
+ private SchemaFactory schemaFactory;
+ /**
+ * To use a custom LSResourceResolver which depends on a dynamic endpoint
+ * resource URI
+ */
+ private ValidatorResourceResolverFactory resourceResolverFactory;
+
+ public SchemaFactory getSchemaFactory() {
+ return schemaFactory;
+ }
+
+ public void setSchemaFactory(SchemaFactory schemaFactory) {
+ this.schemaFactory = schemaFactory;
+ }
+
+ public ValidatorResourceResolverFactory getResourceResolverFactory() {
+ return resourceResolverFactory;
+ }
+
+ public void setResourceResolverFactory(
+ ValidatorResourceResolverFactory resourceResolverFactory) {
+ this.resourceResolverFactory = resourceResolverFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-msv/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-msv/src/main/resources/META-INF/spring.factories b/components/camel-msv/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..67c3681
--- /dev/null
+++ b/components/camel-msv/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.validator.msv.springboot.MsvComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
new file mode 100644
index 0000000..b4ff89e
--- /dev/null
+++ b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mustache.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.mustache.MustacheComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(MustacheComponentConfiguration.class)
+public class MustacheComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(MustacheComponent.class)
+ public MustacheComponent configureComponent(CamelContext camelContext,
+ MustacheComponentConfiguration configuration) throws Exception {
+ MustacheComponent component = new MustacheComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
new file mode 100644
index 0000000..3b6b02a
--- /dev/null
+++ b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.mustache.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.github.mustachejava.MustacheFactory;
+
+/**
+ * Transforms the message using a Mustache template.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.mustache")
+public class MustacheComponentConfiguration {
+
+ /**
+ * To use a custom MustacheFactory
+ */
+ private MustacheFactory mustacheFactory;
+
+ public MustacheFactory getMustacheFactory() {
+ return mustacheFactory;
+ }
+
+ public void setMustacheFactory(MustacheFactory mustacheFactory) {
+ this.mustacheFactory = mustacheFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-mustache/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mustache/src/main/resources/META-INF/spring.factories b/components/camel-mustache/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..0a3fb76
--- /dev/null
+++ b/components/camel-mustache/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.mustache.springboot.MustacheComponentAutoConfiguration
[27/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
new file mode 100644
index 0000000..9bd7de6
--- /dev/null
+++ b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.atmosphere.websocket.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.atmosphere.websocket.WebsocketComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(WebsocketComponentConfiguration.class)
+public class WebsocketComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(WebsocketComponent.class)
+ public WebsocketComponent configureComponent(CamelContext camelContext,
+ WebsocketComponentConfiguration configuration) throws Exception {
+ WebsocketComponent component = new WebsocketComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
new file mode 100644
index 0000000..e7f8638
--- /dev/null
+++ b/components/camel-atmosphere-websocket/src/main/java/org/apache/camel/component/atmosphere/websocket/springboot/WebsocketComponentConfiguration.java
@@ -0,0 +1,126 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.atmosphere.websocket.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.servlet.HttpRegistry;
+import org.apache.camel.http.common.HttpBinding;
+import org.apache.camel.http.common.HttpConfiguration;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * To exchange data with external Websocket clients using Atmosphere.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.atmosphere-websocket")
+public class WebsocketComponentConfiguration {
+
+ /**
+ * Default name of servlet to use. The default name is CamelServlet.
+ */
+ private String servletName;
+ /**
+ * To use a custom org.apache.camel.component.servlet.HttpRegistry.
+ */
+ 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.
+ */
+ private boolean attachmentMultipartBinding;
+ /**
+ * To use a custom HttpBinding to control the mapping between Camel message
+ * and HttpClient.
+ */
+ private HttpBinding httpBinding;
+ /**
+ * To use the shared HttpConfiguration as base configuration.
+ */
+ private HttpConfiguration httpConfiguration;
+ /**
+ * Whether to allow java serialization when a request uses
+ * context-type=application/x-java-serialized-object This is by default
+ * turned off. If you enable this then be aware that Java will deserialize
+ * the incoming data from the request to Java and that can be a potential
+ * security risk.
+ */
+ private boolean allowJavaSerializedObject;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public String getServletName() {
+ return servletName;
+ }
+
+ public void setServletName(String servletName) {
+ this.servletName = servletName;
+ }
+
+ public HttpRegistry getHttpRegistry() {
+ return httpRegistry;
+ }
+
+ public void setHttpRegistry(HttpRegistry httpRegistry) {
+ this.httpRegistry = httpRegistry;
+ }
+
+ public boolean isAttachmentMultipartBinding() {
+ return attachmentMultipartBinding;
+ }
+
+ public void setAttachmentMultipartBinding(boolean attachmentMultipartBinding) {
+ this.attachmentMultipartBinding = attachmentMultipartBinding;
+ }
+
+ public HttpBinding getHttpBinding() {
+ return httpBinding;
+ }
+
+ public void setHttpBinding(HttpBinding httpBinding) {
+ this.httpBinding = httpBinding;
+ }
+
+ public HttpConfiguration getHttpConfiguration() {
+ return httpConfiguration;
+ }
+
+ public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
+ this.httpConfiguration = httpConfiguration;
+ }
+
+ public boolean isAllowJavaSerializedObject() {
+ return allowJavaSerializedObject;
+ }
+
+ public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
+ this.allowJavaSerializedObject = allowJavaSerializedObject;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-atmosphere-websocket/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/main/resources/META-INF/spring.factories b/components/camel-atmosphere-websocket/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..6954476
--- /dev/null
+++ b/components/camel-atmosphere-websocket/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.atmosphere.websocket.springboot.WebsocketComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
new file mode 100644
index 0000000..43398c0
--- /dev/null
+++ b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.avro.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.avro.AvroComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(AvroComponentConfiguration.class)
+public class AvroComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(AvroComponent.class)
+ public AvroComponent configureComponent(CamelContext camelContext,
+ AvroComponentConfiguration configuration) throws Exception {
+ AvroComponent component = new AvroComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
new file mode 100644
index 0000000..acdfdc9
--- /dev/null
+++ b/components/camel-avro/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.avro.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.avro.AvroConfiguration;
+
+/**
+ * Working with Apache Avro for data serialization.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.avro")
+public class AvroComponentConfiguration {
+
+ /**
+ * To use a shared AvroConfiguration to configure options once
+ */
+ private AvroConfiguration configuration;
+
+ public AvroConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(AvroConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-avro/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/resources/META-INF/spring.factories b/components/camel-avro/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..a3ace3c
--- /dev/null
+++ b/components/camel-avro/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.avro.springboot.AvroComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
new file mode 100644
index 0000000..6b6297e
--- /dev/null
+++ b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.beanstalk.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.beanstalk.BeanstalkComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(BeanstalkComponentConfiguration.class)
+public class BeanstalkComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(BeanstalkComponent.class)
+ public BeanstalkComponent configureComponent(CamelContext camelContext,
+ BeanstalkComponentConfiguration configuration) throws Exception {
+ BeanstalkComponent component = new BeanstalkComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
new file mode 100644
index 0000000..c5adda4
--- /dev/null
+++ b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
@@ -0,0 +1,46 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.beanstalk.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.beanstalk.ConnectionSettingsFactory;
+
+/**
+ * The beanstalk component is used for job retrieval and post-processing of
+ * Beanstalk jobs.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.beanstalk")
+public class BeanstalkComponentConfiguration {
+
+ /**
+ * Custom ConnectionSettingsFactory. Specify which ConnectionSettingsFactory
+ * to use to make connections to Beanstalkd. Especially useful for unit
+ * testing without beanstalkd daemon (you can mock ConnectionSettings)
+ */
+ private ConnectionSettingsFactory connectionSettingsFactory;
+
+ public ConnectionSettingsFactory getConnectionSettingsFactory() {
+ return connectionSettingsFactory;
+ }
+
+ public void setConnectionSettingsFactory(
+ ConnectionSettingsFactory connectionSettingsFactory) {
+ this.connectionSettingsFactory = connectionSettingsFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-beanstalk/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/main/resources/META-INF/spring.factories b/components/camel-beanstalk/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..9d05330
--- /dev/null
+++ b/components/camel-beanstalk/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.beanstalk.springboot.BeanstalkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
new file mode 100644
index 0000000..a5540ed
--- /dev/null
+++ b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.box.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.box.BoxComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(BoxComponentConfiguration.class)
+public class BoxComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(BoxComponent.class)
+ public BoxComponent configureComponent(CamelContext camelContext,
+ BoxComponentConfiguration configuration) throws Exception {
+ BoxComponent component = new BoxComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
new file mode 100644
index 0000000..ff0bbaa
--- /dev/null
+++ b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.box.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.box.BoxConfiguration;
+
+/**
+ * For uploading downloading and managing files folders groups collaborations
+ * etc on box DOT com.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.box")
+public class BoxComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private BoxConfiguration configuration;
+
+ public BoxConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(BoxConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-box/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/resources/META-INF/spring.factories b/components/camel-box/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..1cecc33
--- /dev/null
+++ b/components/camel-box/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.box.springboot.BoxComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
new file mode 100644
index 0000000..febed50
--- /dev/null
+++ b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.braintree.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.braintree.BraintreeComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(BraintreeComponentConfiguration.class)
+public class BraintreeComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(BraintreeComponent.class)
+ public BraintreeComponent configureComponent(CamelContext camelContext,
+ BraintreeComponentConfiguration configuration) throws Exception {
+ BraintreeComponent component = new BraintreeComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
new file mode 100644
index 0000000..fbf4cb5
--- /dev/null
+++ b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.braintree.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.braintree.BraintreeConfiguration;
+
+/**
+ * The braintree component is used for integrating with the Braintree Payment
+ * System.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.braintree")
+public class BraintreeComponentConfiguration {
+
+ /**
+ * To use the shared configuration
+ */
+ private BraintreeConfiguration configuration;
+
+ public BraintreeConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(BraintreeConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-braintree/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-braintree/src/main/resources/META-INF/spring.factories b/components/camel-braintree/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..00066a8
--- /dev/null
+++ b/components/camel-braintree/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.braintree.springboot.BraintreeComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
new file mode 100644
index 0000000..c867216
--- /dev/null
+++ b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.cache.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.cache.CacheComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(CacheComponentConfiguration.class)
+public class CacheComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(CacheComponent.class)
+ public CacheComponent configureComponent(CamelContext camelContext,
+ CacheComponentConfiguration configuration) throws Exception {
+ CacheComponent component = new CacheComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
new file mode 100644
index 0000000..01f927c
--- /dev/null
+++ b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
@@ -0,0 +1,70 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.cache.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.cache.CacheManagerFactory;
+import org.apache.camel.component.cache.CacheConfiguration;
+
+/**
+ * The cache component enables you to perform caching operations using EHCache
+ * as the Cache Implementation.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.cache")
+public class CacheComponentConfiguration {
+
+ /**
+ * To use the given CacheManagerFactory for creating the CacheManager. By
+ * default the DefaultCacheManagerFactory is used.
+ */
+ private CacheManagerFactory cacheManagerFactory;
+ /**
+ * Sets the Cache configuration
+ */
+ private CacheConfiguration configuration;
+ /**
+ * Sets the location of the ehcache.xml file to load from classpath or file
+ * system. By default the file is loaded from classpath:ehcache.xml
+ */
+ private String configurationFile;
+
+ public CacheManagerFactory getCacheManagerFactory() {
+ return cacheManagerFactory;
+ }
+
+ public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) {
+ this.cacheManagerFactory = cacheManagerFactory;
+ }
+
+ public CacheConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(CacheConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public String getConfigurationFile() {
+ return configurationFile;
+ }
+
+ public void setConfigurationFile(String configurationFile) {
+ this.configurationFile = configurationFile;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cache/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cache/src/main/resources/META-INF/spring.factories b/components/camel-cache/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..f9df793
--- /dev/null
+++ b/components/camel-cache/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.cache.springboot.CacheComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
new file mode 100644
index 0000000..772565d
--- /dev/null
+++ b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.cometd.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.cometd.CometdComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(CometdComponentConfiguration.class)
+public class CometdComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(CometdComponent.class)
+ public CometdComponent configureComponent(CamelContext camelContext,
+ CometdComponentConfiguration configuration) throws Exception {
+ CometdComponent component = new CometdComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
new file mode 100644
index 0000000..4cf997b
--- /dev/null
+++ b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
@@ -0,0 +1,108 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.cometd.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.cometd.bayeux.server.SecurityPolicy;
+import java.util.List;
+import org.cometd.bayeux.server.BayeuxServer.Extension;
+import org.apache.camel.util.jsse.SSLContextParameters;
+
+/**
+ * The cometd component is a transport for working with the Jetty implementation
+ * of the cometd/bayeux protocol.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.cometds")
+public class CometdComponentConfiguration {
+
+ /**
+ * The password for the keystore when using SSL.
+ */
+ private String sslKeyPassword;
+ /**
+ * The password when using SSL.
+ */
+ private String sslPassword;
+ /**
+ * The path to the keystore.
+ */
+ private String sslKeystore;
+ /**
+ * To use a custom configured SecurityPolicy to control authorization
+ */
+ private SecurityPolicy securityPolicy;
+ /**
+ * To use a list of custom BayeuxServer.Extension that allows modifying
+ * incoming and outgoing requests.
+ */
+ private List<org.cometd.bayeux.server.BayeuxServer.Extension> extensions;
+ /**
+ * To configure security using SSLContextParameters
+ */
+ private SSLContextParameters sslContextParameters;
+
+ public String getSslKeyPassword() {
+ return sslKeyPassword;
+ }
+
+ public void setSslKeyPassword(String sslKeyPassword) {
+ this.sslKeyPassword = sslKeyPassword;
+ }
+
+ public String getSslPassword() {
+ return sslPassword;
+ }
+
+ public void setSslPassword(String sslPassword) {
+ this.sslPassword = sslPassword;
+ }
+
+ public String getSslKeystore() {
+ return sslKeystore;
+ }
+
+ public void setSslKeystore(String sslKeystore) {
+ this.sslKeystore = sslKeystore;
+ }
+
+ public SecurityPolicy getSecurityPolicy() {
+ return securityPolicy;
+ }
+
+ public void setSecurityPolicy(SecurityPolicy securityPolicy) {
+ this.securityPolicy = securityPolicy;
+ }
+
+ public List<Extension> getExtensions() {
+ return extensions;
+ }
+
+ public void setExtensions(List<Extension> extensions) {
+ this.extensions = extensions;
+ }
+
+ public SSLContextParameters getSslContextParameters() {
+ return sslContextParameters;
+ }
+
+ public void setSslContextParameters(
+ SSLContextParameters sslContextParameters) {
+ this.sslContextParameters = sslContextParameters;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cometd/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/resources/META-INF/spring.factories b/components/camel-cometd/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..b2c7883
--- /dev/null
+++ b/components/camel-cometd/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.cometd.springboot.CometdComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
new file mode 100644
index 0000000..8c6bd42
--- /dev/null
+++ b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
@@ -0,0 +1,52 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.crypto.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.crypto.DigitalSignatureComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(DigitalSignatureComponentConfiguration.class)
+public class DigitalSignatureComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(DigitalSignatureComponent.class)
+ public DigitalSignatureComponent configureComponent(
+ CamelContext camelContext,
+ DigitalSignatureComponentConfiguration configuration)
+ throws Exception {
+ DigitalSignatureComponent component = new DigitalSignatureComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
new file mode 100644
index 0000000..6f5c02d
--- /dev/null
+++ b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.crypto.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.crypto.DigitalSignatureConfiguration;
+
+/**
+ * The crypto component is used for signing and verifying exchanges using the
+ * Signature Service of the Java Cryptographic Extension (JCE).
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.crypto")
+public class DigitalSignatureComponentConfiguration {
+
+ /**
+ * To use the shared DigitalSignatureConfiguration as configuration
+ */
+ private DigitalSignatureConfiguration configuration;
+
+ public DigitalSignatureConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(DigitalSignatureConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-crypto/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/resources/META-INF/spring.factories b/components/camel-crypto/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..7fd3d83
--- /dev/null
+++ b/components/camel-crypto/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.crypto.springboot.DigitalSignatureComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
new file mode 100644
index 0000000..92e8128
--- /dev/null
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.cxf.jaxrs.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.cxf.jaxrs.CxfRsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(CxfRsComponentConfiguration.class)
+public class CxfRsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(CxfRsComponent.class)
+ public CxfRsComponent configureComponent(CamelContext camelContext,
+ CxfRsComponentConfiguration configuration) throws Exception {
+ CxfRsComponent component = new CxfRsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
new file mode 100644
index 0000000..62c494f
--- /dev/null
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.cxf.jaxrs.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * The cxfrs component is used for JAX-RS REST services using Apache CXF.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.cxfrs")
+public class CxfRsComponentConfiguration {
+
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
new file mode 100644
index 0000000..4a69480
--- /dev/null
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.cxf.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.cxf.CxfComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(CxfComponentConfiguration.class)
+public class CxfComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(CxfComponent.class)
+ public CxfComponent configureComponent(CamelContext camelContext,
+ CxfComponentConfiguration configuration) throws Exception {
+ CxfComponent component = new CxfComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
new file mode 100644
index 0000000..c863627
--- /dev/null
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
@@ -0,0 +1,59 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.cxf.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * The cxf component is used for SOAP WebServices using Apache CXF.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.cxf")
+public class CxfComponentConfiguration {
+
+ /**
+ * This option controls whether the CXF component when running in PAYLOAD
+ * mode will DOM parse the incoming messages into DOM Elements or keep the
+ * payload as a javax.xml.transform.Source object that would allow streaming
+ * in some cases.
+ */
+ private Boolean allowStreaming;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public Boolean getAllowStreaming() {
+ return allowStreaming;
+ }
+
+ public void setAllowStreaming(Boolean allowStreaming) {
+ this.allowStreaming = allowStreaming;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-cxf/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/resources/META-INF/spring.factories b/components/camel-cxf/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..e72480d
--- /dev/null
+++ b/components/camel-cxf/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.cxf.jaxrs.springboot.CxfRsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
new file mode 100644
index 0000000..2ebcf6a
--- /dev/null
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.disruptor.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.disruptor.DisruptorComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(DisruptorComponentConfiguration.class)
+public class DisruptorComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(DisruptorComponent.class)
+ public DisruptorComponent configureComponent(CamelContext camelContext,
+ DisruptorComponentConfiguration configuration) throws Exception {
+ DisruptorComponent component = new DisruptorComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
new file mode 100644
index 0000000..048f835
--- /dev/null
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
@@ -0,0 +1,120 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.disruptor.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.disruptor.DisruptorProducerType;
+import org.apache.camel.component.disruptor.DisruptorWaitStrategy;
+
+/**
+ * The disruptor component provides asynchronous SEDA behavior using LMAX
+ * Disruptor.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.disruptor")
+public class DisruptorComponentConfiguration {
+
+ /**
+ * To configure the default number of concurrent consumers
+ */
+ private int defaultConcurrentConsumers;
+ /**
+ * To configure the default value for multiple consumers
+ */
+ private boolean defaultMultipleConsumers;
+ /**
+ * To configure the default value for DisruptorProducerType The default
+ * value is Multi.
+ */
+ private DisruptorProducerType defaultProducerType;
+ /**
+ * To configure the default value for DisruptorWaitStrategy The default
+ * value is Blocking.
+ */
+ private DisruptorWaitStrategy defaultWaitStrategy;
+ /**
+ * To configure the default value for block when full The default value is
+ * true.
+ */
+ private boolean defaultBlockWhenFull;
+ /**
+ * To configure the ring buffer size
+ */
+ @Deprecated
+ private int queueSize;
+ /**
+ * To configure the ring buffer size
+ */
+ private int bufferSize;
+
+ public int getDefaultConcurrentConsumers() {
+ return defaultConcurrentConsumers;
+ }
+
+ public void setDefaultConcurrentConsumers(int defaultConcurrentConsumers) {
+ this.defaultConcurrentConsumers = defaultConcurrentConsumers;
+ }
+
+ public boolean isDefaultMultipleConsumers() {
+ return defaultMultipleConsumers;
+ }
+
+ public void setDefaultMultipleConsumers(boolean defaultMultipleConsumers) {
+ this.defaultMultipleConsumers = defaultMultipleConsumers;
+ }
+
+ public DisruptorProducerType getDefaultProducerType() {
+ return defaultProducerType;
+ }
+
+ public void setDefaultProducerType(DisruptorProducerType defaultProducerType) {
+ this.defaultProducerType = defaultProducerType;
+ }
+
+ public DisruptorWaitStrategy getDefaultWaitStrategy() {
+ return defaultWaitStrategy;
+ }
+
+ public void setDefaultWaitStrategy(DisruptorWaitStrategy defaultWaitStrategy) {
+ this.defaultWaitStrategy = defaultWaitStrategy;
+ }
+
+ public boolean isDefaultBlockWhenFull() {
+ return defaultBlockWhenFull;
+ }
+
+ public void setDefaultBlockWhenFull(boolean defaultBlockWhenFull) {
+ this.defaultBlockWhenFull = defaultBlockWhenFull;
+ }
+
+ public int getQueueSize() {
+ return queueSize;
+ }
+
+ public void setQueueSize(int queueSize) {
+ this.queueSize = queueSize;
+ }
+
+ public int getBufferSize() {
+ return bufferSize;
+ }
+
+ public void setBufferSize(int bufferSize) {
+ this.bufferSize = bufferSize;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
new file mode 100644
index 0000000..e3f36cd
--- /dev/null
+++ b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.disruptor.vm.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.disruptor.vm.DisruptorVmComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(DisruptorVmComponentConfiguration.class)
+public class DisruptorVmComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(DisruptorVmComponent.class)
+ public DisruptorVmComponent configureComponent(CamelContext camelContext,
+ DisruptorVmComponentConfiguration configuration) throws Exception {
+ DisruptorVmComponent component = new DisruptorVmComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
[18/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
Experiment with generating spring-boot auto configuration for the Camel components.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f9cbfb25
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f9cbfb25
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f9cbfb25
Branch: refs/heads/boot-generate
Commit: f9cbfb2561996c54e43fe05d3cab36ba08289aad
Parents: 4f1d8a8
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Jun 7 16:22:09 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Jun 7 16:22:09 2016 +0200
----------------------------------------------------------------------
.../camel/maven/packaging/SpringBootAutoConfigurationMojo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/f9cbfb25/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
index 3009a37..78f5503 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
@@ -114,7 +114,7 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
ComponentModel model = generateComponentModel(componentName, json);
// only create source code if the component has options that can be used in auto configuration
- if (!model.getComponentOptions().isEmpty() {
+ if (!model.getComponentOptions().isEmpty()) {
// use springboot as sub package name so the code is not in normal
// package so the Spring Boot JARs can be optional at runtime
[29/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
Experiment with generating spring-boot auto configuration for the Camel components.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c0b51493
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c0b51493
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c0b51493
Branch: refs/heads/boot-generate
Commit: c0b514933e3c1bd2664b3c9c20531c7e2ebc92e0
Parents: 3ad3f00
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Jun 8 07:55:01 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Jun 8 07:55:01 2016 +0200
----------------------------------------------------------------------
parent/pom.xml | 1 +
tooling/maven/camel-package-maven-plugin/pom.xml | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/c0b51493/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 850b20c..53264df 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -476,6 +476,7 @@
<rhino-bundle-version>1.7R2_3</rhino-bundle-version>
<rhino-version>1.7R2</rhino-version>
<ribbon-version>2.2.0</ribbon-version>
+ <roaster-version>2.18.3.Final</roaster-version>
<rome-bundle-version>1.0_3</rome-bundle-version>
<rome-version>1.0</rome-version>
<rxjava-version>1.1.5</rxjava-version>
http://git-wip-us.apache.org/repos/asf/camel/blob/c0b51493/tooling/maven/camel-package-maven-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/pom.xml b/tooling/maven/camel-package-maven-plugin/pom.xml
index 8acb502..604624e 100644
--- a/tooling/maven/camel-package-maven-plugin/pom.xml
+++ b/tooling/maven/camel-package-maven-plugin/pom.xml
@@ -92,12 +92,12 @@
<dependency>
<groupId>org.jboss.forge.roaster</groupId>
<artifactId>roaster-api</artifactId>
- <version>2.18.3.Final</version>
+ <version>${roaster-version}</version>
</dependency>
<dependency>
<groupId>org.jboss.forge.roaster</groupId>
<artifactId>roaster-jdt</artifactId>
- <version>2.18.3.Final</version>
+ <version>${roaster-version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
[34/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
Experiment with generating spring-boot auto configuration for the Camel components.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4b784473
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4b784473
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4b784473
Branch: refs/heads/boot-generate
Commit: 4b7844732b19bc49ddddf485995e3847a0551ef1
Parents: d8951be
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Jun 8 11:33:28 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Jun 8 11:33:28 2016 +0200
----------------------------------------------------------------------
.../main/resources/META-INF/spring.factories | 2 +
.../main/resources/META-INF/spring.factories | 2 +
.../main/resources/META-INF/spring.factories | 2 +
.../main/resources/META-INF/spring.factories | 2 +
.../SpringBootAutoConfigurationMojo.java | 104 ++++++++++++-------
5 files changed, 77 insertions(+), 35 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/4b784473/components/camel-cxf/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/resources/META-INF/spring.factories b/components/camel-cxf/src/main/resources/META-INF/spring.factories
index e72480d..9ddb944 100644
--- a/components/camel-cxf/src/main/resources/META-INF/spring.factories
+++ b/components/camel-cxf/src/main/resources/META-INF/spring.factories
@@ -16,4 +16,6 @@
#
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.cxf.springboot.CxfComponentAutoConfiguration,\
org.apache.camel.component.cxf.jaxrs.springboot.CxfRsComponentAutoConfiguration
+
http://git-wip-us.apache.org/repos/asf/camel/blob/4b784473/components/camel-disruptor/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/resources/META-INF/spring.factories b/components/camel-disruptor/src/main/resources/META-INF/spring.factories
index 6797e8a..7ab3ca3 100644
--- a/components/camel-disruptor/src/main/resources/META-INF/spring.factories
+++ b/components/camel-disruptor/src/main/resources/META-INF/spring.factories
@@ -16,4 +16,6 @@
#
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.disruptor.springboot.DisruptorComponentAutoConfiguration,\
org.apache.camel.component.disruptor.vm.springboot.DisruptorVmComponentAutoConfiguration
+
http://git-wip-us.apache.org/repos/asf/camel/blob/4b784473/components/camel-sjms/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/resources/META-INF/spring.factories b/components/camel-sjms/src/main/resources/META-INF/spring.factories
index a65a16e..7fe9139 100644
--- a/components/camel-sjms/src/main/resources/META-INF/spring.factories
+++ b/components/camel-sjms/src/main/resources/META-INF/spring.factories
@@ -16,4 +16,6 @@
#
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.sjms.springboot.SjmsComponentAutoConfiguration,\
org.apache.camel.component.sjms.batch.springboot.SjmsBatchComponentAutoConfiguration
+
http://git-wip-us.apache.org/repos/asf/camel/blob/4b784473/components/camel-sql/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/resources/META-INF/spring.factories b/components/camel-sql/src/main/resources/META-INF/spring.factories
index 881053b..1412326 100644
--- a/components/camel-sql/src/main/resources/META-INF/spring.factories
+++ b/components/camel-sql/src/main/resources/META-INF/spring.factories
@@ -16,4 +16,6 @@
#
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.sql.springboot.SqlComponentAutoConfiguration,\
org.apache.camel.component.sql.stored.springboot.SqlStoredComponentAutoConfiguration
+
http://git-wip-us.apache.org/repos/asf/camel/blob/4b784473/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
index dc77360..f87660f 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
@@ -219,11 +219,11 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
String body = createBody(model.getShortJavaType());
MethodSource<JavaClassSource> method = javaClass.addMethod()
- .setName("configureComponent")
- .setPublic()
- .setBody(body)
- .setReturnType(model.getShortJavaType())
- .addThrows(Exception.class);
+ .setName("configureComponent")
+ .setPublic()
+ .setBody(body)
+ .setReturnType(model.getShortJavaType())
+ .addThrows(Exception.class);
method.addParameter("CamelContext", "camelContext");
method.addParameter(configurationName, "configuration");
@@ -268,34 +268,68 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
int pos = model.getJavaType().lastIndexOf(".");
String name = model.getJavaType().substring(pos + 1);
name = name.replace("Component", "ComponentAutoConfiguration");
- sb.append(packageName).append(".").append(name).append("\n");
+ String lineToAdd = packageName + "." + name + "\n";
+ sb.append(lineToAdd);
String fileName = "META-INF/spring.factories";
File target = new File(resourcesDir, fileName);
- try {
- InputStream is = getClass().getClassLoader().getResourceAsStream("license-header.txt");
- String header = loadText(is);
- String code = sb.toString();
- // add empty new line after header
- code = header + "\n" + code;
- getLog().debug("Source code generated:\n" + code);
+ if (target.exists()) {
+ try {
+ // is the auto configuration already in the file
+ boolean found = false;
+ List<String> lines = FileUtils.readLines(target);
+ for (String line : lines) {
+ if (line.contains(name)) {
+ found = true;
+ break;
+ }
+ }
+
+ if (found) {
+ getLog().info("No changes to existing file: " + target);
+ } else {
+ // find last non empty line, so we can add our new line after that
+ int lastLine = 0;
+ for (int i = lines.size() - 1; i >= 0; i--) {
+ String line = lines.get(i);
+ if (!line.trim().isEmpty()) {
+ // adjust existing line so its being continued
+ line = line + ",\\";
+ lines.set(i, line);
+ lastLine = i;
+ break;
+ }
+ }
+ lines.add(lastLine + 1, lineToAdd);
+
+ StringBuilder code = new StringBuilder();
+ for (String line : lines) {
+ code.append(line).append("\n");
+ }
- if (target.exists()) {
- String existing = FileUtils.readFileToString(target);
- if (!code.equals(existing)) {
// update
- FileUtils.write(target, code, false);
+ FileUtils.write(target, code.toString(), false);
getLog().info("Updated existing file: " + target);
- } else {
- getLog().info("No changes to existing file: " + target);
}
- } else {
+ } catch (Exception e) {
+ throw new MojoFailureException("IOError with file " + target, e);
+ }
+ } else {
+ // create new file
+ try {
+ InputStream is = getClass().getClassLoader().getResourceAsStream("license-header.txt");
+ String header = loadText(is);
+ String code = sb.toString();
+ // add empty new line after header
+ code = header + "\n" + code;
+ getLog().debug("Source code generated:\n" + code);
+
FileUtils.write(target, code);
getLog().info("Created file: " + target);
+ } catch (Exception e) {
+ throw new MojoFailureException("IOError with file " + target, e);
}
- } catch (Exception e) {
- throw new MojoFailureException("IOError with file " + target, e);
}
}
@@ -386,19 +420,19 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
List<Map<String, String>> rows = JSonSchemaHelper.parseJsonSchema("component", json, false);
ComponentModel component = new ComponentModel();
- component.setScheme(JSonSchemaHelper.getSafeValue("scheme", rows));
- component.setSyntax(JSonSchemaHelper.getSafeValue("syntax", rows));
- component.setAlternativeSyntax(JSonSchemaHelper.getSafeValue("alternativeSyntax", rows));
- component.setTitle(JSonSchemaHelper.getSafeValue("title", rows));
- component.setDescription(JSonSchemaHelper.getSafeValue("description", rows));
- component.setLabel(JSonSchemaHelper.getSafeValue("label", rows));
- component.setDeprecated(JSonSchemaHelper.getSafeValue("deprecated", rows));
- component.setConsumerOnly(JSonSchemaHelper.getSafeValue("consumerOnly", rows));
- component.setProducerOnly(JSonSchemaHelper.getSafeValue("producerOnly", rows));
- component.setJavaType(JSonSchemaHelper.getSafeValue("javaType", rows));
- component.setGroupId(JSonSchemaHelper.getSafeValue("groupId", rows));
- component.setArtifactId(JSonSchemaHelper.getSafeValue("artifactId", rows));
- component.setVersion(JSonSchemaHelper.getSafeValue("version", rows));
+ component.setScheme(getSafeValue("scheme", rows));
+ component.setSyntax(getSafeValue("syntax", rows));
+ component.setAlternativeSyntax(getSafeValue("alternativeSyntax", rows));
+ component.setTitle(getSafeValue("title", rows));
+ component.setDescription(getSafeValue("description", rows));
+ component.setLabel(getSafeValue("label", rows));
+ component.setDeprecated(getSafeValue("deprecated", rows));
+ component.setConsumerOnly(getSafeValue("consumerOnly", rows));
+ component.setProducerOnly(getSafeValue("producerOnly", rows));
+ component.setJavaType(getSafeValue("javaType", rows));
+ component.setGroupId(getSafeValue("groupId", rows));
+ component.setArtifactId(getSafeValue("artifactId", rows));
+ component.setVersion(getSafeValue("version", rows));
rows = JSonSchemaHelper.parseJsonSchema("componentProperties", json, true);
for (Map<String, String> row : rows) {
[02/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
deleted file mode 100644
index a9db8d3..0000000
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.undertow.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.undertow.UndertowHttpBinding;
-import org.apache.camel.util.jsse.SSLContextParameters;
-
-/**
- * The undertow component provides HTTP-based endpoints for consuming and
- * producing HTTP requests.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.undertow")
-public class UndertowComponentConfiguration {
-
- /**
- * To use a custom HttpBinding to control the mapping between Camel message
- * and HttpClient.
- */
- private UndertowHttpBinding undertowHttpBinding;
- /**
- * To configure security using SSLContextParameters
- */
- private SSLContextParameters sslContextParameters;
-
- public UndertowHttpBinding getUndertowHttpBinding() {
- return undertowHttpBinding;
- }
-
- public void setUndertowHttpBinding(UndertowHttpBinding undertowHttpBinding) {
- this.undertowHttpBinding = undertowHttpBinding;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-undertow/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/resources/META-INF/spring.factories b/components/camel-undertow/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index effa0bf..0000000
--- a/components/camel-undertow/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.undertow.springboot.UndertowComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
deleted file mode 100644
index fd682f2..0000000
--- a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.velocity.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.velocity.VelocityComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(VelocityComponentConfiguration.class)
-public class VelocityComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(VelocityComponent.class)
- public VelocityComponent configureComponent(CamelContext camelContext,
- VelocityComponentConfiguration configuration) throws Exception {
- VelocityComponent component = new VelocityComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
deleted file mode 100644
index 536296a..0000000
--- a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.velocity.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.velocity.app.VelocityEngine;
-
-/**
- * Transforms the message using a Velocity template.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.velocity")
-public class VelocityComponentConfiguration {
-
- /**
- * To use the VelocityEngine otherwise a new engine is created
- */
- private VelocityEngine velocityEngine;
-
- public VelocityEngine getVelocityEngine() {
- return velocityEngine;
- }
-
- public void setVelocityEngine(VelocityEngine velocityEngine) {
- this.velocityEngine = velocityEngine;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-velocity/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/main/resources/META-INF/spring.factories b/components/camel-velocity/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index aca4338..0000000
--- a/components/camel-velocity/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.velocity.springboot.VelocityComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
deleted file mode 100644
index 4641fd3..0000000
--- a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.vertx.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.vertx.VertxComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(VertxComponentConfiguration.class)
-public class VertxComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(VertxComponent.class)
- public VertxComponent configureComponent(CamelContext camelContext,
- VertxComponentConfiguration configuration) throws Exception {
- VertxComponent component = new VertxComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
deleted file mode 100644
index 16e3779..0000000
--- a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.vertx.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import io.vertx.core.spi.VertxFactory;
-import io.vertx.core.VertxOptions;
-import io.vertx.core.Vertx;
-
-/**
- * The vertx component is used for sending and receive messages from a vertx
- * event bus.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.vertx")
-public class VertxComponentConfiguration {
-
- /**
- * To use a custom VertxFactory implementation
- */
- private VertxFactory vertxFactory;
- /**
- * Hostname for creating an embedded clustered EventBus
- */
- private String host;
- /**
- * Port for creating an embedded clustered EventBus
- */
- private int port;
- /**
- * Options to use for creating vertx
- */
- private VertxOptions vertxOptions;
- /**
- * To use the given vertx EventBus instead of creating a new embedded
- * EventBus
- */
- private Vertx vertx;
- /**
- * Timeout in seconds to wait for clustered Vertx EventBus to be ready. The
- * default value is 60.
- */
- private int timeout;
-
- public VertxFactory getVertxFactory() {
- return vertxFactory;
- }
-
- public void setVertxFactory(VertxFactory vertxFactory) {
- this.vertxFactory = vertxFactory;
- }
-
- public String getHost() {
- return host;
- }
-
- public void setHost(String host) {
- this.host = host;
- }
-
- public int getPort() {
- return port;
- }
-
- public void setPort(int port) {
- this.port = port;
- }
-
- public VertxOptions getVertxOptions() {
- return vertxOptions;
- }
-
- public void setVertxOptions(VertxOptions vertxOptions) {
- this.vertxOptions = vertxOptions;
- }
-
- public Vertx getVertx() {
- return vertx;
- }
-
- public void setVertx(Vertx vertx) {
- this.vertx = vertx;
- }
-
- public int getTimeout() {
- return timeout;
- }
-
- public void setTimeout(int timeout) {
- this.timeout = timeout;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-vertx/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-vertx/src/main/resources/META-INF/spring.factories b/components/camel-vertx/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 2b84e83..0000000
--- a/components/camel-vertx/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.vertx.springboot.VertxComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-weather/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java b/components/camel-weather/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java
deleted file mode 100644
index ad400e8..0000000
--- a/components/camel-weather/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.weather.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.weather.WeatherComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(WeatherComponentConfiguration.class)
-public class WeatherComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(WeatherComponent.class)
- public WeatherComponent configureComponent(CamelContext camelContext,
- WeatherComponentConfiguration configuration) throws Exception {
- WeatherComponent component = new WeatherComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-weather/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentConfiguration.java b/components/camel-weather/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentConfiguration.java
deleted file mode 100644
index 0cabac9..0000000
--- a/components/camel-weather/src/main/java/org/apache/camel/component/weather/springboot/WeatherComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.weather.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Polls the weather information from Open Weather Map.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.weather")
-public class WeatherComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-weather/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/main/resources/META-INF/spring.factories b/components/camel-weather/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 123383c..0000000
--- a/components/camel-weather/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.weather.springboot.WeatherComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
deleted file mode 100644
index e094710..0000000
--- a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.websocket.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.websocket.WebsocketComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(WebsocketComponentConfiguration.class)
-public class WebsocketComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(WebsocketComponent.class)
- public WebsocketComponent configureComponent(CamelContext camelContext,
- WebsocketComponentConfiguration configuration) throws Exception {
- WebsocketComponent component = new WebsocketComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
deleted file mode 100644
index 18d111e..0000000
--- a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
+++ /dev/null
@@ -1,192 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.websocket.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.eclipse.jetty.util.thread.ThreadPool;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import java.util.Map;
-import org.apache.camel.component.websocket.WebSocketFactory;
-
-/**
- * The websocket component provides websocket endpoints for communicating with
- * clients using websocket.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.websocket")
-public class WebsocketComponentConfiguration {
-
- /**
- * Set a resource path for static resources (such as .html files etc). The
- * resources can be loaded from classpath if you prefix with classpath:
- * otherwise the resources is loaded from file system or from JAR files. For
- * example to load from root classpath use classpath:. or
- * classpath:WEB-INF/static If not configured (eg null) then no static
- * resource is in use.
- */
- private String staticResources;
- /**
- * The hostname. The default value is 0.0.0.0
- */
- private String host;
- /**
- * The port number. The default value is 9292
- */
- private Integer port;
- /**
- * The password for the keystore when using SSL.
- */
- private String sslKeyPassword;
- /**
- * The password when using SSL.
- */
- private String sslPassword;
- /**
- * The path to the keystore.
- */
- private String sslKeystore;
- /**
- * If this option is true Jetty JMX support will be enabled for this
- * endpoint. See Jetty JMX support for more details.
- */
- private boolean enableJmx;
- /**
- * To set a value for minimum number of threads in server thread pool.
- * MaxThreads/minThreads or threadPool fields are required due to switch to
- * Jetty9. The default values for minThreads is 1.
- */
- private Integer minThreads;
- /**
- * To set a value for maximum number of threads in server thread pool.
- * MaxThreads/minThreads or threadPool fields are required due to switch to
- * Jetty9. The default values for maxThreads is 1 2 noCores.
- */
- private Integer maxThreads;
- /**
- * To use a custom thread pool for the server. MaxThreads/minThreads or
- * threadPool fields are required due to switch to Jetty9.
- */
- private ThreadPool threadPool;
- /**
- * To configure security using SSLContextParameters
- */
- private SSLContextParameters sslContextParameters;
- /**
- * To configure a map which contains custom WebSocketFactory for sub
- * protocols. The key in the map is the sub protocol. The default key is
- * reserved for the default implementation.
- */
- private Map<java.lang.String, org.apache.camel.component.websocket.WebSocketFactory> socketFactory;
-
- public String getStaticResources() {
- return staticResources;
- }
-
- public void setStaticResources(String staticResources) {
- this.staticResources = staticResources;
- }
-
- public String getHost() {
- return host;
- }
-
- public void setHost(String host) {
- this.host = host;
- }
-
- public Integer getPort() {
- return port;
- }
-
- public void setPort(Integer port) {
- this.port = port;
- }
-
- public String getSslKeyPassword() {
- return sslKeyPassword;
- }
-
- public void setSslKeyPassword(String sslKeyPassword) {
- this.sslKeyPassword = sslKeyPassword;
- }
-
- public String getSslPassword() {
- return sslPassword;
- }
-
- public void setSslPassword(String sslPassword) {
- this.sslPassword = sslPassword;
- }
-
- public String getSslKeystore() {
- return sslKeystore;
- }
-
- public void setSslKeystore(String sslKeystore) {
- this.sslKeystore = sslKeystore;
- }
-
- public boolean isEnableJmx() {
- return enableJmx;
- }
-
- public void setEnableJmx(boolean enableJmx) {
- this.enableJmx = enableJmx;
- }
-
- public Integer getMinThreads() {
- return minThreads;
- }
-
- public void setMinThreads(Integer minThreads) {
- this.minThreads = minThreads;
- }
-
- public Integer getMaxThreads() {
- return maxThreads;
- }
-
- public void setMaxThreads(Integer maxThreads) {
- this.maxThreads = maxThreads;
- }
-
- public ThreadPool getThreadPool() {
- return threadPool;
- }
-
- public void setThreadPool(ThreadPool threadPool) {
- this.threadPool = threadPool;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-
- public Map<String, WebSocketFactory> getSocketFactory() {
- return socketFactory;
- }
-
- public void setSocketFactory(Map<String, WebSocketFactory> socketFactory) {
- this.socketFactory = socketFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-websocket/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/resources/META-INF/spring.factories b/components/camel-websocket/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index f5a3522..0000000
--- a/components/camel-websocket/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.websocket.springboot.WebsocketComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java b/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java
deleted file mode 100644
index c2230b2..0000000
--- a/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.xmlrpc.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.xmlrpc.XmlRpcComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(XmlRpcComponentConfiguration.class)
-public class XmlRpcComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(XmlRpcComponent.class)
- public XmlRpcComponent configureComponent(CamelContext camelContext,
- XmlRpcComponentConfiguration configuration) throws Exception {
- XmlRpcComponent component = new XmlRpcComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentConfiguration.java b/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentConfiguration.java
deleted file mode 100644
index 31b5941..0000000
--- a/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/springboot/XmlRpcComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.xmlrpc.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The xmlrpc component is used for sending messages to a XML RPC service.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.xmlrpc")
-public class XmlRpcComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmlrpc/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-xmlrpc/src/main/resources/META-INF/spring.factories b/components/camel-xmlrpc/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 4ae096a..0000000
--- a/components/camel-xmlrpc/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.xmlrpc.springboot.XmlRpcComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
deleted file mode 100644
index 1973255..0000000
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.xmlsecurity.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.xmlsecurity.XmlSignatureComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(XmlSignatureComponentConfiguration.class)
-public class XmlSignatureComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(XmlSignatureComponent.class)
- public XmlSignatureComponent configureComponent(CamelContext camelContext,
- XmlSignatureComponentConfiguration configuration) throws Exception {
- XmlSignatureComponent component = new XmlSignatureComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
deleted file mode 100644
index c49951f..0000000
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.xmlsecurity.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.xmlsecurity.processor.XmlSignerConfiguration;
-import org.apache.camel.component.xmlsecurity.processor.XmlVerifierConfiguration;
-
-/**
- * Used to sign and verify exchanges using the XML signature specification.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.xmlsecurity")
-public class XmlSignatureComponentConfiguration {
-
- /**
- * To use a shared XmlSignerConfiguration configuration to use as base for
- * configuring endpoints.
- */
- private XmlSignerConfiguration signerConfiguration;
- /**
- * To use a shared XmlVerifierConfiguration configuration to use as base for
- * configuring endpoints.
- */
- private XmlVerifierConfiguration verifierConfiguration;
-
- public XmlSignerConfiguration getSignerConfiguration() {
- return signerConfiguration;
- }
-
- public void setSignerConfiguration(
- XmlSignerConfiguration signerConfiguration) {
- this.signerConfiguration = signerConfiguration;
- }
-
- public XmlVerifierConfiguration getVerifierConfiguration() {
- return verifierConfiguration;
- }
-
- public void setVerifierConfiguration(
- XmlVerifierConfiguration verifierConfiguration) {
- this.verifierConfiguration = verifierConfiguration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmlsecurity/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/resources/META-INF/spring.factories b/components/camel-xmlsecurity/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 04f85dd..0000000
--- a/components/camel-xmlsecurity/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.xmlsecurity.springboot.XmlSignatureComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java b/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java
deleted file mode 100644
index 8ce56c8..0000000
--- a/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.xmpp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.xmpp.XmppComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(XmppComponentConfiguration.class)
-public class XmppComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(XmppComponent.class)
- public XmppComponent configureComponent(CamelContext camelContext,
- XmppComponentConfiguration configuration) throws Exception {
- XmppComponent component = new XmppComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentConfiguration.java b/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentConfiguration.java
deleted file mode 100644
index 90447f8..0000000
--- a/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/springboot/XmppComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.xmpp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * To send and receive messages from a XMPP (chat) server.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.xmpp")
-public class XmppComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-xmpp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-xmpp/src/main/resources/META-INF/spring.factories b/components/camel-xmpp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index e3b9af3..0000000
--- a/components/camel-xmpp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.xmpp.springboot.XmppComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
deleted file mode 100644
index ebd104a..0000000
--- a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.yammer.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.yammer.YammerComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(YammerComponentConfiguration.class)
-public class YammerComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(YammerComponent.class)
- public YammerComponent configureComponent(CamelContext camelContext,
- YammerComponentConfiguration configuration) throws Exception {
- YammerComponent component = new YammerComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
deleted file mode 100644
index 26bfa25..0000000
--- a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.yammer.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.yammer.YammerConfiguration;
-
-/**
- * The yammer component allows you to interact with the Yammer enterprise social
- * network.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.yammer")
-public class YammerComponentConfiguration {
-
- /**
- * The consumer key
- */
- private String consumerKey;
- /**
- * The consumer secret
- */
- private String consumerSecret;
- /**
- * The access token
- */
- private String accessToken;
- /**
- * To use a shared yammer configuration
- */
- private YammerConfiguration config;
-
- public String getConsumerKey() {
- return consumerKey;
- }
-
- public void setConsumerKey(String consumerKey) {
- this.consumerKey = consumerKey;
- }
-
- public String getConsumerSecret() {
- return consumerSecret;
- }
-
- public void setConsumerSecret(String consumerSecret) {
- this.consumerSecret = consumerSecret;
- }
-
- public String getAccessToken() {
- return accessToken;
- }
-
- public void setAccessToken(String accessToken) {
- this.accessToken = accessToken;
- }
-
- public YammerConfiguration getConfig() {
- return config;
- }
-
- public void setConfig(YammerConfiguration config) {
- this.config = config;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-yammer/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-yammer/src/main/resources/META-INF/spring.factories b/components/camel-yammer/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 898e683..0000000
--- a/components/camel-yammer/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.yammer.springboot.YammerComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
deleted file mode 100644
index fded42d..0000000
--- a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.zookeeper.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.zookeeper.ZooKeeperComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ZooKeeperComponentConfiguration.class)
-public class ZooKeeperComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ZooKeeperComponent.class)
- public ZooKeeperComponent configureComponent(CamelContext camelContext,
- ZooKeeperComponentConfiguration configuration) throws Exception {
- ZooKeeperComponent component = new ZooKeeperComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
deleted file mode 100644
index 50e047d..0000000
--- a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.zookeeper.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.zookeeper.ZooKeeperConfiguration;
-
-/**
- * The zookeeper component allows interaction with a ZooKeeper cluster.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.zookeeper")
-public class ZooKeeperComponentConfiguration {
-
- /**
- * To use a shared ZooKeeperConfiguration
- */
- private ZooKeeperConfiguration configuration;
-
- public ZooKeeperConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(ZooKeeperConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-zookeeper/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/main/resources/META-INF/spring.factories b/components/camel-zookeeper/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 998f9e1..0000000
--- a/components/camel-zookeeper/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.zookeeper.springboot.ZooKeeperComponentAutoConfiguration
[15/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentConfiguration.java
deleted file mode 100644
index 4ecf778..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.ddb.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-ddb component is used for storing and retrieving data from Amazon's
- * DynamoDB service.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-ddb")
-public class DdbComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java
deleted file mode 100644
index 4311f4e..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.ddbstream.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.ddbstream.DdbStreamComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(DdbStreamComponentConfiguration.class)
-public class DdbStreamComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DdbStreamComponent.class)
- public DdbStreamComponent configureComponent(CamelContext camelContext,
- DdbStreamComponentConfiguration configuration) throws Exception {
- DdbStreamComponent component = new DdbStreamComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentConfiguration.java
deleted file mode 100644
index 44cf331..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.ddbstream.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-ddbstream component is used for working with Amazon DynamoDB Streams.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-ddbstream")
-public class DdbStreamComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java
deleted file mode 100644
index a216c78..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.ec2.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.ec2.EC2Component;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(EC2ComponentConfiguration.class)
-public class EC2ComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(EC2Component.class)
- public EC2Component configureComponent(CamelContext camelContext,
- EC2ComponentConfiguration configuration) throws Exception {
- EC2Component component = new EC2Component();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentConfiguration.java
deleted file mode 100644
index 21d11b2..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.ec2.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-ec2 is used for managing Amazon EC2 instances.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-ec2")
-public class EC2ComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java
deleted file mode 100644
index 2abe28b..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.kinesis.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.kinesis.KinesisComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(KinesisComponentConfiguration.class)
-public class KinesisComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(KinesisComponent.class)
- public KinesisComponent configureComponent(CamelContext camelContext,
- KinesisComponentConfiguration configuration) throws Exception {
- KinesisComponent component = new KinesisComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentConfiguration.java
deleted file mode 100644
index abaf68e..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.kinesis.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-kinesis component is for consuming records from Amazon Kinesis
- * Streams.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-kinesis")
-public class KinesisComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java
deleted file mode 100644
index 53507b3..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.s3.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.s3.S3Component;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(S3ComponentConfiguration.class)
-public class S3ComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(S3Component.class)
- public S3Component configureComponent(CamelContext camelContext,
- S3ComponentConfiguration configuration) throws Exception {
- S3Component component = new S3Component();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java
deleted file mode 100644
index 8e96dba..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.s3.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-s3 component is used for storing and retrieving objecct from Amazon
- * S3 Storage Service.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-s3")
-public class S3ComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java
deleted file mode 100644
index e96e0d0..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.sdb.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.sdb.SdbComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SdbComponentConfiguration.class)
-public class SdbComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SdbComponent.class)
- public SdbComponent configureComponent(CamelContext camelContext,
- SdbComponentConfiguration configuration) throws Exception {
- SdbComponent component = new SdbComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentConfiguration.java
deleted file mode 100644
index 4460c24..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.sdb.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-sdb component is for storing and retrieving data from/to Amazon's SDB
- * service.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-sdb")
-public class SdbComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java
deleted file mode 100644
index 26029b5..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.ses.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.ses.SesComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SesComponentConfiguration.class)
-public class SesComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SesComponent.class)
- public SesComponent configureComponent(CamelContext camelContext,
- SesComponentConfiguration configuration) throws Exception {
- SesComponent component = new SesComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentConfiguration.java
deleted file mode 100644
index afbb20f..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.ses.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-ses component is used for sending emails with Amazon's SES service.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-ses")
-public class SesComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java
deleted file mode 100644
index a9d2ad1..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.sns.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.sns.SnsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SnsComponentConfiguration.class)
-public class SnsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SnsComponent.class)
- public SnsComponent configureComponent(CamelContext camelContext,
- SnsComponentConfiguration configuration) throws Exception {
- SnsComponent component = new SnsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java
deleted file mode 100644
index 31cf3cd..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.sns.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-sns component is used for sending messages to an Amazon Simple
- * Notification Topic.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-sns")
-public class SnsComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java
deleted file mode 100644
index d6e2644..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.sqs.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.sqs.SqsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SqsComponentConfiguration.class)
-public class SqsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SqsComponent.class)
- public SqsComponent configureComponent(CamelContext camelContext,
- SqsComponentConfiguration configuration) throws Exception {
- SqsComponent component = new SqsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentConfiguration.java
deleted file mode 100644
index 9cf8d88..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.sqs.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-sqs component is used for sending and receiving messages to Amazon's
- * SQS service.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-sqs")
-public class SqsComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java
deleted file mode 100644
index 12b3134..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.swf.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.aws.swf.SWFComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SWFComponentConfiguration.class)
-public class SWFComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SWFComponent.class)
- public SWFComponent configureComponent(CamelContext camelContext,
- SWFComponentConfiguration configuration) throws Exception {
- SWFComponent component = new SWFComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentConfiguration.java
deleted file mode 100644
index 1a6b70e..0000000
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.aws.swf.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The aws-swf component is used for managing workflows from Amazon Simple
- * Workflow.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.aws-swf")
-public class SWFComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/resources/META-INF/spring.factories b/components/camel-aws/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a02ce85..0000000
--- a/components/camel-aws/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.aws.swf.springboot.SWFComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java b/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
deleted file mode 100644
index 69eb85d..0000000
--- a/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.bean.validator.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.bean.validator.BeanValidatorComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(BeanValidatorComponentConfiguration.class)
-public class BeanValidatorComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BeanValidatorComponent.class)
- public BeanValidatorComponent configureComponent(CamelContext camelContext,
- BeanValidatorComponentConfiguration configuration) throws Exception {
- BeanValidatorComponent component = new BeanValidatorComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentConfiguration.java b/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentConfiguration.java
deleted file mode 100644
index ac9cb97..0000000
--- a/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.bean.validator.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The Validator component performs bean validation of the message body using
- * the Java Bean Validation API.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.bean-validator")
-public class BeanValidatorComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-bean-validator/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-bean-validator/src/main/resources/META-INF/spring.factories b/components/camel-bean-validator/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3658c6c..0000000
--- a/components/camel-bean-validator/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.bean.validator.springboot.BeanValidatorComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
deleted file mode 100644
index 6b6297e..0000000
--- a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.beanstalk.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.beanstalk.BeanstalkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(BeanstalkComponentConfiguration.class)
-public class BeanstalkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BeanstalkComponent.class)
- public BeanstalkComponent configureComponent(CamelContext camelContext,
- BeanstalkComponentConfiguration configuration) throws Exception {
- BeanstalkComponent component = new BeanstalkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
deleted file mode 100644
index c5adda4..0000000
--- a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.beanstalk.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.beanstalk.ConnectionSettingsFactory;
-
-/**
- * The beanstalk component is used for job retrieval and post-processing of
- * Beanstalk jobs.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.beanstalk")
-public class BeanstalkComponentConfiguration {
-
- /**
- * Custom ConnectionSettingsFactory. Specify which ConnectionSettingsFactory
- * to use to make connections to Beanstalkd. Especially useful for unit
- * testing without beanstalkd daemon (you can mock ConnectionSettings)
- */
- private ConnectionSettingsFactory connectionSettingsFactory;
-
- public ConnectionSettingsFactory getConnectionSettingsFactory() {
- return connectionSettingsFactory;
- }
-
- public void setConnectionSettingsFactory(
- ConnectionSettingsFactory connectionSettingsFactory) {
- this.connectionSettingsFactory = connectionSettingsFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-beanstalk/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/main/resources/META-INF/spring.factories b/components/camel-beanstalk/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9d05330..0000000
--- a/components/camel-beanstalk/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.beanstalk.springboot.BeanstalkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
deleted file mode 100644
index a5540ed..0000000
--- a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.box.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.box.BoxComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(BoxComponentConfiguration.class)
-public class BoxComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BoxComponent.class)
- public BoxComponent configureComponent(CamelContext camelContext,
- BoxComponentConfiguration configuration) throws Exception {
- BoxComponent component = new BoxComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
deleted file mode 100644
index ff0bbaa..0000000
--- a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.box.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.box.BoxConfiguration;
-
-/**
- * For uploading downloading and managing files folders groups collaborations
- * etc on box DOT com.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.box")
-public class BoxComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private BoxConfiguration configuration;
-
- public BoxConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(BoxConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-box/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/resources/META-INF/spring.factories b/components/camel-box/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 1cecc33..0000000
--- a/components/camel-box/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.box.springboot.BoxComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
deleted file mode 100644
index febed50..0000000
--- a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.braintree.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.braintree.BraintreeComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(BraintreeComponentConfiguration.class)
-public class BraintreeComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BraintreeComponent.class)
- public BraintreeComponent configureComponent(CamelContext camelContext,
- BraintreeComponentConfiguration configuration) throws Exception {
- BraintreeComponent component = new BraintreeComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
deleted file mode 100644
index fbf4cb5..0000000
--- a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.braintree.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.braintree.BraintreeConfiguration;
-
-/**
- * The braintree component is used for integrating with the Braintree Payment
- * System.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.braintree")
-public class BraintreeComponentConfiguration {
-
- /**
- * To use the shared configuration
- */
- private BraintreeConfiguration configuration;
-
- public BraintreeConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(BraintreeConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-braintree/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-braintree/src/main/resources/META-INF/spring.factories b/components/camel-braintree/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 00066a8..0000000
--- a/components/camel-braintree/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.braintree.springboot.BraintreeComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
deleted file mode 100644
index c867216..0000000
--- a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cache.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.cache.CacheComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CacheComponentConfiguration.class)
-public class CacheComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CacheComponent.class)
- public CacheComponent configureComponent(CamelContext camelContext,
- CacheComponentConfiguration configuration) throws Exception {
- CacheComponent component = new CacheComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
deleted file mode 100644
index 01f927c..0000000
--- a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cache.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.cache.CacheManagerFactory;
-import org.apache.camel.component.cache.CacheConfiguration;
-
-/**
- * The cache component enables you to perform caching operations using EHCache
- * as the Cache Implementation.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cache")
-public class CacheComponentConfiguration {
-
- /**
- * To use the given CacheManagerFactory for creating the CacheManager. By
- * default the DefaultCacheManagerFactory is used.
- */
- private CacheManagerFactory cacheManagerFactory;
- /**
- * Sets the Cache configuration
- */
- private CacheConfiguration configuration;
- /**
- * Sets the location of the ehcache.xml file to load from classpath or file
- * system. By default the file is loaded from classpath:ehcache.xml
- */
- private String configurationFile;
-
- public CacheManagerFactory getCacheManagerFactory() {
- return cacheManagerFactory;
- }
-
- public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) {
- this.cacheManagerFactory = cacheManagerFactory;
- }
-
- public CacheConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(CacheConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public String getConfigurationFile() {
- return configurationFile;
- }
-
- public void setConfigurationFile(String configurationFile) {
- this.configurationFile = configurationFile;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cache/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cache/src/main/resources/META-INF/spring.factories b/components/camel-cache/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index f9df793..0000000
--- a/components/camel-cache/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.cache.springboot.CacheComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java b/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java
deleted file mode 100644
index 1d76a01..0000000
--- a/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cassandra.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.cassandra.CassandraComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(CassandraComponentConfiguration.class)
-public class CassandraComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CassandraComponent.class)
- public CassandraComponent configureComponent(CamelContext camelContext,
- CassandraComponentConfiguration configuration) throws Exception {
- CassandraComponent component = new CassandraComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentConfiguration.java b/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentConfiguration.java
deleted file mode 100644
index 81408c5..0000000
--- a/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cassandra.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The cql component aims at integrating Cassandra 2.0 using the CQL3 API (not
- * the Thrift API).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cql")
-public class CassandraComponentConfiguration {
-}
\ No newline at end of file
[10/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java
deleted file mode 100644
index e2d90e1..0000000
--- a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.infinispan.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.infinispan.InfinispanComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(InfinispanComponentConfiguration.class)
-public class InfinispanComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(InfinispanComponent.class)
- public InfinispanComponent configureComponent(CamelContext camelContext,
- InfinispanComponentConfiguration configuration) throws Exception {
- InfinispanComponent component = new InfinispanComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java
deleted file mode 100644
index d43d813..0000000
--- a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/springboot/InfinispanComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.infinispan.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * For reading/writing from/to Infinispan distributed key/value store and data
- * grid.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.infinispan")
-public class InfinispanComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-infinispan/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/main/resources/META-INF/spring.factories b/components/camel-infinispan/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 8b615eb..0000000
--- a/components/camel-infinispan/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.infinispan.springboot.InfinispanComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-irc/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-irc/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java b/components/camel-irc/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java
deleted file mode 100644
index 6eafa3d..0000000
--- a/components/camel-irc/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.irc.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.irc.IrcComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(IrcComponentConfiguration.class)
-public class IrcComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(IrcComponent.class)
- public IrcComponent configureComponent(CamelContext camelContext,
- IrcComponentConfiguration configuration) throws Exception {
- IrcComponent component = new IrcComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-irc/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-irc/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentConfiguration.java b/components/camel-irc/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentConfiguration.java
deleted file mode 100644
index c6ff7b5..0000000
--- a/components/camel-irc/src/main/java/org/apache/camel/component/irc/springboot/IrcComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.irc.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * For IRC chat communication.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.irc")
-public class IrcComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-irc/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-irc/src/main/resources/META-INF/spring.factories b/components/camel-irc/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 0e8501f..0000000
--- a/components/camel-irc/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.irc.springboot.IrcComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java b/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java
deleted file mode 100644
index 11290eb..0000000
--- a/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ironmq.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.ironmq.IronMQComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(IronMQComponentConfiguration.class)
-public class IronMQComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(IronMQComponent.class)
- public IronMQComponent configureComponent(CamelContext camelContext,
- IronMQComponentConfiguration configuration) throws Exception {
- IronMQComponent component = new IronMQComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentConfiguration.java b/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentConfiguration.java
deleted file mode 100644
index 141baf7..0000000
--- a/components/camel-ironmq/src/main/java/org/apache/camel/component/ironmq/springboot/IronMQComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.ironmq.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Represents a IronMQ endpoint.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.ironmq")
-public class IronMQComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ironmq/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-ironmq/src/main/resources/META-INF/spring.factories b/components/camel-ironmq/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7b6497f..0000000
--- a/components/camel-ironmq/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.ironmq.springboot.IronMQComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java b/components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java
deleted file mode 100644
index de65ed2..0000000
--- a/components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.javaspace.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.javaspace.JavaSpaceComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JavaSpaceComponentConfiguration.class)
-public class JavaSpaceComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JavaSpaceComponent.class)
- public JavaSpaceComponent configureComponent(CamelContext camelContext,
- JavaSpaceComponentConfiguration configuration) throws Exception {
- JavaSpaceComponent component = new JavaSpaceComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentConfiguration.java b/components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentConfiguration.java
deleted file mode 100644
index 9885b7f..0000000
--- a/components/camel-javaspace/src/main/java/org/apache/camel/component/javaspace/springboot/JavaSpaceComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.javaspace.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Sending and receiving messages through JavaSpace.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.javaspace")
-public class JavaSpaceComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-javaspace/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-javaspace/src/main/resources/META-INF/spring.factories b/components/camel-javaspace/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index cddf281..0000000
--- a/components/camel-javaspace/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.javaspace.springboot.JavaSpaceComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java b/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java
deleted file mode 100644
index fdb57d3..0000000
--- a/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jbpm.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jbpm.JBPMComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JBPMComponentConfiguration.class)
-public class JBPMComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JBPMComponent.class)
- public JBPMComponent configureComponent(CamelContext camelContext,
- JBPMComponentConfiguration configuration) throws Exception {
- JBPMComponent component = new JBPMComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentConfiguration.java b/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentConfiguration.java
deleted file mode 100644
index 0927c4e..0000000
--- a/components/camel-jbpm/src/main/java/org/apache/camel/component/jbpm/springboot/JBPMComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jbpm.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The jbpm component provides integration with jBPM (Business Process
- * Management).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jbpm")
-public class JBPMComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jbpm/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jbpm/src/main/resources/META-INF/spring.factories b/components/camel-jbpm/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 8d939e6..0000000
--- a/components/camel-jbpm/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jbpm.springboot.JBPMComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java
deleted file mode 100644
index 3804024..0000000
--- a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jcache.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jcache.JCacheComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JCacheComponentConfiguration.class)
-public class JCacheComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JCacheComponent.class)
- public JCacheComponent configureComponent(CamelContext camelContext,
- JCacheComponentConfiguration configuration) throws Exception {
- JCacheComponent component = new JCacheComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentConfiguration.java b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentConfiguration.java
deleted file mode 100644
index 493bda9..0000000
--- a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/springboot/JCacheComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jcache.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Represents a JCache endpoint.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jcache")
-public class JCacheComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jcache/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jcache/src/main/resources/META-INF/spring.factories b/components/camel-jcache/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 0dc4a4e..0000000
--- a/components/camel-jcache/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jcache.springboot.JCacheComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
deleted file mode 100644
index ff38136..0000000
--- a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jclouds.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jclouds.JcloudsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JcloudsComponentConfiguration.class)
-public class JcloudsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JcloudsComponent.class)
- public JcloudsComponent configureComponent(CamelContext camelContext,
- JcloudsComponentConfiguration configuration) throws Exception {
- JcloudsComponent component = new JcloudsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
deleted file mode 100644
index 06a6d6e..0000000
--- a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jclouds.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import java.util.List;
-import org.jclouds.blobstore.BlobStore;
-import org.jclouds.compute.ComputeService;
-
-/**
- * For interacting with cloud compute & blobstore service via jclouds.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jclouds")
-public class JcloudsComponentConfiguration {
-
- /**
- * To use the given BlobStore which must be configured when using blobstore.
- */
- private List<org.jclouds.blobstore.BlobStore> blobStores;
- /**
- * To use the given ComputeService which must be configured when use
- * compute.
- */
- private List<org.jclouds.compute.ComputeService> computeServices;
-
- public List<BlobStore> getBlobStores() {
- return blobStores;
- }
-
- public void setBlobStores(List<BlobStore> blobStores) {
- this.blobStores = blobStores;
- }
-
- public List<ComputeService> getComputeServices() {
- return computeServices;
- }
-
- public void setComputeServices(List<ComputeService> computeServices) {
- this.computeServices = computeServices;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jclouds/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jclouds/src/main/resources/META-INF/spring.factories b/components/camel-jclouds/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a73c82d..0000000
--- a/components/camel-jclouds/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jclouds.springboot.JcloudsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java b/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java
deleted file mode 100644
index 94111fc..0000000
--- a/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jcr.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jcr.JcrComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JcrComponentConfiguration.class)
-public class JcrComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JcrComponent.class)
- public JcrComponent configureComponent(CamelContext camelContext,
- JcrComponentConfiguration configuration) throws Exception {
- JcrComponent component = new JcrComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentConfiguration.java b/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentConfiguration.java
deleted file mode 100644
index ef4bd44..0000000
--- a/components/camel-jcr/src/main/java/org/apache/camel/component/jcr/springboot/JcrComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jcr.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The jcr component allows you to add/read nodes to/from a JCR compliant
- * content repository.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jcr")
-public class JcrComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jcr/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jcr/src/main/resources/META-INF/spring.factories b/components/camel-jcr/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 5cd39ef..0000000
--- a/components/camel-jcr/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jcr.springboot.JcrComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
deleted file mode 100644
index 0050ed5..0000000
--- a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jdbc.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jdbc.JdbcComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JdbcComponentConfiguration.class)
-public class JdbcComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JdbcComponent.class)
- public JdbcComponent configureComponent(CamelContext camelContext,
- JdbcComponentConfiguration configuration) throws Exception {
- JdbcComponent component = new JdbcComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
deleted file mode 100644
index e570185..0000000
--- a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jdbc.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.sql.DataSource;
-
-/**
- * The jdbc component enables you to access databases through JDBC where SQL
- * queries are sent in the message body.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jdbc")
-public class JdbcComponentConfiguration {
-
- /**
- * To use the DataSource instance instead of looking up the data source by
- * name from the registry.
- */
- private DataSource dataSource;
-
- public DataSource getDataSource() {
- return dataSource;
- }
-
- public void setDataSource(DataSource dataSource) {
- this.dataSource = dataSource;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jdbc/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/resources/META-INF/spring.factories b/components/camel-jdbc/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index b9900b5..0000000
--- a/components/camel-jdbc/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jdbc.springboot.JdbcComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
deleted file mode 100644
index b42a90c..0000000
--- a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jetty9.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jetty9.JettyHttpComponent9;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JettyHttpComponentConfiguration9.class)
-public class JettyHttpComponentAutoConfiguration9 {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JettyHttpComponent9.class)
- public JettyHttpComponent9 configureComponent(CamelContext camelContext,
- JettyHttpComponentConfiguration9 configuration) throws Exception {
- JettyHttpComponent9 component = new JettyHttpComponent9();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
deleted file mode 100644
index 30cdea1..0000000
--- a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
+++ /dev/null
@@ -1,436 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jetty9.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.eclipse.jetty.server.handler.ErrorHandler;
-import java.util.Map;
-import org.eclipse.jetty.server.Connector;
-import org.eclipse.jetty.util.thread.ThreadPool;
-import org.apache.camel.component.jetty.JettyHttpBinding;
-import org.apache.camel.http.common.HttpBinding;
-import org.apache.camel.http.common.HttpConfiguration;
-import org.eclipse.jetty.jmx.MBeanContainer;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * The jetty component provides HTTP-based endpoints for consuming and producing
- * HTTP requests.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jetty")
-public class JettyHttpComponentConfiguration9 {
-
- /**
- * The key password which is used to access the certificate's key entry in
- * the keystore (this is the same password that is supplied to the keystore
- * command's -keypass option).
- */
- private String sslKeyPassword;
- /**
- * The ssl password which is required to access the keystore file (this is
- * the same password that is supplied to the keystore command's -storepass
- * option).
- */
- private String sslPassword;
- /**
- * Specifies the location of the Java keystore file which contains the Jetty
- * server's own X.509 certificate in a key entry.
- */
- private String keystore;
- /**
- * This option is used to set the ErrorHandler that Jetty server uses.
- */
- private ErrorHandler errorHandler;
- /**
- * A map which contains per port number specific SSL connectors.
- */
- private Map<java.lang.Integer, org.eclipse.jetty.server.Connector> sslSocketConnectors;
- /**
- * A map which contains per port number specific HTTP connectors. Uses the
- * same principle as sslSocketConnectors.
- */
- private Map<java.lang.Integer, org.eclipse.jetty.server.Connector> socketConnectors;
- /**
- * To set a value for minimum number of threads in HttpClient thread pool.
- * Notice that both a min and max size must be configured.
- */
- private Integer httpClientMinThreads;
- /**
- * To set a value for maximum number of threads in HttpClient thread pool.
- * Notice that both a min and max size must be configured.
- */
- private Integer httpClientMaxThreads;
- /**
- * To set a value for minimum number of threads in server thread pool.
- * Notice that both a min and max size must be configured.
- */
- private Integer minThreads;
- /**
- * To set a value for maximum number of threads in server thread pool.
- * Notice that both a min and max size must be configured.
- */
- private Integer maxThreads;
- /**
- * To use a custom thread pool for the server. This option should only be
- * used in special circumstances.
- */
- private ThreadPool threadPool;
- /**
- * If this option is true Jetty JMX support will be enabled for this
- * endpoint.
- */
- private boolean enableJmx;
- /**
- * To use a custom org.apache.camel.component.jetty.JettyHttpBinding which
- * are used to customize how a response should be written for the producer.
- */
- private JettyHttpBinding jettyHttpBinding;
- /**
- * Not to be used - use JettyHttpBinding instead.
- */
- private HttpBinding httpBinding;
- /**
- * Jetty component does not use HttpConfiguration.
- */
- private HttpConfiguration httpConfiguration;
- /**
- * To use a existing configured org.eclipse.jetty.jmx.MBeanContainer if JMX
- * is enabled that Jetty uses for registering mbeans.
- */
- private MBeanContainer mbContainer;
- /**
- * A map which contains general SSL connector properties.
- */
- private Map<java.lang.String, java.lang.Object> sslSocketConnectorProperties;
- /**
- * A map which contains general HTTP connector properties. Uses the same
- * principle as sslSocketConnectorProperties.
- */
- private Map<java.lang.String, java.lang.Object> socketConnectorProperties;
- /**
- * Allows to set a timeout in millis when using Jetty as consumer (server).
- * By default Jetty uses 30000. You can use a value of = 0 to never expire.
- * If a timeout occurs then the request will be expired and Jetty will
- * return back a http error 503 to the client. This option is only in use
- * when using Jetty with the Asynchronous Routing Engine.
- */
- private Long continuationTimeout;
- /**
- * Whether or not to use Jetty continuations for the Jetty Server.
- */
- private boolean useContinuation;
- /**
- * To configure security using SSLContextParameters
- */
- private SSLContextParameters sslContextParameters;
- /**
- * Allows to configure a custom value of the response buffer size on the
- * Jetty connectors.
- */
- private Integer responseBufferSize;
- /**
- * Allows to configure a custom value of the request buffer size on the
- * Jetty connectors.
- */
- private Integer requestBufferSize;
- /**
- * Allows to configure a custom value of the request header size on the
- * Jetty connectors.
- */
- private Integer requestHeaderSize;
- /**
- * Allows to configure a custom value of the response header size on the
- * Jetty connectors.
- */
- private Integer responseHeaderSize;
- /**
- * To use a http proxy to configure the hostname.
- */
- private String proxyHost;
- /**
- * To use a http proxy to configure the port number.
- */
- private Integer proxyPort;
- /**
- * If the option is true jetty server will send the date header to the
- * client which sends the request. NOTE please make sure there is no any
- * other camel-jetty endpoint is share the same port otherwise this option
- * may not work as expected.
- */
- private boolean sendServerVersion;
- /**
- * Whether to allow java serialization when a request uses
- * context-type=application/x-java-serialized-object This is by default
- * turned off. If you enable this then be aware that Java will deserialize
- * the incoming data from the request to Java and that can be a potential
- * security risk.
- */
- private boolean allowJavaSerializedObject;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public String getSslKeyPassword() {
- return sslKeyPassword;
- }
-
- public void setSslKeyPassword(String sslKeyPassword) {
- this.sslKeyPassword = sslKeyPassword;
- }
-
- public String getSslPassword() {
- return sslPassword;
- }
-
- public void setSslPassword(String sslPassword) {
- this.sslPassword = sslPassword;
- }
-
- public String getKeystore() {
- return keystore;
- }
-
- public void setKeystore(String keystore) {
- this.keystore = keystore;
- }
-
- public ErrorHandler getErrorHandler() {
- return errorHandler;
- }
-
- public void setErrorHandler(ErrorHandler errorHandler) {
- this.errorHandler = errorHandler;
- }
-
- public Map<Integer, Connector> getSslSocketConnectors() {
- return sslSocketConnectors;
- }
-
- public void setSslSocketConnectors(
- Map<Integer, Connector> sslSocketConnectors) {
- this.sslSocketConnectors = sslSocketConnectors;
- }
-
- public Map<Integer, Connector> getSocketConnectors() {
- return socketConnectors;
- }
-
- public void setSocketConnectors(Map<Integer, Connector> socketConnectors) {
- this.socketConnectors = socketConnectors;
- }
-
- public Integer getHttpClientMinThreads() {
- return httpClientMinThreads;
- }
-
- public void setHttpClientMinThreads(Integer httpClientMinThreads) {
- this.httpClientMinThreads = httpClientMinThreads;
- }
-
- public Integer getHttpClientMaxThreads() {
- return httpClientMaxThreads;
- }
-
- public void setHttpClientMaxThreads(Integer httpClientMaxThreads) {
- this.httpClientMaxThreads = httpClientMaxThreads;
- }
-
- public Integer getMinThreads() {
- return minThreads;
- }
-
- public void setMinThreads(Integer minThreads) {
- this.minThreads = minThreads;
- }
-
- public Integer getMaxThreads() {
- return maxThreads;
- }
-
- public void setMaxThreads(Integer maxThreads) {
- this.maxThreads = maxThreads;
- }
-
- public ThreadPool getThreadPool() {
- return threadPool;
- }
-
- public void setThreadPool(ThreadPool threadPool) {
- this.threadPool = threadPool;
- }
-
- public boolean isEnableJmx() {
- return enableJmx;
- }
-
- public void setEnableJmx(boolean enableJmx) {
- this.enableJmx = enableJmx;
- }
-
- public JettyHttpBinding getJettyHttpBinding() {
- return jettyHttpBinding;
- }
-
- public void setJettyHttpBinding(JettyHttpBinding jettyHttpBinding) {
- this.jettyHttpBinding = jettyHttpBinding;
- }
-
- public HttpBinding getHttpBinding() {
- return httpBinding;
- }
-
- public void setHttpBinding(HttpBinding httpBinding) {
- this.httpBinding = httpBinding;
- }
-
- public HttpConfiguration getHttpConfiguration() {
- return httpConfiguration;
- }
-
- public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
- this.httpConfiguration = httpConfiguration;
- }
-
- public MBeanContainer getMbContainer() {
- return mbContainer;
- }
-
- public void setMbContainer(MBeanContainer mbContainer) {
- this.mbContainer = mbContainer;
- }
-
- public Map<String, Object> getSslSocketConnectorProperties() {
- return sslSocketConnectorProperties;
- }
-
- public void setSslSocketConnectorProperties(
- Map<String, Object> sslSocketConnectorProperties) {
- this.sslSocketConnectorProperties = sslSocketConnectorProperties;
- }
-
- public Map<String, Object> getSocketConnectorProperties() {
- return socketConnectorProperties;
- }
-
- public void setSocketConnectorProperties(
- Map<String, Object> socketConnectorProperties) {
- this.socketConnectorProperties = socketConnectorProperties;
- }
-
- public Long getContinuationTimeout() {
- return continuationTimeout;
- }
-
- public void setContinuationTimeout(Long continuationTimeout) {
- this.continuationTimeout = continuationTimeout;
- }
-
- public boolean isUseContinuation() {
- return useContinuation;
- }
-
- public void setUseContinuation(boolean useContinuation) {
- this.useContinuation = useContinuation;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-
- public Integer getResponseBufferSize() {
- return responseBufferSize;
- }
-
- public void setResponseBufferSize(Integer responseBufferSize) {
- this.responseBufferSize = responseBufferSize;
- }
-
- public Integer getRequestBufferSize() {
- return requestBufferSize;
- }
-
- public void setRequestBufferSize(Integer requestBufferSize) {
- this.requestBufferSize = requestBufferSize;
- }
-
- public Integer getRequestHeaderSize() {
- return requestHeaderSize;
- }
-
- public void setRequestHeaderSize(Integer requestHeaderSize) {
- this.requestHeaderSize = requestHeaderSize;
- }
-
- public Integer getResponseHeaderSize() {
- return responseHeaderSize;
- }
-
- public void setResponseHeaderSize(Integer responseHeaderSize) {
- this.responseHeaderSize = responseHeaderSize;
- }
-
- public String getProxyHost() {
- return proxyHost;
- }
-
- public void setProxyHost(String proxyHost) {
- this.proxyHost = proxyHost;
- }
-
- public Integer getProxyPort() {
- return proxyPort;
- }
-
- public void setProxyPort(Integer proxyPort) {
- this.proxyPort = proxyPort;
- }
-
- public boolean isSendServerVersion() {
- return sendServerVersion;
- }
-
- public void setSendServerVersion(boolean sendServerVersion) {
- this.sendServerVersion = sendServerVersion;
- }
-
- public boolean isAllowJavaSerializedObject() {
- return allowJavaSerializedObject;
- }
-
- public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
- this.allowJavaSerializedObject = allowJavaSerializedObject;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jetty9/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/resources/META-INF/spring.factories b/components/camel-jetty9/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 4665848..0000000
--- a/components/camel-jetty9/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jetty9.springboot.JettyHttpComponentAutoConfiguration9
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
deleted file mode 100644
index 6233f20..0000000
--- a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jgroups.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jgroups.JGroupsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JGroupsComponentConfiguration.class)
-public class JGroupsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JGroupsComponent.class)
- public JGroupsComponent configureComponent(CamelContext camelContext,
- JGroupsComponentConfiguration configuration) throws Exception {
- JGroupsComponent component = new JGroupsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
deleted file mode 100644
index 922ef70..0000000
--- a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jgroups.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.jgroups.Channel;
-
-/**
- * The jgroups component provides exchange of messages between Camel and JGroups
- * clusters.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jgroups")
-public class JGroupsComponentConfiguration {
-
- /**
- * Channel to use
- */
- private Channel channel;
- /**
- * Specifies configuration properties of the JChannel used by the endpoint.
- */
- private String channelProperties;
- /**
- * If set to true the consumer endpoint will receive org.jgroups.View
- * messages as well (not only org.jgroups.Message instances). By default
- * only regular messages are consumed by the endpoint.
- */
- private boolean enableViewMessages;
-
- public Channel getChannel() {
- return channel;
- }
-
- public void setChannel(Channel channel) {
- this.channel = channel;
- }
-
- public String getChannelProperties() {
- return channelProperties;
- }
-
- public void setChannelProperties(String channelProperties) {
- this.channelProperties = channelProperties;
- }
-
- public boolean isEnableViewMessages() {
- return enableViewMessages;
- }
-
- public void setEnableViewMessages(boolean enableViewMessages) {
- this.enableViewMessages = enableViewMessages;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jgroups/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/resources/META-INF/spring.factories b/components/camel-jgroups/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index f0e9df6..0000000
--- a/components/camel-jgroups/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jgroups.springboot.JGroupsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java b/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java
deleted file mode 100644
index 634b3c9..0000000
--- a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.jing.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.validator.jing.JingComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JingComponentConfiguration.class)
-public class JingComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JingComponent.class)
- public JingComponent configureComponent(CamelContext camelContext,
- JingComponentConfiguration configuration) throws Exception {
- JingComponent component = new JingComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[32/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
index 42a7a83..58ec0aa0 100644
--- a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
+++ b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.google.calendar.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.google.calendar.GoogleCalendarComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.google.calendar.GoogleCalendarComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
index 0a60df0..ebc6f52 100644
--- a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
+++ b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.google.calendar.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.google.calendar.GoogleCalendarConfiguration;
import org.apache.camel.component.google.calendar.GoogleCalendarClientFactory;
+import org.apache.camel.component.google.calendar.GoogleCalendarConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The google-calendar component provides access to Google Calendar.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
index 9ee4644..2f0eec7 100644
--- a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
+++ b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.google.drive.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.google.drive.GoogleDriveComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.google.drive.GoogleDriveComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
index 47cad60..bad8424 100644
--- a/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
+++ b/components/camel-google-drive/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.google.drive.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.google.drive.GoogleDriveConfiguration;
import org.apache.camel.component.google.drive.GoogleDriveClientFactory;
+import org.apache.camel.component.google.drive.GoogleDriveConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The google-drive component provides access to Google Drive file storage
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
index 6fd218e..3c1019f 100644
--- a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
+++ b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.google.mail.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.google.mail.GoogleMailComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.google.mail.GoogleMailComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
index 67ce178..06918ec 100644
--- a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
+++ b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.google.mail.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.google.mail.GoogleMailConfiguration;
import org.apache.camel.component.google.mail.GoogleMailClientFactory;
+import org.apache.camel.component.google.mail.GoogleMailConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The google-mail component provides access to Google Mail.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
index 3d56cb1..4dabc56 100644
--- a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
+++ b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.guava.eventbus.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.guava.eventbus.GuavaEventBusComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.guava.eventbus.GuavaEventBusComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
index e669ac3..932a8b5 100644
--- a/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
+++ b/components/camel-guava-eventbus/src/main/java/org/apache/camel/component/guava/eventbus/springboot/GuavaEventBusComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.guava.eventbus.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.google.common.eventbus.EventBus;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The guava-eventbus component provides integration bridge between Camel and
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
index 057be33..ce27150 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.hazelcast.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.hazelcast.HazelcastComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.hazelcast.HazelcastComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
index a755c13..2a418f7 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/springboot/HazelcastComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.hazelcast.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.hazelcast.core.HazelcastInstance;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The hazelcast component allows you to work with the Hazelcast distributed
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
index 5ca5a71..6fdcc28 100644
--- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
+++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.hbase.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.hbase.HBaseComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.hbase.HBaseComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
index 5358a47..613247a 100644
--- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
+++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/springboot/HBaseComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.hbase.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.hadoop.conf.Configuration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* For reading/writing from/to an HBase store (Hadoop database).
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
index 1c0960a..8e9811d 100644
--- a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
+++ b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.hdfs.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.hdfs.HdfsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.hdfs.HdfsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
index d8ab877..d5201b9 100644
--- a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
+++ b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.hdfs.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.security.auth.login.Configuration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* For reading/writing from/to an HDFS filesystem using Hadoop 1.x.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
index fb76ec0..5e8a77a 100644
--- a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
+++ b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.hdfs2.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.hdfs2.HdfsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.hdfs2.HdfsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
index 80d5bea..cd63753 100644
--- a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
+++ b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.hdfs2.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.security.auth.login.Configuration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* For reading/writing from/to an HDFS filesystem using Hadoop 2.x.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
index eb39d0f..ddbbeff 100644
--- a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
+++ b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.http.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.http.HttpComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.http.HttpComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
index 6e2d7f3..4357a55 100644
--- a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
+++ b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java
@@ -16,12 +16,12 @@
*/
package org.apache.camel.component.http.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.http.HttpClientConfigurer;
-import org.apache.commons.httpclient.HttpConnectionManager;
import org.apache.camel.http.common.HttpBinding;
import org.apache.camel.http.common.HttpConfiguration;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.commons.httpclient.HttpConnectionManager;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* For calling out to external HTTP servers using Apache HTTP Client 3.x.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
index edce926..025e006 100644
--- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
+++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.http4.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.http4.HttpComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.http4.HttpComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
index 64bef4f..8980f63 100644
--- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
+++ b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.http4.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.http4.HttpClientConfigurer;
-import org.apache.http.conn.HttpClientConnectionManager;
import org.apache.camel.http.common.HttpBinding;
import org.apache.camel.http.common.HttpConfiguration;
-import org.apache.http.protocol.HttpContext;
+import org.apache.camel.spi.HeaderFilterStrategy;
import org.apache.camel.util.jsse.SSLContextParameters;
-import org.apache.http.conn.ssl.X509HostnameVerifier;
import org.apache.http.client.CookieStore;
-import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.http.conn.HttpClientConnectionManager;
+import org.apache.http.conn.ssl.X509HostnameVerifier;
+import org.apache.http.protocol.HttpContext;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* For calling out to external HTTP servers using Apache HTTP Client 4.x.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
index c359070..4678146 100644
--- a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
+++ b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.ibatis.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.ibatis.IBatisComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.ibatis.IBatisComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
index d29f9d1..bb02344 100644
--- a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
+++ b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.ibatis.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.ibatis.sqlmap.client.SqlMapClient;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Performs a query poll insert update or delete in a relational database using
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
index ff38136..e20b6b0 100644
--- a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
+++ b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.jclouds.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.jclouds.JcloudsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.jclouds.JcloudsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
index 06a6d6e..8aa3fc1 100644
--- a/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
+++ b/components/camel-jclouds/src/main/java/org/apache/camel/component/jclouds/springboot/JcloudsComponentConfiguration.java
@@ -16,10 +16,10 @@
*/
package org.apache.camel.component.jclouds.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.List;
import org.jclouds.blobstore.BlobStore;
import org.jclouds.compute.ComputeService;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* For interacting with cloud compute & blobstore service via jclouds.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
index 0050ed5..b4b6ff7 100644
--- a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
+++ b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.jdbc.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.jdbc.JdbcComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.jdbc.JdbcComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
index e570185..a4be1f6 100644
--- a/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
+++ b/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/springboot/JdbcComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.jdbc.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.sql.DataSource;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The jdbc component enables you to access databases through JDBC where SQL
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
index b42a90c..396702c 100644
--- a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
+++ b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentAutoConfiguration9.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.jetty9.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.jetty9.JettyHttpComponent9;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.jetty9.JettyHttpComponent9;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
index 30cdea1..fc3877c 100644
--- a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
+++ b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
@@ -16,17 +16,17 @@
*/
package org.apache.camel.component.jetty9.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.eclipse.jetty.server.handler.ErrorHandler;
import java.util.Map;
-import org.eclipse.jetty.server.Connector;
-import org.eclipse.jetty.util.thread.ThreadPool;
import org.apache.camel.component.jetty.JettyHttpBinding;
import org.apache.camel.http.common.HttpBinding;
import org.apache.camel.http.common.HttpConfiguration;
-import org.eclipse.jetty.jmx.MBeanContainer;
-import org.apache.camel.util.jsse.SSLContextParameters;
import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.eclipse.jetty.jmx.MBeanContainer;
+import org.eclipse.jetty.server.Connector;
+import org.eclipse.jetty.server.handler.ErrorHandler;
+import org.eclipse.jetty.util.thread.ThreadPool;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The jetty component provides HTTP-based endpoints for consuming and producing
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
index 6233f20..9580ac9 100644
--- a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
+++ b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.jgroups.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.jgroups.JGroupsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.jgroups.JGroupsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
index 922ef70..167cd79 100644
--- a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
+++ b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.jgroups.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.jgroups.Channel;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The jgroups component provides exchange of messages between Camel and JGroups
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
index 9f8f3b4..ef6473a 100644
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.jms.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.jms.JmsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.jms.JmsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
index 24b3d03..b027c28 100644
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
@@ -16,24 +16,24 @@
*/
package org.apache.camel.component.jms.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.jms.JmsConfiguration;
import javax.jms.ConnectionFactory;
import javax.jms.ExceptionListener;
-import org.springframework.util.ErrorHandler;
import org.apache.camel.LoggingLevel;
-import org.springframework.jms.support.converter.MessageConverter;
-import org.springframework.core.task.TaskExecutor;
-import org.springframework.transaction.PlatformTransactionManager;
-import org.springframework.jms.core.JmsOperations;
-import org.springframework.jms.support.destination.DestinationResolver;
-import org.apache.camel.component.jms.ReplyToType;
import org.apache.camel.component.jms.DefaultTaskExecutorType;
+import org.apache.camel.component.jms.JmsConfiguration;
import org.apache.camel.component.jms.JmsKeyFormatStrategy;
-import org.springframework.context.ApplicationContext;
+import org.apache.camel.component.jms.MessageCreatedStrategy;
import org.apache.camel.component.jms.QueueBrowseStrategy;
+import org.apache.camel.component.jms.ReplyToType;
import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.jms.MessageCreatedStrategy;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.context.ApplicationContext;
+import org.springframework.core.task.TaskExecutor;
+import org.springframework.jms.core.JmsOperations;
+import org.springframework.jms.support.converter.MessageConverter;
+import org.springframework.jms.support.destination.DestinationResolver;
+import org.springframework.transaction.PlatformTransactionManager;
+import org.springframework.util.ErrorHandler;
/**
* The jms component allows messages to be sent to (or consumed from) a JMS
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
index ef135fb..13df730 100644
--- a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
+++ b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.jolt.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.jolt.JoltComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.jolt.JoltComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
index 8d27cbd..688679f 100644
--- a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
+++ b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.jolt.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.bazaarvoice.jolt.Transform;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The jolt component allows you to process a JSON messages using an JOLT
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
index 69e6c8d..52be5d5 100644
--- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
+++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.jpa.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.jpa.JpaComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.jpa.JpaComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
index 5eefcd0..44050ce 100644
--- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
+++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.jpa.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.persistence.EntityManagerFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.transaction.PlatformTransactionManager;
/**
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
index eab835a..2e88bfc 100644
--- a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
+++ b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.scp.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.scp.ScpComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.scp.ScpComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
index 27951b9..16b57a0 100644
--- a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
+++ b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.jt400.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.jt400.Jt400Component;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.jt400.Jt400Component;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
index 75f9f06..ac0cdc1 100644
--- a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
+++ b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.jt400.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.ibm.as400.access.AS400ConnectionPool;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The jt400 component allows you to exchanges messages with an AS/400 system
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
index 4e7a62e..25361ce 100644
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.kafka.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.kafka.KafkaComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.kafka.KafkaComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
index d4923bd..5460500 100644
--- a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
+++ b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/springboot/KafkaComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.kafka.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.concurrent.ExecutorService;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The kafka component allows messages to be sent to (or consumed from) Apache
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
index ef7fce7..f67932f 100644
--- a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
+++ b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.kestrel.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.kestrel.KestrelComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.kestrel.KestrelComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
index d856674..8c0e311 100644
--- a/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
+++ b/components/camel-kestrel/src/main/java/org/apache/camel/component/kestrel/springboot/KestrelComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.kestrel.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.kestrel.KestrelConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The kestrel component allows messages to be sent to (or consumed from)
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
index f8962a5..6dfec1b 100644
--- a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
+++ b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.linkedin.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.linkedin.LinkedInComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.linkedin.LinkedInComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
index aa75f41..0bd3be0 100644
--- a/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
+++ b/components/camel-linkedin/camel-linkedin-component/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.linkedin.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.linkedin.LinkedInConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The linkedin component is uses for retrieving LinkedIn user profiles
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
index 23720bd..9651996 100644
--- a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
+++ b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.lucene.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.lucene.LuceneComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.lucene.LuceneComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
index 4f639e9..cd514f7 100644
--- a/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
+++ b/components/camel-lucene/src/main/java/org/apache/camel/component/lucene/springboot/LuceneComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.lucene.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.lucene.LuceneConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To insert or query from Apache Lucene databases.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
index 67022c2..e11f070 100644
--- a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
+++ b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.mail.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.mail.MailComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.mail.MailComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
index 49baa08..7b332f1 100644
--- a/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
+++ b/components/camel-mail/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.mail.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.mail.MailConfiguration;
import org.apache.camel.component.mail.ContentTypeResolver;
+import org.apache.camel.component.mail.MailConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To send or receive emails using imap/pop3 or stmp protocols.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
index 6224637..ffa1d9a 100644
--- a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
+++ b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.metrics.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.metrics.MetricsComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.metrics.MetricsComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
index 5fd61b0..b0f478e 100644
--- a/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
+++ b/components/camel-metrics/src/main/java/org/apache/camel/component/metrics/springboot/MetricsComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.metrics.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import com.codahale.metrics.MetricRegistry;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* To collect various metrics directly from Camel routes using the DropWizard
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
index c0f6981..43791ab 100644
--- a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
+++ b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.mina.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.mina.MinaComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.mina.MinaComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
index 86f2b16..59c222e 100644
--- a/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
+++ b/components/camel-mina/src/main/java/org/apache/camel/component/mina/springboot/MinaComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.mina.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.mina.MinaConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Socket level networking using TCP or UDP with the Apache Mina 1.x library.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
index 7a2f740..2f3b391 100644
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.mina2.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.mina2.Mina2Component;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.mina2.Mina2Component;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
index 03f5663..38dcc81 100644
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/springboot/Mina2ComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.mina2.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.mina2.Mina2Configuration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Socket level networking using TCP or UDP with the Apache Mina 2.x library.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java b/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
index 0e48350..107c44f 100644
--- a/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
+++ b/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.mqtt.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.mqtt.MQTTComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.mqtt.MQTTComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
index 831df0c..87612df 100644
--- a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
+++ b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.validator.msv.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.validator.msv.MsvComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.validator.msv.MsvComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
index 5658429..71454bd 100644
--- a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
+++ b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.validator.msv.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.xml.validation.SchemaFactory;
import org.apache.camel.component.validator.ValidatorResourceResolverFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Validates the payload of a message using the MSV Library.
[04/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-servlet/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/resources/META-INF/spring.factories b/components/camel-servlet/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 878459a..0000000
--- a/components/camel-servlet/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.servlet.springboot.ServletComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java b/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
deleted file mode 100644
index 29183ee..0000000
--- a/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sip.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sip.SipComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SipComponentConfiguration.class)
-public class SipComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SipComponent.class)
- public SipComponent configureComponent(CamelContext camelContext,
- SipComponentConfiguration configuration) throws Exception {
- SipComponent component = new SipComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentConfiguration.java b/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentConfiguration.java
deleted file mode 100644
index da2f0a1..0000000
--- a/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sip.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * To send and receive messages using the SIP protocol (used in telco and
- * mobile).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sips")
-public class SipComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sip/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sip/src/main/resources/META-INF/spring.factories b/components/camel-sip/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 375f7ad..0000000
--- a/components/camel-sip/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.sip.springboot.SipComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
deleted file mode 100644
index b90c08d..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.batch.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sjms.batch.SjmsBatchComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SjmsBatchComponentConfiguration.class)
-public class SjmsBatchComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SjmsBatchComponent.class)
- public SjmsBatchComponent configureComponent(CamelContext camelContext,
- SjmsBatchComponentConfiguration configuration) throws Exception {
- SjmsBatchComponent component = new SjmsBatchComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
deleted file mode 100644
index 2fc9821..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.batch.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.jms.ConnectionFactory;
-
-/**
- * The sjms-batch component is a specialized for highly performant transactional
- * batch consumption from a JMS queue.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sjms-batch")
-public class SjmsBatchComponentConfiguration {
-
- /**
- * A ConnectionFactory is required to enable the SjmsBatchComponent.
- */
- private ConnectionFactory connectionFactory;
-
- public ConnectionFactory getConnectionFactory() {
- return connectionFactory;
- }
-
- public void setConnectionFactory(ConnectionFactory connectionFactory) {
- this.connectionFactory = connectionFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
deleted file mode 100644
index ac6d50a..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sjms.SjmsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SjmsComponentConfiguration.class)
-public class SjmsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SjmsComponent.class)
- public SjmsComponent configureComponent(CamelContext camelContext,
- SjmsComponentConfiguration configuration) throws Exception {
- SjmsComponent component = new SjmsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
deleted file mode 100644
index af45c48..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.jms.ConnectionFactory;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.sjms.jms.ConnectionResource;
-import org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy;
-import org.apache.camel.component.sjms.TransactionCommitStrategy;
-import org.apache.camel.component.sjms.jms.DestinationCreationStrategy;
-import org.apache.camel.component.sjms.taskmanager.TimedTaskManager;
-import org.apache.camel.component.sjms.jms.MessageCreatedStrategy;
-
-/**
- * The sjms component (simple jms) allows messages to be sent to (or consumed
- * from) a JMS Queue or Topic.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sjms")
-public class SjmsComponentConfiguration {
-
- /**
- * A ConnectionFactory is required to enable the SjmsComponent. It can be
- * set directly or set set as part of a ConnectionResource.
- */
- private ConnectionFactory connectionFactory;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
- /**
- * A ConnectionResource is an interface that allows for customization and
- * container control of the ConnectionFactory. See Plugable Connection
- * Resource Management for further details.
- */
- private ConnectionResource connectionResource;
- /**
- * The maximum number of connections available to endpoints started under
- * this component
- */
- private Integer connectionCount;
- /**
- * Pluggable strategy for encoding and decoding JMS keys so they can be
- * compliant with the JMS specification. Camel provides one implementation
- * out of the box: default. The default strategy will safely marshal dots
- * and hyphens (. and -). Can be used for JMS brokers which do not care
- * whether JMS header keys contain illegal characters. You can provide your
- * own implementation of the
- * org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it using
- * the notation.
- */
- private JmsKeyFormatStrategy jmsKeyFormatStrategy;
- /**
- * To configure which kind of commit strategy to use. Camel provides two
- * implementations out of the box default and batch.
- */
- private TransactionCommitStrategy transactionCommitStrategy;
- /**
- * To use a custom DestinationCreationStrategy.
- */
- private DestinationCreationStrategy destinationCreationStrategy;
- /**
- * To use a custom TimedTaskManager
- */
- private TimedTaskManager timedTaskManager;
- /**
- * To use the given MessageCreatedStrategy which are invoked when Camel
- * creates new instances of javax.jms.Message objects when Camel is sending
- * a JMS message.
- */
- private MessageCreatedStrategy messageCreatedStrategy;
-
- public ConnectionFactory getConnectionFactory() {
- return connectionFactory;
- }
-
- public void setConnectionFactory(ConnectionFactory connectionFactory) {
- this.connectionFactory = connectionFactory;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-
- public ConnectionResource getConnectionResource() {
- return connectionResource;
- }
-
- public void setConnectionResource(ConnectionResource connectionResource) {
- this.connectionResource = connectionResource;
- }
-
- public Integer getConnectionCount() {
- return connectionCount;
- }
-
- public void setConnectionCount(Integer connectionCount) {
- this.connectionCount = connectionCount;
- }
-
- public JmsKeyFormatStrategy getJmsKeyFormatStrategy() {
- return jmsKeyFormatStrategy;
- }
-
- public void setJmsKeyFormatStrategy(
- JmsKeyFormatStrategy jmsKeyFormatStrategy) {
- this.jmsKeyFormatStrategy = jmsKeyFormatStrategy;
- }
-
- public TransactionCommitStrategy getTransactionCommitStrategy() {
- return transactionCommitStrategy;
- }
-
- public void setTransactionCommitStrategy(
- TransactionCommitStrategy transactionCommitStrategy) {
- this.transactionCommitStrategy = transactionCommitStrategy;
- }
-
- public DestinationCreationStrategy getDestinationCreationStrategy() {
- return destinationCreationStrategy;
- }
-
- public void setDestinationCreationStrategy(
- DestinationCreationStrategy destinationCreationStrategy) {
- this.destinationCreationStrategy = destinationCreationStrategy;
- }
-
- public TimedTaskManager getTimedTaskManager() {
- return timedTaskManager;
- }
-
- public void setTimedTaskManager(TimedTaskManager timedTaskManager) {
- this.timedTaskManager = timedTaskManager;
- }
-
- public MessageCreatedStrategy getMessageCreatedStrategy() {
- return messageCreatedStrategy;
- }
-
- public void setMessageCreatedStrategy(
- MessageCreatedStrategy messageCreatedStrategy) {
- this.messageCreatedStrategy = messageCreatedStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/resources/META-INF/spring.factories b/components/camel-sjms/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a65a16e..0000000
--- a/components/camel-sjms/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.sjms.batch.springboot.SjmsBatchComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
deleted file mode 100644
index 5a95d5a..0000000
--- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.slack.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.slack.SlackComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SlackComponentConfiguration.class)
-public class SlackComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SlackComponent.class)
- public SlackComponent configureComponent(CamelContext camelContext,
- SlackComponentConfiguration configuration) throws Exception {
- SlackComponent component = new SlackComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
deleted file mode 100644
index 59ceb03..0000000
--- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.slack.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The slack component allows you to send messages to Slack.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.slack")
-public class SlackComponentConfiguration {
-
- /**
- * The incoming webhook URL
- */
- private String webhookUrl;
-
- public String getWebhookUrl() {
- return webhookUrl;
- }
-
- public void setWebhookUrl(String webhookUrl) {
- this.webhookUrl = webhookUrl;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-slack/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/resources/META-INF/spring.factories b/components/camel-slack/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3be2452..0000000
--- a/components/camel-slack/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.slack.springboot.SlackComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
deleted file mode 100644
index 79890c3..0000000
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.smpp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.smpp.SmppComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SmppComponentConfiguration.class)
-public class SmppComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SmppComponent.class)
- public SmppComponent configureComponent(CamelContext camelContext,
- SmppComponentConfiguration configuration) throws Exception {
- SmppComponent component = new SmppComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
deleted file mode 100644
index 5042b30..0000000
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.smpp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.smpp.SmppConfiguration;
-
-/**
- * To send and receive SMS using a SMSC (Short Message Service Center).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.smpps")
-public class SmppComponentConfiguration {
-
- /**
- * To use the shared SmppConfiguration as configuration.
- */
- private SmppConfiguration configuration;
-
- public SmppConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(SmppConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-smpp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/resources/META-INF/spring.factories b/components/camel-smpp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index e3c2d51..0000000
--- a/components/camel-smpp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.smpp.springboot.SmppComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java b/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
deleted file mode 100644
index 40068ed..0000000
--- a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.snmp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.snmp.SnmpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SnmpComponentConfiguration.class)
-public class SnmpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SnmpComponent.class)
- public SnmpComponent configureComponent(CamelContext camelContext,
- SnmpComponentConfiguration configuration) throws Exception {
- SnmpComponent component = new SnmpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentConfiguration.java b/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentConfiguration.java
deleted file mode 100644
index 54be1eb..0000000
--- a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.snmp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The snmp component gives you the ability to poll SNMP capable devices or
- * receiving traps.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.snmp")
-public class SnmpComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-snmp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-snmp/src/main/resources/META-INF/spring.factories b/components/camel-snmp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6225a47..0000000
--- a/components/camel-snmp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.snmp.springboot.SnmpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java b/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
deleted file mode 100644
index fde814a..0000000
--- a/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.solr.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.solr.SolrComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SolrComponentConfiguration.class)
-public class SolrComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SolrComponent.class)
- public SolrComponent configureComponent(CamelContext camelContext,
- SolrComponentConfiguration configuration) throws Exception {
- SolrComponent component = new SolrComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java b/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java
deleted file mode 100644
index 1a3b6a1..0000000
--- a/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.solr.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The solr component allows you to interface with an Apache Lucene Solr server.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.solrs")
-public class SolrComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-solr/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-solr/src/main/resources/META-INF/spring.factories b/components/camel-solr/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6b4fc9c..0000000
--- a/components/camel-solr/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.solr.springboot.SolrComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
deleted file mode 100644
index a97c7ff..0000000
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sparkrest.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sparkrest.SparkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SparkComponentConfiguration.class)
-public class SparkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SparkComponent.class)
- public SparkComponent configureComponent(CamelContext camelContext,
- SparkComponentConfiguration configuration) throws Exception {
- SparkComponent component = new SparkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
deleted file mode 100644
index b7ce2ca..0000000
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sparkrest.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.sparkrest.SparkConfiguration;
-import org.apache.camel.component.sparkrest.SparkBinding;
-
-/**
- * The spark-rest component is used for hosting REST services which has been
- * defined using Camel rest-dsl.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spark-rest")
-public class SparkComponentConfiguration {
-
- /**
- * Port number. Will by default use 4567
- */
- private int port;
- /**
- * Set the IP address that Spark should listen on. If not called the default
- * address is '0.0.0.0'.
- */
- private String ipAddress;
- /**
- * Minimum number of threads in Spark thread-pool (shared globally)
- */
- private int minThreads;
- /**
- * Maximum number of threads in Spark thread-pool (shared globally)
- */
- private int maxThreads;
- /**
- * Thread idle timeout in millis where threads that has been idle for a
- * longer period will be terminated from the thread pool
- */
- private int timeOutMillis;
- /**
- * Configures connection to be secure to use the keystore file
- */
- private String keystoreFile;
- /**
- * Configures connection to be secure to use the keystore password
- */
- private String keystorePassword;
- /**
- * Configures connection to be secure to use the truststore file
- */
- private String truststoreFile;
- /**
- * Configures connection to be secure to use the truststore password
- */
- private String truststorePassword;
- /**
- * To use the shared SparkConfiguration
- */
- private SparkConfiguration sparkConfiguration;
- /**
- * To use a custom SparkBinding to map to/from Camel message.
- */
- private SparkBinding sparkBinding;
-
- public int getPort() {
- return port;
- }
-
- public void setPort(int port) {
- this.port = port;
- }
-
- public String getIpAddress() {
- return ipAddress;
- }
-
- public void setIpAddress(String ipAddress) {
- this.ipAddress = ipAddress;
- }
-
- public int getMinThreads() {
- return minThreads;
- }
-
- public void setMinThreads(int minThreads) {
- this.minThreads = minThreads;
- }
-
- public int getMaxThreads() {
- return maxThreads;
- }
-
- public void setMaxThreads(int maxThreads) {
- this.maxThreads = maxThreads;
- }
-
- public int getTimeOutMillis() {
- return timeOutMillis;
- }
-
- public void setTimeOutMillis(int timeOutMillis) {
- this.timeOutMillis = timeOutMillis;
- }
-
- public String getKeystoreFile() {
- return keystoreFile;
- }
-
- public void setKeystoreFile(String keystoreFile) {
- this.keystoreFile = keystoreFile;
- }
-
- public String getKeystorePassword() {
- return keystorePassword;
- }
-
- public void setKeystorePassword(String keystorePassword) {
- this.keystorePassword = keystorePassword;
- }
-
- public String getTruststoreFile() {
- return truststoreFile;
- }
-
- public void setTruststoreFile(String truststoreFile) {
- this.truststoreFile = truststoreFile;
- }
-
- public String getTruststorePassword() {
- return truststorePassword;
- }
-
- public void setTruststorePassword(String truststorePassword) {
- this.truststorePassword = truststorePassword;
- }
-
- public SparkConfiguration getSparkConfiguration() {
- return sparkConfiguration;
- }
-
- public void setSparkConfiguration(SparkConfiguration sparkConfiguration) {
- this.sparkConfiguration = sparkConfiguration;
- }
-
- public SparkBinding getSparkBinding() {
- return sparkBinding;
- }
-
- public void setSparkBinding(SparkBinding sparkBinding) {
- this.sparkBinding = sparkBinding;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/resources/META-INF/spring.factories b/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9f7f38a..0000000
--- a/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.sparkrest.springboot.SparkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
deleted file mode 100644
index 6caa96d..0000000
--- a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spark.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.spark.SparkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SparkComponentConfiguration.class)
-public class SparkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SparkComponent.class)
- public SparkComponent configureComponent(CamelContext camelContext,
- SparkComponentConfiguration configuration) throws Exception {
- SparkComponent component = new SparkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
deleted file mode 100644
index 388ae57..0000000
--- a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spark.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.spark.api.java.JavaRDDLike;
-import org.apache.camel.component.spark.RddCallback;
-
-/**
- * The spark component can be used to send RDD or DataFrame jobs to Apache Spark
- * cluster.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spark")
-public class SparkComponentConfiguration {
-
- /**
- * RDD to compute against.
- */
- private JavaRDDLike rdd;
- /**
- * Function performing action against an RDD.
- */
- private RddCallback rddCallback;
-
- public JavaRDDLike getRdd() {
- return rdd;
- }
-
- public void setRdd(JavaRDDLike rdd) {
- this.rdd = rdd;
- }
-
- public RddCallback getRddCallback() {
- return rddCallback;
- }
-
- public void setRddCallback(RddCallback rddCallback) {
- this.rddCallback = rddCallback;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/resources/META-INF/spring.factories b/components/camel-spark/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 744a7bf..0000000
--- a/components/camel-spark/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.spark.springboot.SparkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
deleted file mode 100644
index d3c1935..0000000
--- a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.splunk.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.splunk.SplunkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SplunkComponentConfiguration.class)
-public class SplunkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SplunkComponent.class)
- public SplunkComponent configureComponent(CamelContext camelContext,
- SplunkComponentConfiguration configuration) throws Exception {
- SplunkComponent component = new SplunkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
deleted file mode 100644
index dc660f9..0000000
--- a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.splunk.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.splunk.SplunkConfigurationFactory;
-
-/**
- * The splunk component allows to publish or search for events in Splunk.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.splunk")
-public class SplunkComponentConfiguration {
-
- /**
- * To use the SplunkConfigurationFactory
- */
- private SplunkConfigurationFactory splunkConfigurationFactory;
-
- public SplunkConfigurationFactory getSplunkConfigurationFactory() {
- return splunkConfigurationFactory;
- }
-
- public void setSplunkConfigurationFactory(
- SplunkConfigurationFactory splunkConfigurationFactory) {
- this.splunkConfigurationFactory = splunkConfigurationFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-splunk/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/resources/META-INF/spring.factories b/components/camel-splunk/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index f508243..0000000
--- a/components/camel-splunk/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.splunk.springboot.SplunkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
deleted file mode 100644
index 9ade577..0000000
--- a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.batch.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.spring.batch.SpringBatchComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SpringBatchComponentConfiguration.class)
-public class SpringBatchComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SpringBatchComponent.class)
- public SpringBatchComponent configureComponent(CamelContext camelContext,
- SpringBatchComponentConfiguration configuration) throws Exception {
- SpringBatchComponent component = new SpringBatchComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
deleted file mode 100644
index 25e8916..0000000
--- a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.batch.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.batch.core.launch.JobLauncher;
-
-/**
- * The spring-batch component allows to send messages to Spring Batch for
- * further processing.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spring-batch")
-public class SpringBatchComponentConfiguration {
-
- /**
- * Explicitly specifies a JobLauncher to be used.
- */
- private JobLauncher jobLauncher;
-
- public JobLauncher getJobLauncher() {
- return jobLauncher;
- }
-
- public void setJobLauncher(JobLauncher jobLauncher) {
- this.jobLauncher = jobLauncher;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/resources/META-INF/spring.factories b/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index e3c5109..0000000
--- a/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.spring.batch.springboot.SpringBatchComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java b/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
deleted file mode 100644
index feba5ba..0000000
--- a/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.integration.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.spring.integration.SpringIntegrationComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SpringIntegrationComponentConfiguration.class)
-public class SpringIntegrationComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SpringIntegrationComponent.class)
- public SpringIntegrationComponent configureComponent(
- CamelContext camelContext,
- SpringIntegrationComponentConfiguration configuration)
- throws Exception {
- SpringIntegrationComponent component = new SpringIntegrationComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentConfiguration.java b/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentConfiguration.java
deleted file mode 100644
index dde592d..0000000
--- a/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.integration.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Bridges Camel with Spring Integration.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spring-integration")
-public class SpringIntegrationComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-integration/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring-integration/src/main/resources/META-INF/spring.factories b/components/camel-spring-integration/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 4d8b206..0000000
--- a/components/camel-spring-integration/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.spring.integration.springboot.SpringIntegrationComponentAutoConfiguration
[05/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java
deleted file mode 100644
index 198d75a..0000000
--- a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.rabbitmq.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.rabbitmq.RabbitMQComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(RabbitMQComponentConfiguration.class)
-public class RabbitMQComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(RabbitMQComponent.class)
- public RabbitMQComponent configureComponent(CamelContext camelContext,
- RabbitMQComponentConfiguration configuration) throws Exception {
- RabbitMQComponent component = new RabbitMQComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConfiguration.java b/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConfiguration.java
deleted file mode 100644
index 3cd8841..0000000
--- a/components/camel-rabbitmq/src/main/java/org/apache/camel/component/rabbitmq/springboot/RabbitMQComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.rabbitmq.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel RabbitMQ Component
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.rabbitmq")
-public class RabbitMQComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rabbitmq/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-rabbitmq/src/main/resources/META-INF/spring.factories b/components/camel-rabbitmq/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7945655..0000000
--- a/components/camel-rabbitmq/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.rabbitmq.springboot.RabbitMQComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
deleted file mode 100644
index 5f67f3c..0000000
--- a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.restlet.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.restlet.RestletComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(RestletComponentConfiguration.class)
-public class RestletComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(RestletComponent.class)
- public RestletComponent configureComponent(CamelContext camelContext,
- RestletComponentConfiguration configuration) throws Exception {
- RestletComponent component = new RestletComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
deleted file mode 100644
index 7628dc5..0000000
--- a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
+++ /dev/null
@@ -1,296 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.restlet.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import java.util.List;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * Component for consuming and producing Restful resources using Restlet.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.restlet")
-public class RestletComponentConfiguration {
-
- /**
- * Indicates if the controller thread should be a daemon (not blocking JVM
- * exit).
- */
- private Boolean controllerDaemon;
- /**
- * Time for the controller thread to sleep between each control.
- */
- private Integer controllerSleepTimeMs;
- /**
- * The size of the buffer when reading messages.
- */
- private Integer inboundBufferSize;
- /**
- * Maximum number of concurrent connections per host (IP address).
- */
- private Integer maxConnectionsPerHost;
- /**
- * Maximum threads that will service requests.
- */
- private Integer maxThreads;
- /**
- * Number of worker threads determining when the connector is considered
- * overloaded.
- */
- private Integer lowThreads;
- /**
- * Maximum number of concurrent connections in total.
- */
- private Integer maxTotalConnections;
- /**
- * Minimum threads waiting to service requests.
- */
- private Integer minThreads;
- /**
- * The size of the buffer when writing messages.
- */
- private Integer outboundBufferSize;
- /**
- * Indicates if connections should be kept alive after a call.
- */
- private Boolean persistingConnections;
- /**
- * Indicates if pipelining connections are supported.
- */
- private Boolean pipeliningConnections;
- /**
- * Time for an idle thread to wait for an operation before being collected.
- */
- private Integer threadMaxIdleTimeMs;
- /**
- * Lookup the X-Forwarded-For header supported by popular proxies and caches
- * and uses it to populate the Request.getClientAddresses() method result.
- * This information is only safe for intermediary components within your
- * local network. Other addresses could easily be changed by setting a fake
- * header and should not be trusted for serious security checks.
- */
- private Boolean useForwardedForHeader;
- /**
- * Enable/disable the SO_REUSEADDR socket option. See
- * java.io.ServerSocketreuseAddress property for additional details.
- */
- private Boolean reuseAddress;
- /**
- * Maximum number of calls that can be queued if there aren't any worker
- * thread available to service them. If the value is '0' then no queue is
- * used and calls are rejected if no worker thread is immediately available.
- * If the value is '-1' then an unbounded queue is used and calls are never
- * rejected.
- */
- private Integer maxQueued;
- /**
- * Determines whether or not the raw input stream from Restlet is cached or
- * not (Camel will read the stream into a in memory/overflow to file Stream
- * caching) cache. By default Camel will cache the Restlet input stream to
- * support reading it multiple times to ensure Camel can retrieve all data
- * from the stream. However you can set this option to true when you for
- * example need to access the raw stream such as streaming it directly to a
- * file or other persistent store. DefaultRestletBinding will copy the
- * request input stream into a stream cache and put it into message body if
- * this option is false to support reading the stream multiple times.
- */
- private boolean disableStreamCache;
- /**
- * To configure the port number for the restlet consumer routes. This allows
- * to configure this once to reuse the same port for these consumers.
- */
- private int port;
- /**
- * Whether to use synchronous Restlet Client for the producer. Setting this
- * option to true can yield faster performance as it seems the Restlet
- * synchronous Client works better.
- */
- private Boolean synchronous;
- /**
- * A list of converters to enable as full class name or simple class name.
- * All the converters automatically registered are enabled if empty or null
- */
- private List<java.lang.String> enabledConverters;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public Boolean getControllerDaemon() {
- return controllerDaemon;
- }
-
- public void setControllerDaemon(Boolean controllerDaemon) {
- this.controllerDaemon = controllerDaemon;
- }
-
- public Integer getControllerSleepTimeMs() {
- return controllerSleepTimeMs;
- }
-
- public void setControllerSleepTimeMs(Integer controllerSleepTimeMs) {
- this.controllerSleepTimeMs = controllerSleepTimeMs;
- }
-
- public Integer getInboundBufferSize() {
- return inboundBufferSize;
- }
-
- public void setInboundBufferSize(Integer inboundBufferSize) {
- this.inboundBufferSize = inboundBufferSize;
- }
-
- public Integer getMaxConnectionsPerHost() {
- return maxConnectionsPerHost;
- }
-
- public void setMaxConnectionsPerHost(Integer maxConnectionsPerHost) {
- this.maxConnectionsPerHost = maxConnectionsPerHost;
- }
-
- public Integer getMaxThreads() {
- return maxThreads;
- }
-
- public void setMaxThreads(Integer maxThreads) {
- this.maxThreads = maxThreads;
- }
-
- public Integer getLowThreads() {
- return lowThreads;
- }
-
- public void setLowThreads(Integer lowThreads) {
- this.lowThreads = lowThreads;
- }
-
- public Integer getMaxTotalConnections() {
- return maxTotalConnections;
- }
-
- public void setMaxTotalConnections(Integer maxTotalConnections) {
- this.maxTotalConnections = maxTotalConnections;
- }
-
- public Integer getMinThreads() {
- return minThreads;
- }
-
- public void setMinThreads(Integer minThreads) {
- this.minThreads = minThreads;
- }
-
- public Integer getOutboundBufferSize() {
- return outboundBufferSize;
- }
-
- public void setOutboundBufferSize(Integer outboundBufferSize) {
- this.outboundBufferSize = outboundBufferSize;
- }
-
- public Boolean getPersistingConnections() {
- return persistingConnections;
- }
-
- public void setPersistingConnections(Boolean persistingConnections) {
- this.persistingConnections = persistingConnections;
- }
-
- public Boolean getPipeliningConnections() {
- return pipeliningConnections;
- }
-
- public void setPipeliningConnections(Boolean pipeliningConnections) {
- this.pipeliningConnections = pipeliningConnections;
- }
-
- public Integer getThreadMaxIdleTimeMs() {
- return threadMaxIdleTimeMs;
- }
-
- public void setThreadMaxIdleTimeMs(Integer threadMaxIdleTimeMs) {
- this.threadMaxIdleTimeMs = threadMaxIdleTimeMs;
- }
-
- public Boolean getUseForwardedForHeader() {
- return useForwardedForHeader;
- }
-
- public void setUseForwardedForHeader(Boolean useForwardedForHeader) {
- this.useForwardedForHeader = useForwardedForHeader;
- }
-
- public Boolean getReuseAddress() {
- return reuseAddress;
- }
-
- public void setReuseAddress(Boolean reuseAddress) {
- this.reuseAddress = reuseAddress;
- }
-
- public Integer getMaxQueued() {
- return maxQueued;
- }
-
- public void setMaxQueued(Integer maxQueued) {
- this.maxQueued = maxQueued;
- }
-
- public boolean isDisableStreamCache() {
- return disableStreamCache;
- }
-
- public void setDisableStreamCache(boolean disableStreamCache) {
- this.disableStreamCache = disableStreamCache;
- }
-
- public int getPort() {
- return port;
- }
-
- public void setPort(int port) {
- this.port = port;
- }
-
- public Boolean getSynchronous() {
- return synchronous;
- }
-
- public void setSynchronous(Boolean synchronous) {
- this.synchronous = synchronous;
- }
-
- public List<String> getEnabledConverters() {
- return enabledConverters;
- }
-
- public void setEnabledConverters(List<String> enabledConverters) {
- this.enabledConverters = enabledConverters;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-restlet/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/resources/META-INF/spring.factories b/components/camel-restlet/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 5ff7b3e..0000000
--- a/components/camel-restlet/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.restlet.springboot.RestletComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java b/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java
deleted file mode 100644
index b5e080f..0000000
--- a/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.rmi.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.rmi.RmiComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(RmiComponentConfiguration.class)
-public class RmiComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(RmiComponent.class)
- public RmiComponent configureComponent(CamelContext camelContext,
- RmiComponentConfiguration configuration) throws Exception {
- RmiComponent component = new RmiComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentConfiguration.java b/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentConfiguration.java
deleted file mode 100644
index 744bf67..0000000
--- a/components/camel-rmi/src/main/java/org/apache/camel/component/rmi/springboot/RmiComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.rmi.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The rmi component is for invoking Java RMI beans from Camel.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.rmi")
-public class RmiComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rmi/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-rmi/src/main/resources/META-INF/spring.factories b/components/camel-rmi/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index e375dfd..0000000
--- a/components/camel-rmi/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.rmi.springboot.RmiComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-routebox/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-routebox/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java b/components/camel-routebox/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java
deleted file mode 100644
index acecad1..0000000
--- a/components/camel-routebox/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.routebox.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.routebox.RouteboxComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(RouteboxComponentConfiguration.class)
-public class RouteboxComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(RouteboxComponent.class)
- public RouteboxComponent configureComponent(CamelContext camelContext,
- RouteboxComponentConfiguration configuration) throws Exception {
- RouteboxComponent component = new RouteboxComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-routebox/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-routebox/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentConfiguration.java b/components/camel-routebox/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentConfiguration.java
deleted file mode 100644
index 0e2054a..0000000
--- a/components/camel-routebox/src/main/java/org/apache/camel/component/routebox/springboot/RouteboxComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.routebox.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The routebox component allows to send/receive messages between Camel routes
- * in a black box way.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.routebox")
-public class RouteboxComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-routebox/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-routebox/src/main/resources/META-INF/spring.factories b/components/camel-routebox/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6fd7813..0000000
--- a/components/camel-routebox/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.routebox.springboot.RouteboxComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rss/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-rss/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java b/components/camel-rss/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java
deleted file mode 100644
index e687aa9..0000000
--- a/components/camel-rss/src/main/java/org/apache/camel/component/rss/springboot/RssComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.rss.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.rss.RssComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(RssComponentConfiguration.class)
-public class RssComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(RssComponent.class)
- public RssComponent configureComponent(CamelContext camelContext,
- RssComponentConfiguration configuration) throws Exception {
- RssComponent component = new RssComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rss/src/main/java/org/apache/camel/component/rss/springboot/RssComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-rss/src/main/java/org/apache/camel/component/rss/springboot/RssComponentConfiguration.java b/components/camel-rss/src/main/java/org/apache/camel/component/rss/springboot/RssComponentConfiguration.java
deleted file mode 100644
index a5824e2..0000000
--- a/components/camel-rss/src/main/java/org/apache/camel/component/rss/springboot/RssComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.rss.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The rss component is used for consuming RSS feeds.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.rss")
-public class RssComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-rss/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-rss/src/main/resources/META-INF/spring.factories b/components/camel-rss/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 47cf3e8..0000000
--- a/components/camel-rss/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.rss.springboot.RssComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
deleted file mode 100644
index b225f6e..0000000
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.salesforce.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.salesforce.SalesforceComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SalesforceComponentConfiguration.class)
-public class SalesforceComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SalesforceComponent.class)
- public SalesforceComponent configureComponent(CamelContext camelContext,
- SalesforceComponentConfiguration configuration) throws Exception {
- SalesforceComponent component = new SalesforceComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
deleted file mode 100644
index a0dc59e..0000000
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
+++ /dev/null
@@ -1,231 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.salesforce.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.salesforce.SalesforceLoginConfig;
-import org.apache.camel.component.salesforce.SalesforceEndpointConfig;
-import java.util.Map;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import java.util.Set;
-
-/**
- * The salesforce component is used for integrating Camel with the massive
- * Salesforce API.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.salesforce")
-public class SalesforceComponentConfiguration {
-
- /**
- * To use the shared SalesforceLoginConfig as login configuration
- */
- private SalesforceLoginConfig loginConfig;
- /**
- * To use the shared SalesforceLoginConfig as configuration
- */
- private SalesforceEndpointConfig config;
- /**
- * Used for configuring HTTP client properties as key/value pairs
- */
- private Map<java.lang.String, java.lang.Object> httpClientProperties;
- /**
- * To configure security using SSLContextParameters
- */
- private SSLContextParameters sslContextParameters;
- /**
- * To configure HTTP proxy host
- */
- private String httpProxyHost;
- /**
- * To configure HTTP proxy port
- */
- private Integer httpProxyPort;
- /**
- * To configure HTTP proxy username
- */
- private String httpProxyUsername;
- /**
- * To configure HTTP proxy password
- */
- private String httpProxyPassword;
- /**
- * Enable for Socks4 proxy false by default
- */
- private boolean isHttpProxySocks4;
- /**
- * Enable for TLS connections true by default
- */
- private boolean isHttpProxySecure;
- /**
- * HTTP proxy included addresses
- */
- private Set<java.lang.String> httpProxyIncludedAddresses;
- /**
- * HTTP proxy excluded addresses
- */
- private Set<java.lang.String> httpProxyExcludedAddresses;
- /**
- * HTTP proxy authentication URI
- */
- private String httpProxyAuthUri;
- /**
- * HTTP proxy authentication realm
- */
- private String httpProxyRealm;
- /**
- * Use HTTP proxy Digest authentication false by default
- */
- private boolean httpProxyUseDigestAuth;
- /**
- * Package names to scan for DTO classes (multiple packages can be separated
- * by comma).
- */
- private String[] packages;
-
- public SalesforceLoginConfig getLoginConfig() {
- return loginConfig;
- }
-
- public void setLoginConfig(SalesforceLoginConfig loginConfig) {
- this.loginConfig = loginConfig;
- }
-
- public SalesforceEndpointConfig getConfig() {
- return config;
- }
-
- public void setConfig(SalesforceEndpointConfig config) {
- this.config = config;
- }
-
- public Map<String, Object> getHttpClientProperties() {
- return httpClientProperties;
- }
-
- public void setHttpClientProperties(Map<String, Object> httpClientProperties) {
- this.httpClientProperties = httpClientProperties;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-
- public String getHttpProxyHost() {
- return httpProxyHost;
- }
-
- public void setHttpProxyHost(String httpProxyHost) {
- this.httpProxyHost = httpProxyHost;
- }
-
- public Integer getHttpProxyPort() {
- return httpProxyPort;
- }
-
- public void setHttpProxyPort(Integer httpProxyPort) {
- this.httpProxyPort = httpProxyPort;
- }
-
- public String getHttpProxyUsername() {
- return httpProxyUsername;
- }
-
- public void setHttpProxyUsername(String httpProxyUsername) {
- this.httpProxyUsername = httpProxyUsername;
- }
-
- public String getHttpProxyPassword() {
- return httpProxyPassword;
- }
-
- public void setHttpProxyPassword(String httpProxyPassword) {
- this.httpProxyPassword = httpProxyPassword;
- }
-
- public boolean isIsHttpProxySocks4() {
- return isHttpProxySocks4;
- }
-
- public void setIsHttpProxySocks4(boolean isHttpProxySocks4) {
- this.isHttpProxySocks4 = isHttpProxySocks4;
- }
-
- public boolean isIsHttpProxySecure() {
- return isHttpProxySecure;
- }
-
- public void setIsHttpProxySecure(boolean isHttpProxySecure) {
- this.isHttpProxySecure = isHttpProxySecure;
- }
-
- public Set<String> getHttpProxyIncludedAddresses() {
- return httpProxyIncludedAddresses;
- }
-
- public void setHttpProxyIncludedAddresses(
- Set<String> httpProxyIncludedAddresses) {
- this.httpProxyIncludedAddresses = httpProxyIncludedAddresses;
- }
-
- public Set<String> getHttpProxyExcludedAddresses() {
- return httpProxyExcludedAddresses;
- }
-
- public void setHttpProxyExcludedAddresses(
- Set<String> httpProxyExcludedAddresses) {
- this.httpProxyExcludedAddresses = httpProxyExcludedAddresses;
- }
-
- public String getHttpProxyAuthUri() {
- return httpProxyAuthUri;
- }
-
- public void setHttpProxyAuthUri(String httpProxyAuthUri) {
- this.httpProxyAuthUri = httpProxyAuthUri;
- }
-
- public String getHttpProxyRealm() {
- return httpProxyRealm;
- }
-
- public void setHttpProxyRealm(String httpProxyRealm) {
- this.httpProxyRealm = httpProxyRealm;
- }
-
- public boolean isHttpProxyUseDigestAuth() {
- return httpProxyUseDigestAuth;
- }
-
- public void setHttpProxyUseDigestAuth(boolean httpProxyUseDigestAuth) {
- this.httpProxyUseDigestAuth = httpProxyUseDigestAuth;
- }
-
- public String[] getPackages() {
- return packages;
- }
-
- public void setPackages(String[] packages) {
- this.packages = packages;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories b/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 19e534b..0000000
--- a/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.salesforce.springboot.SalesforceComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sap-netweaver/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sap-netweaver/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java b/components/camel-sap-netweaver/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java
deleted file mode 100644
index 9758da0..0000000
--- a/components/camel-sap-netweaver/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sap.netweaver.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sap.netweaver.NetWeaverComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(NetWeaverComponentConfiguration.class)
-public class NetWeaverComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(NetWeaverComponent.class)
- public NetWeaverComponent configureComponent(CamelContext camelContext,
- NetWeaverComponentConfiguration configuration) throws Exception {
- NetWeaverComponent component = new NetWeaverComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sap-netweaver/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sap-netweaver/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentConfiguration.java b/components/camel-sap-netweaver/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentConfiguration.java
deleted file mode 100644
index cc3b453..0000000
--- a/components/camel-sap-netweaver/src/main/java/org/apache/camel/component/sap/netweaver/springboot/NetWeaverComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sap.netweaver.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The sap-netweaver component integrates with the SAP NetWeaver Gateway using
- * HTTP transports.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sap-netweaver")
-public class NetWeaverComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sap-netweaver/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sap-netweaver/src/main/resources/META-INF/spring.factories b/components/camel-sap-netweaver/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 42b882e..0000000
--- a/components/camel-sap-netweaver/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.sap.netweaver.springboot.NetWeaverComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
deleted file mode 100644
index e7a36ea..0000000
--- a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.xquery.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.xquery.XQueryComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(XQueryComponentConfiguration.class)
-public class XQueryComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(XQueryComponent.class)
- public XQueryComponent configureComponent(CamelContext camelContext,
- XQueryComponentConfiguration configuration) throws Exception {
- XQueryComponent component = new XQueryComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
deleted file mode 100644
index 64a4a68..0000000
--- a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.xquery.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import net.sf.saxon.lib.ModuleURIResolver;
-
-/**
- * Transforms the message using a XQuery template using Saxon.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.xquery")
-public class XQueryComponentConfiguration {
-
- /**
- * To use the custom ModuleURIResolver
- */
- private ModuleURIResolver moduleURIResolver;
-
- public ModuleURIResolver getModuleURIResolver() {
- return moduleURIResolver;
- }
-
- public void setModuleURIResolver(ModuleURIResolver moduleURIResolver) {
- this.moduleURIResolver = moduleURIResolver;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-saxon/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/resources/META-INF/spring.factories b/components/camel-saxon/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index e9b7419..0000000
--- a/components/camel-saxon/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.xquery.springboot.XQueryComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java
deleted file mode 100644
index 31978e8..0000000
--- a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.schematron.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.schematron.SchematronComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SchematronComponentConfiguration.class)
-public class SchematronComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SchematronComponent.class)
- public SchematronComponent configureComponent(CamelContext camelContext,
- SchematronComponentConfiguration configuration) throws Exception {
- SchematronComponent component = new SchematronComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentConfiguration.java b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentConfiguration.java
deleted file mode 100644
index ce774cc..0000000
--- a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/springboot/SchematronComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.schematron.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Validates the payload of a message using the Schematron Library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.schematron")
-public class SchematronComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-schematron/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/resources/META-INF/spring.factories b/components/camel-schematron/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index c73b9d8..0000000
--- a/components/camel-schematron/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.schematron.springboot.SchematronComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java
deleted file mode 100644
index 7d55485..0000000
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.servicenow.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.servicenow.ServiceNowComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ServiceNowComponentConfiguration.class)
-public class ServiceNowComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ServiceNowComponent.class)
- public ServiceNowComponent configureComponent(CamelContext camelContext,
- ServiceNowComponentConfiguration configuration) throws Exception {
- ServiceNowComponent component = new ServiceNowComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentConfiguration.java b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentConfiguration.java
deleted file mode 100644
index c3182b9..0000000
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/springboot/ServiceNowComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.servicenow.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Represents a ServiceNow endpoint.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.servicenow")
-public class ServiceNowComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-servicenow/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/resources/META-INF/spring.factories b/components/camel-servicenow/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index ff19d5a..0000000
--- a/components/camel-servicenow/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.servicenow.springboot.ServiceNowComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
deleted file mode 100644
index 6b00043..0000000
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.servlet.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.servlet.ServletComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ServletComponentConfiguration.class)
-public class ServletComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ServletComponent.class)
- public ServletComponent configureComponent(CamelContext camelContext,
- ServletComponentConfiguration configuration) throws Exception {
- ServletComponent component = new ServletComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
deleted file mode 100644
index acb56fb..0000000
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.servlet.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.servlet.HttpRegistry;
-import org.apache.camel.http.common.HttpBinding;
-import org.apache.camel.http.common.HttpConfiguration;
-import org.apache.camel.spi.HeaderFilterStrategy;
-
-/**
- * To use a HTTP Servlet as entry for Camel routes when running in a servlet
- * container.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.servlet")
-public class ServletComponentConfiguration {
-
- /**
- * Default name of servlet to use. The default name is CamelServlet.
- */
- private String servletName;
- /**
- * To use a custom org.apache.camel.component.servlet.HttpRegistry.
- */
- 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.
- */
- private boolean attachmentMultipartBinding;
- /**
- * To use a custom HttpBinding to control the mapping between Camel message
- * and HttpClient.
- */
- private HttpBinding httpBinding;
- /**
- * To use the shared HttpConfiguration as base configuration.
- */
- private HttpConfiguration httpConfiguration;
- /**
- * Whether to allow java serialization when a request uses
- * context-type=application/x-java-serialized-object This is by default
- * turned off. If you enable this then be aware that Java will deserialize
- * the incoming data from the request to Java and that can be a potential
- * security risk.
- */
- private boolean allowJavaSerializedObject;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public String getServletName() {
- return servletName;
- }
-
- public void setServletName(String servletName) {
- this.servletName = servletName;
- }
-
- public HttpRegistry getHttpRegistry() {
- return httpRegistry;
- }
-
- public void setHttpRegistry(HttpRegistry httpRegistry) {
- this.httpRegistry = httpRegistry;
- }
-
- public boolean isAttachmentMultipartBinding() {
- return attachmentMultipartBinding;
- }
-
- public void setAttachmentMultipartBinding(boolean attachmentMultipartBinding) {
- this.attachmentMultipartBinding = attachmentMultipartBinding;
- }
-
- public HttpBinding getHttpBinding() {
- return httpBinding;
- }
-
- public void setHttpBinding(HttpBinding httpBinding) {
- this.httpBinding = httpBinding;
- }
-
- public HttpConfiguration getHttpConfiguration() {
- return httpConfiguration;
- }
-
- public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
- this.httpConfiguration = httpConfiguration;
- }
-
- public boolean isAllowJavaSerializedObject() {
- return allowJavaSerializedObject;
- }
-
- public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
- this.allowJavaSerializedObject = allowJavaSerializedObject;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
[09/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentConfiguration.java b/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentConfiguration.java
deleted file mode 100644
index 8df54b4..0000000
--- a/components/camel-jing/src/main/java/org/apache/camel/component/validator/jing/springboot/JingComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.jing.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Validates the payload of a message using RelaxNG Syntax using Jing library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jing")
-public class JingComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jing/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jing/src/main/resources/META-INF/spring.factories b/components/camel-jing/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 78c4eef..0000000
--- a/components/camel-jing/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.validator.jing.springboot.JingComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jira/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jira/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java b/components/camel-jira/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java
deleted file mode 100644
index 7cae809..0000000
--- a/components/camel-jira/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jira.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jira.JIRAComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JIRAComponentConfiguration.class)
-public class JIRAComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JIRAComponent.class)
- public JIRAComponent configureComponent(CamelContext camelContext,
- JIRAComponentConfiguration configuration) throws Exception {
- JIRAComponent component = new JIRAComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jira/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jira/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentConfiguration.java b/components/camel-jira/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentConfiguration.java
deleted file mode 100644
index 29819688..0000000
--- a/components/camel-jira/src/main/java/org/apache/camel/component/jira/springboot/JIRAComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jira.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The jira component interacts with the JIRA issue tracker.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jira")
-public class JIRAComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jira/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jira/src/main/resources/META-INF/spring.factories b/components/camel-jira/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9ec622c..0000000
--- a/components/camel-jira/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jira.springboot.JIRAComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
deleted file mode 100644
index 9f8f3b4..0000000
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jms.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jms.JmsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JmsComponentConfiguration.class)
-public class JmsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JmsComponent.class)
- public JmsComponent configureComponent(CamelContext camelContext,
- JmsComponentConfiguration configuration) throws Exception {
- JmsComponent component = new JmsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
deleted file mode 100644
index 24b3d03..0000000
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
+++ /dev/null
@@ -1,1123 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jms.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.jms.JmsConfiguration;
-import javax.jms.ConnectionFactory;
-import javax.jms.ExceptionListener;
-import org.springframework.util.ErrorHandler;
-import org.apache.camel.LoggingLevel;
-import org.springframework.jms.support.converter.MessageConverter;
-import org.springframework.core.task.TaskExecutor;
-import org.springframework.transaction.PlatformTransactionManager;
-import org.springframework.jms.core.JmsOperations;
-import org.springframework.jms.support.destination.DestinationResolver;
-import org.apache.camel.component.jms.ReplyToType;
-import org.apache.camel.component.jms.DefaultTaskExecutorType;
-import org.apache.camel.component.jms.JmsKeyFormatStrategy;
-import org.springframework.context.ApplicationContext;
-import org.apache.camel.component.jms.QueueBrowseStrategy;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.jms.MessageCreatedStrategy;
-
-/**
- * The jms component allows messages to be sent to (or consumed from) a JMS
- * Queue or Topic.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jms")
-public class JmsComponentConfiguration {
-
- /**
- * To use a shared JMS configuration
- */
- private JmsConfiguration configuration;
- /**
- * 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 enqued 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 the JMS broker. To avoid this its recommended to enable this
- * option.
- */
- private boolean acceptMessagesWhileStopping;
- /**
- * Whether the DefaultMessageListenerContainer used in the reply managers
- * for request-reply messaging allow the
- * DefaultMessageListenerContainer.runningAllowed flag to quick stop in case
- * JmsConfigurationisAcceptMessagesWhileStopping 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.
- */
- private boolean allowReplyManagerQuickStop;
- /**
- * 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.
- */
- private int acknowledgementMode;
- /**
- * Enables eager loading of JMS properties as soon as a message is loaded
- * which generally is inefficient as the JMS properties may not be required
- * but sometimes can catch early any issues with the underlying JMS provider
- * and the use of JMS properties
- */
- private boolean eagerLoadingOfProperties;
- /**
- * The JMS acknowledgement name which is one of: SESSION_TRANSACTED
- * CLIENT_ACKNOWLEDGE AUTO_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE
- */
- private String acknowledgementModeName;
- /**
- * Specifies whether the consumer container should auto-startup.
- */
- private boolean autoStartup;
- /**
- * Sets the cache level by ID for the underlying JMS resources. See
- * cacheLevelName option for more details.
- */
- private int cacheLevel;
- /**
- * Sets the cache level by name for the underlying JMS resources. Possible
- * values are: CACHE_AUTO CACHE_CONNECTION CACHE_CONSUMER CACHE_NONE and
- * CACHE_SESSION. The default setting is CACHE_AUTO. See the Spring
- * documentation and Transactions Cache Levels for more information.
- */
- private String cacheLevelName;
- /**
- * Sets the cache level by name for the reply consumer when doing
- * request/reply over JMS. This option only applies when using fixed reply
- * queues (not temporary). Camel will by default use: CACHE_CONSUMER for
- * exclusive or shared w/ replyToSelectorName. And CACHE_SESSION for shared
- * without replyToSelectorName. Some JMS brokers such as IBM WebSphere may
- * require to set the replyToCacheLevelName=CACHE_NONE to work. Note: If
- * using temporary queues then CACHE_NONE is not allowed and you must use a
- * higher value such as CACHE_CONSUMER or CACHE_SESSION.
- */
- private String replyToCacheLevelName;
- /**
- * Sets the JMS client ID to use. Note that this value if specified must be
- * unique and can only be used by a single JMS connection instance. It is
- * typically only required for durable topic subscriptions. If using Apache
- * ActiveMQ you may prefer to use Virtual Topics instead.
- */
- private String clientId;
- /**
- * Specifies the default number of concurrent consumers when consuming from
- * JMS (not for request/reply over JMS). See also the maxMessagesPerTask
- * option to control dynamic scaling up/down of threads. When doing
- * request/reply over JMS then the option replyToConcurrentConsumers is used
- * to control number of concurrent consumers on the reply message listener.
- */
- private int concurrentConsumers;
- /**
- * Specifies the default number of concurrent consumers when doing
- * request/reply over JMS. See also the maxMessagesPerTask option to control
- * dynamic scaling up/down of threads.
- */
- private int replyToConcurrentConsumers;
- /**
- * Sets the default connection factory to be use
- */
- private ConnectionFactory connectionFactory;
- /**
- * Specifies whether persistent delivery is used by default.
- */
- private boolean deliveryPersistent;
- /**
- * Specifies the delivery mode to be used. Possible values are Possibles
- * values are those defined by javax.jms.DeliveryMode. NON_PERSISTENT = 1
- * and PERSISTENT = 2.
- */
- private Integer deliveryMode;
- /**
- * The durable subscriber name for specifying durable topic subscriptions.
- * The clientId option must be configured as well.
- */
- private String durableSubscriptionName;
- /**
- * Specifies the JMS Exception Listener that is to be notified of any
- * underlying JMS exceptions.
- */
- private ExceptionListener exceptionListener;
- /**
- * Specifies a org.springframework.util.ErrorHandler to be invoked in case
- * of any uncaught exceptions thrown while processing a Message. By default
- * these exceptions will be logged at the WARN level if no errorHandler has
- * been configured. You can configure logging level and whether stack traces
- * should be logged using errorHandlerLoggingLevel and
- * errorHandlerLogStackTrace options. This makes it much easier to configure
- * than having to code a custom errorHandler.
- */
- private ErrorHandler errorHandler;
- /**
- * Allows to configure the default errorHandler logging level for logging
- * uncaught exceptions.
- */
- private LoggingLevel errorHandlerLoggingLevel;
- /**
- * Allows to control whether stacktraces should be logged or not by the
- * default errorHandler.
- */
- private boolean errorHandlerLogStackTrace;
- /**
- * Set if the deliveryMode priority or timeToLive qualities of service
- * should be used when sending messages. This option is based on Spring's
- * JmsTemplate. The deliveryMode priority and timeToLive options are applied
- * to the current endpoint. This contrasts with the preserveMessageQos
- * option which operates at message granularity reading QoS properties
- * exclusively from the Camel In message headers.
- */
- private boolean explicitQosEnabled;
- /**
- * Specifies whether the listener session should be exposed when consuming
- * messages.
- */
- private boolean exposeListenerSession;
- /**
- * Specifies the limit for idle executions of a receive task not having
- * received any message within its execution. If this limit is reached the
- * task will shut down and leave receiving to other executing tasks (in the
- * case of dynamic scheduling; see the maxConcurrentConsumers setting).
- * There is additional doc available from Spring.
- */
- private int idleTaskExecutionLimit;
- /**
- * Specify the limit for the number of consumers that are allowed to be idle
- * at any given time.
- */
- private int idleConsumerLimit;
- /**
- * Specifies the maximum number of concurrent consumers when consuming from
- * JMS (not for request/reply over JMS). See also the maxMessagesPerTask
- * option to control dynamic scaling up/down of threads. When doing
- * request/reply over JMS then the option replyToMaxConcurrentConsumers is
- * used to control number of concurrent consumers on the reply message
- * listener.
- */
- private int maxConcurrentConsumers;
- /**
- * Specifies the maximum number of concurrent consumers when using
- * request/reply over JMS. See also the maxMessagesPerTask option to control
- * dynamic scaling up/down of threads.
- */
- private int replyToMaxConcurrentConsumers;
- /**
- * Specifies the maximum number of concurrent consumers for continue routing
- * when timeout occurred when using request/reply over JMS.
- */
- private int replyOnTimeoutToMaxConcurrentConsumers;
- /**
- * The number of messages per task. -1 is unlimited. If you use a range for
- * concurrent consumers (eg min max) then this option can be used to set a
- * value to eg 100 to control how fast the consumers will shrink when less
- * work is required.
- */
- private int maxMessagesPerTask;
- /**
- * To use a custom Spring
- * org.springframework.jms.support.converter.MessageConverter so you can be
- * in control how to map to/from a javax.jms.Message.
- */
- private MessageConverter messageConverter;
- /**
- * Specifies whether Camel should auto map the received JMS message to a
- * suited payload type such as javax.jms.TextMessage to a String etc. See
- * section about how mapping works below for more details.
- */
- private boolean mapJmsMessage;
- /**
- * When sending specifies whether message IDs should be added.
- */
- private boolean messageIdEnabled;
- /**
- * Specifies whether timestamps should be enabled by default on sending
- * messages.
- */
- private boolean messageTimestampEnabled;
- /**
- * 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)
- */
- private boolean alwaysCopyMessage;
- /**
- * Specifies whether JMSMessageID should always be used as JMSCorrelationID
- * for InOut messages.
- */
- private boolean useMessageIDAsCorrelationID;
- /**
- * Values greater than 1 specify the message priority when sending (where 0
- * is the lowest priority and 9 is the highest). The explicitQosEnabled
- * option must also be enabled in order for this option to have any effect.
- */
- private int priority;
- /**
- * Specifies whether to inhibit the delivery of messages published by its
- * own connection.
- */
- private boolean pubSubNoLocal;
- /**
- * The timeout for receiving messages (in milliseconds).
- */
- private long receiveTimeout;
- /**
- * Specifies the interval between recovery attempts i.e. when a connection
- * is being refreshed in milliseconds. The default is 5000 ms that is 5
- * seconds.
- */
- private long recoveryInterval;
- /**
- * Deprecated: Enabled by default if you specify a durableSubscriptionName
- * and a clientId.
- */
- @Deprecated
- private boolean subscriptionDurable;
- /**
- * Allows you to specify a custom task executor for consuming messages.
- */
- private TaskExecutor taskExecutor;
- /**
- * When sending messages specifies the time-to-live of the message (in
- * milliseconds).
- */
- private long timeToLive;
- /**
- * Specifies whether to use transacted mode
- */
- private boolean transacted;
- /**
- * If true Camel will create a JmsTransactionManager if there is no
- * transactionManager injected when option transacted=true.
- */
- private boolean lazyCreateTransactionManager;
- /**
- * The Spring transaction manager to use.
- */
- private PlatformTransactionManager transactionManager;
- /**
- * The name of the transaction to use.
- */
- private String transactionName;
- /**
- * The timeout value of the transaction (in seconds) if using transacted
- * mode.
- */
- private int transactionTimeout;
- /**
- * Specifies whether to test the connection on startup. This ensures that
- * when Camel starts that all the JMS consumers have a valid connection to
- * the JMS broker. If a connection cannot be granted then Camel throws an
- * exception on startup. This ensures that Camel is not started with failed
- * connections. The JMS producers is tested as well.
- */
- private boolean testConnectionOnStartup;
- /**
- * Whether to startup the JmsConsumer message listener asynchronously when
- * starting a route. For example if a JmsConsumer cannot get a connection to
- * a remote JMS broker then it may block while retrying and/or failover.
- * This will cause Camel to block while starting routes. By setting this
- * option to true you will let routes startup while the JmsConsumer connects
- * to the JMS broker using a dedicated thread in asynchronous mode. If this
- * option is used then beware that if the connection could not be
- * established then an exception is logged at WARN level and the consumer
- * will not be able to receive messages; You can then restart the route to
- * retry.
- */
- private boolean asyncStartListener;
- /**
- * Whether to stop the JmsConsumer message listener asynchronously when
- * stopping a route.
- */
- private boolean asyncStopListener;
- /**
- * When using mapJmsMessage=false Camel will create a new JMS message to
- * send to a new JMS destination if you touch the headers (get or set)
- * during the route. Set this option to true to force Camel to send the
- * original JMS message that was received.
- */
- private boolean forceSendOriginalMessage;
- /**
- * The timeout for waiting for a reply when using the InOut Exchange Pattern
- * (in milliseconds). The default is 20 seconds. You can include the header
- * CamelJmsRequestTimeout to override this endpoint configured timeout value
- * and thus have per message individual timeout values. See also the
- * requestTimeoutCheckerInterval option.
- */
- private long requestTimeout;
- /**
- * Configures how often Camel should check for timed out Exchanges when
- * doing request/reply over JMS. By default Camel checks once per second.
- * But if you must react faster when a timeout occurs then you can lower
- * this interval to check more frequently. The timeout is determined by the
- * option requestTimeout.
- */
- private long requestTimeoutCheckerInterval;
- /**
- * You can transfer the exchange over the wire instead of just the body and
- * headers. The following fields are transferred: In body Out body Fault
- * body In headers Out headers Fault headers exchange properties exchange
- * exception. This requires that the objects are serializable. Camel will
- * exclude any non-serializable objects and log it at WARN level. You must
- * enable this option on both the producer and consumer side so Camel knows
- * the payloads is an Exchange and not a regular payload.
- */
- private boolean transferExchange;
- /**
- * If enabled and you are using Request Reply messaging (InOut) and an
- * Exchange failed on the consumer side then the caused Exception will be
- * send back in response as a javax.jms.ObjectMessage. If the client is
- * Camel the returned Exception is rethrown. This allows you to use Camel
- * JMS as a bridge in your routing - for example using persistent queues to
- * enable robust routing. Notice that if you also have transferExchange
- * enabled this option takes precedence. The caught exception is required to
- * be serializable. The original Exception on the consumer side can be
- * wrapped in an outer exception such as
- * org.apache.camel.RuntimeCamelException when returned to the producer.
- */
- private boolean transferException;
- /**
- * If enabled and you are using Request Reply messaging (InOut) and an
- * Exchange failed with a SOAP fault (not exception) on the consumer side
- * then the fault flag on link org.apache.camel.MessageisFault() will be
- * send back in the response as a JMS header with the key link
- * JmsConstantsJMS_TRANSFER_FAULT. If the client is Camel the returned fault
- * flag will be set on the link org.apache.camel.MessagesetFault(boolean).
- * You may want to enable this when using Camel components that support
- * faults such as SOAP based such as cxf or spring-ws.
- */
- private boolean transferFault;
- /**
- * Allows you to use your own implementation of the
- * org.springframework.jms.core.JmsOperations interface. Camel uses
- * JmsTemplate as default. Can be used for testing purpose but not used much
- * as stated in the spring API docs.
- */
- private JmsOperations jmsOperations;
- /**
- * A pluggable
- * org.springframework.jms.support.destination.DestinationResolver that
- * allows you to use your own resolver (for example to lookup the real
- * destination in a JNDI registry).
- */
- private DestinationResolver destinationResolver;
- /**
- * Allows for explicitly specifying which kind of strategy to use for
- * replyTo queues when doing request/reply over JMS. Possible values are:
- * Temporary Shared or Exclusive. By default Camel will use temporary
- * queues. However if replyTo has been configured then Shared is used by
- * default. This option allows you to use exclusive queues instead of shared
- * ones. See Camel JMS documentation for more details and especially the
- * notes about the implications if running in a clustered environment and
- * the fact that Shared reply queues has lower performance than its
- * alternatives Temporary and Exclusive.
- */
- private ReplyToType replyToType;
- /**
- * Set to true if you want to send message using the QoS settings specified
- * on the message instead of the QoS settings on the JMS endpoint. The
- * following three headers are considered JMSPriority JMSDeliveryMode and
- * JMSExpiration. You can provide all or only some of them. If not provided
- * Camel will fall back to use the values from the endpoint instead. So when
- * using this option the headers override the values from the endpoint. The
- * explicitQosEnabled option by contrast will only use options set on the
- * endpoint and not values from the message header.
- */
- private boolean preserveMessageQos;
- /**
- * Whether the JmsConsumer processes the Exchange asynchronously. If enabled
- * then the JmsConsumer may pickup the next message from the JMS queue while
- * the previous message is being processed asynchronously (by the
- * Asynchronous Routing Engine). This means that messages may be processed
- * not 100 strictly in order. If disabled (as default) then the Exchange is
- * fully processed before the JmsConsumer will pickup the next message from
- * the JMS queue. Note if transacted has been enabled then
- * asyncConsumer=true does not run asynchronously as transaction must be
- * executed synchronously (Camel 3.0 may support async transactions).
- */
- private boolean asyncConsumer;
- /**
- * Whether to allow sending messages with no body. If this option is false
- * and the message body is null then an JMSException is thrown.
- */
- private boolean allowNullBody;
- /**
- * Only applicable when sending to JMS destination using InOnly (eg fire and
- * forget). Enabling this option will enrich the Camel Exchange with the
- * actual JMSMessageID that was used by the JMS client when the message was
- * sent to the JMS destination.
- */
- private boolean includeSentJMSMessageID;
- /**
- * Whether to include all JMSXxxx properties when mapping from JMS to Camel
- * Message. Setting this to true will include properties such as JMSXAppID
- * and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy
- * then this option does not apply.
- */
- private boolean includeAllJMSXProperties;
- /**
- * Specifies what default TaskExecutor type to use in the
- * DefaultMessageListenerContainer for both consumer endpoints and the
- * ReplyTo consumer of producer endpoints. Possible values: SimpleAsync
- * (uses Spring's SimpleAsyncTaskExecutor) or ThreadPool (uses Spring's
- * ThreadPoolTaskExecutor with optimal values - cached threadpool-like). If
- * not set it defaults to the previous behaviour which uses a cached thread
- * pool for consumer endpoints and SimpleAsync for reply consumers. The use
- * of ThreadPool is recommended to reduce thread trash in elastic
- * configurations with dynamically increasing and decreasing concurrent
- * consumers.
- */
- private DefaultTaskExecutorType defaultTaskExecutorType;
- /**
- * Pluggable strategy for encoding and decoding JMS keys so they can be
- * compliant with the JMS specification. Camel provides two implementations
- * out of the box: default and passthrough. The default strategy will safely
- * marshal dots and hyphens (. and -). The passthrough strategy leaves the
- * key as is. Can be used for JMS brokers which do not care whether JMS
- * header keys contain illegal characters. You can provide your own
- * implementation of the org.apache.camel.component.jms.JmsKeyFormatStrategy
- * and refer to it using the notation.
- */
- private JmsKeyFormatStrategy jmsKeyFormatStrategy;
- /**
- * Sets the Spring ApplicationContext to use
- */
- private ApplicationContext applicationContext;
- /**
- * To use a custom QueueBrowseStrategy when browsing queues
- */
- private QueueBrowseStrategy queueBrowseStrategy;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
- /**
- * To use the given MessageCreatedStrategy which are invoked when Camel
- * creates new instances of javax.jms.Message objects when Camel is sending
- * a JMS message.
- */
- private MessageCreatedStrategy messageCreatedStrategy;
- /**
- * Number of times to wait for provisional correlation id to be updated to
- * the actual correlation id when doing request/reply over JMS and when the
- * option useMessageIDAsCorrelationID is enabled.
- */
- private int waitForProvisionCorrelationToBeUpdatedCounter;
- /**
- * Interval in millis to sleep each time while waiting for provisional
- * correlation id to be updated.
- */
- private long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
-
- public JmsConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(JmsConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public boolean isAcceptMessagesWhileStopping() {
- return acceptMessagesWhileStopping;
- }
-
- public void setAcceptMessagesWhileStopping(
- boolean acceptMessagesWhileStopping) {
- this.acceptMessagesWhileStopping = acceptMessagesWhileStopping;
- }
-
- public boolean isAllowReplyManagerQuickStop() {
- return allowReplyManagerQuickStop;
- }
-
- public void setAllowReplyManagerQuickStop(boolean allowReplyManagerQuickStop) {
- this.allowReplyManagerQuickStop = allowReplyManagerQuickStop;
- }
-
- public int getAcknowledgementMode() {
- return acknowledgementMode;
- }
-
- public void setAcknowledgementMode(int acknowledgementMode) {
- this.acknowledgementMode = acknowledgementMode;
- }
-
- public boolean isEagerLoadingOfProperties() {
- return eagerLoadingOfProperties;
- }
-
- public void setEagerLoadingOfProperties(boolean eagerLoadingOfProperties) {
- this.eagerLoadingOfProperties = eagerLoadingOfProperties;
- }
-
- public String getAcknowledgementModeName() {
- return acknowledgementModeName;
- }
-
- public void setAcknowledgementModeName(String acknowledgementModeName) {
- this.acknowledgementModeName = acknowledgementModeName;
- }
-
- public boolean isAutoStartup() {
- return autoStartup;
- }
-
- public void setAutoStartup(boolean autoStartup) {
- this.autoStartup = autoStartup;
- }
-
- public int getCacheLevel() {
- return cacheLevel;
- }
-
- public void setCacheLevel(int cacheLevel) {
- this.cacheLevel = cacheLevel;
- }
-
- public String getCacheLevelName() {
- return cacheLevelName;
- }
-
- public void setCacheLevelName(String cacheLevelName) {
- this.cacheLevelName = cacheLevelName;
- }
-
- public String getReplyToCacheLevelName() {
- return replyToCacheLevelName;
- }
-
- public void setReplyToCacheLevelName(String replyToCacheLevelName) {
- this.replyToCacheLevelName = replyToCacheLevelName;
- }
-
- public String getClientId() {
- return clientId;
- }
-
- public void setClientId(String clientId) {
- this.clientId = clientId;
- }
-
- public int getConcurrentConsumers() {
- return concurrentConsumers;
- }
-
- public void setConcurrentConsumers(int concurrentConsumers) {
- this.concurrentConsumers = concurrentConsumers;
- }
-
- public int getReplyToConcurrentConsumers() {
- return replyToConcurrentConsumers;
- }
-
- public void setReplyToConcurrentConsumers(int replyToConcurrentConsumers) {
- this.replyToConcurrentConsumers = replyToConcurrentConsumers;
- }
-
- public ConnectionFactory getConnectionFactory() {
- return connectionFactory;
- }
-
- public void setConnectionFactory(ConnectionFactory connectionFactory) {
- this.connectionFactory = connectionFactory;
- }
-
- public boolean isDeliveryPersistent() {
- return deliveryPersistent;
- }
-
- public void setDeliveryPersistent(boolean deliveryPersistent) {
- this.deliveryPersistent = deliveryPersistent;
- }
-
- public Integer getDeliveryMode() {
- return deliveryMode;
- }
-
- public void setDeliveryMode(Integer deliveryMode) {
- this.deliveryMode = deliveryMode;
- }
-
- public String getDurableSubscriptionName() {
- return durableSubscriptionName;
- }
-
- public void setDurableSubscriptionName(String durableSubscriptionName) {
- this.durableSubscriptionName = durableSubscriptionName;
- }
-
- public ExceptionListener getExceptionListener() {
- return exceptionListener;
- }
-
- public void setExceptionListener(ExceptionListener exceptionListener) {
- this.exceptionListener = exceptionListener;
- }
-
- public ErrorHandler getErrorHandler() {
- return errorHandler;
- }
-
- public void setErrorHandler(ErrorHandler errorHandler) {
- this.errorHandler = errorHandler;
- }
-
- public LoggingLevel getErrorHandlerLoggingLevel() {
- return errorHandlerLoggingLevel;
- }
-
- public void setErrorHandlerLoggingLevel(
- LoggingLevel errorHandlerLoggingLevel) {
- this.errorHandlerLoggingLevel = errorHandlerLoggingLevel;
- }
-
- public boolean isErrorHandlerLogStackTrace() {
- return errorHandlerLogStackTrace;
- }
-
- public void setErrorHandlerLogStackTrace(boolean errorHandlerLogStackTrace) {
- this.errorHandlerLogStackTrace = errorHandlerLogStackTrace;
- }
-
- public boolean isExplicitQosEnabled() {
- return explicitQosEnabled;
- }
-
- public void setExplicitQosEnabled(boolean explicitQosEnabled) {
- this.explicitQosEnabled = explicitQosEnabled;
- }
-
- public boolean isExposeListenerSession() {
- return exposeListenerSession;
- }
-
- public void setExposeListenerSession(boolean exposeListenerSession) {
- this.exposeListenerSession = exposeListenerSession;
- }
-
- public int getIdleTaskExecutionLimit() {
- return idleTaskExecutionLimit;
- }
-
- public void setIdleTaskExecutionLimit(int idleTaskExecutionLimit) {
- this.idleTaskExecutionLimit = idleTaskExecutionLimit;
- }
-
- public int getIdleConsumerLimit() {
- return idleConsumerLimit;
- }
-
- public void setIdleConsumerLimit(int idleConsumerLimit) {
- this.idleConsumerLimit = idleConsumerLimit;
- }
-
- public int getMaxConcurrentConsumers() {
- return maxConcurrentConsumers;
- }
-
- public void setMaxConcurrentConsumers(int maxConcurrentConsumers) {
- this.maxConcurrentConsumers = maxConcurrentConsumers;
- }
-
- public int getReplyToMaxConcurrentConsumers() {
- return replyToMaxConcurrentConsumers;
- }
-
- public void setReplyToMaxConcurrentConsumers(
- int replyToMaxConcurrentConsumers) {
- this.replyToMaxConcurrentConsumers = replyToMaxConcurrentConsumers;
- }
-
- public int getReplyOnTimeoutToMaxConcurrentConsumers() {
- return replyOnTimeoutToMaxConcurrentConsumers;
- }
-
- public void setReplyOnTimeoutToMaxConcurrentConsumers(
- int replyOnTimeoutToMaxConcurrentConsumers) {
- this.replyOnTimeoutToMaxConcurrentConsumers = replyOnTimeoutToMaxConcurrentConsumers;
- }
-
- public int getMaxMessagesPerTask() {
- return maxMessagesPerTask;
- }
-
- public void setMaxMessagesPerTask(int maxMessagesPerTask) {
- this.maxMessagesPerTask = maxMessagesPerTask;
- }
-
- public MessageConverter getMessageConverter() {
- return messageConverter;
- }
-
- public void setMessageConverter(MessageConverter messageConverter) {
- this.messageConverter = messageConverter;
- }
-
- public boolean isMapJmsMessage() {
- return mapJmsMessage;
- }
-
- public void setMapJmsMessage(boolean mapJmsMessage) {
- this.mapJmsMessage = mapJmsMessage;
- }
-
- public boolean isMessageIdEnabled() {
- return messageIdEnabled;
- }
-
- public void setMessageIdEnabled(boolean messageIdEnabled) {
- this.messageIdEnabled = messageIdEnabled;
- }
-
- public boolean isMessageTimestampEnabled() {
- return messageTimestampEnabled;
- }
-
- public void setMessageTimestampEnabled(boolean messageTimestampEnabled) {
- this.messageTimestampEnabled = messageTimestampEnabled;
- }
-
- public boolean isAlwaysCopyMessage() {
- return alwaysCopyMessage;
- }
-
- public void setAlwaysCopyMessage(boolean alwaysCopyMessage) {
- this.alwaysCopyMessage = alwaysCopyMessage;
- }
-
- public boolean isUseMessageIDAsCorrelationID() {
- return useMessageIDAsCorrelationID;
- }
-
- public void setUseMessageIDAsCorrelationID(
- boolean useMessageIDAsCorrelationID) {
- this.useMessageIDAsCorrelationID = useMessageIDAsCorrelationID;
- }
-
- public int getPriority() {
- return priority;
- }
-
- public void setPriority(int priority) {
- this.priority = priority;
- }
-
- public boolean isPubSubNoLocal() {
- return pubSubNoLocal;
- }
-
- public void setPubSubNoLocal(boolean pubSubNoLocal) {
- this.pubSubNoLocal = pubSubNoLocal;
- }
-
- public long getReceiveTimeout() {
- return receiveTimeout;
- }
-
- public void setReceiveTimeout(long receiveTimeout) {
- this.receiveTimeout = receiveTimeout;
- }
-
- public long getRecoveryInterval() {
- return recoveryInterval;
- }
-
- public void setRecoveryInterval(long recoveryInterval) {
- this.recoveryInterval = recoveryInterval;
- }
-
- public boolean isSubscriptionDurable() {
- return subscriptionDurable;
- }
-
- public void setSubscriptionDurable(boolean subscriptionDurable) {
- this.subscriptionDurable = subscriptionDurable;
- }
-
- public TaskExecutor getTaskExecutor() {
- return taskExecutor;
- }
-
- public void setTaskExecutor(TaskExecutor taskExecutor) {
- this.taskExecutor = taskExecutor;
- }
-
- public long getTimeToLive() {
- return timeToLive;
- }
-
- public void setTimeToLive(long timeToLive) {
- this.timeToLive = timeToLive;
- }
-
- public boolean isTransacted() {
- return transacted;
- }
-
- public void setTransacted(boolean transacted) {
- this.transacted = transacted;
- }
-
- public boolean isLazyCreateTransactionManager() {
- return lazyCreateTransactionManager;
- }
-
- public void setLazyCreateTransactionManager(
- boolean lazyCreateTransactionManager) {
- this.lazyCreateTransactionManager = lazyCreateTransactionManager;
- }
-
- public PlatformTransactionManager getTransactionManager() {
- return transactionManager;
- }
-
- public void setTransactionManager(
- PlatformTransactionManager transactionManager) {
- this.transactionManager = transactionManager;
- }
-
- public String getTransactionName() {
- return transactionName;
- }
-
- public void setTransactionName(String transactionName) {
- this.transactionName = transactionName;
- }
-
- public int getTransactionTimeout() {
- return transactionTimeout;
- }
-
- public void setTransactionTimeout(int transactionTimeout) {
- this.transactionTimeout = transactionTimeout;
- }
-
- public boolean isTestConnectionOnStartup() {
- return testConnectionOnStartup;
- }
-
- public void setTestConnectionOnStartup(boolean testConnectionOnStartup) {
- this.testConnectionOnStartup = testConnectionOnStartup;
- }
-
- public boolean isAsyncStartListener() {
- return asyncStartListener;
- }
-
- public void setAsyncStartListener(boolean asyncStartListener) {
- this.asyncStartListener = asyncStartListener;
- }
-
- public boolean isAsyncStopListener() {
- return asyncStopListener;
- }
-
- public void setAsyncStopListener(boolean asyncStopListener) {
- this.asyncStopListener = asyncStopListener;
- }
-
- public boolean isForceSendOriginalMessage() {
- return forceSendOriginalMessage;
- }
-
- public void setForceSendOriginalMessage(boolean forceSendOriginalMessage) {
- this.forceSendOriginalMessage = forceSendOriginalMessage;
- }
-
- public long getRequestTimeout() {
- return requestTimeout;
- }
-
- public void setRequestTimeout(long requestTimeout) {
- this.requestTimeout = requestTimeout;
- }
-
- public long getRequestTimeoutCheckerInterval() {
- return requestTimeoutCheckerInterval;
- }
-
- public void setRequestTimeoutCheckerInterval(
- long requestTimeoutCheckerInterval) {
- this.requestTimeoutCheckerInterval = requestTimeoutCheckerInterval;
- }
-
- public boolean isTransferExchange() {
- return transferExchange;
- }
-
- public void setTransferExchange(boolean transferExchange) {
- this.transferExchange = transferExchange;
- }
-
- public boolean isTransferException() {
- return transferException;
- }
-
- public void setTransferException(boolean transferException) {
- this.transferException = transferException;
- }
-
- public boolean isTransferFault() {
- return transferFault;
- }
-
- public void setTransferFault(boolean transferFault) {
- this.transferFault = transferFault;
- }
-
- public JmsOperations getJmsOperations() {
- return jmsOperations;
- }
-
- public void setJmsOperations(JmsOperations jmsOperations) {
- this.jmsOperations = jmsOperations;
- }
-
- public DestinationResolver getDestinationResolver() {
- return destinationResolver;
- }
-
- public void setDestinationResolver(DestinationResolver destinationResolver) {
- this.destinationResolver = destinationResolver;
- }
-
- public ReplyToType getReplyToType() {
- return replyToType;
- }
-
- public void setReplyToType(ReplyToType replyToType) {
- this.replyToType = replyToType;
- }
-
- public boolean isPreserveMessageQos() {
- return preserveMessageQos;
- }
-
- public void setPreserveMessageQos(boolean preserveMessageQos) {
- this.preserveMessageQos = preserveMessageQos;
- }
-
- public boolean isAsyncConsumer() {
- return asyncConsumer;
- }
-
- public void setAsyncConsumer(boolean asyncConsumer) {
- this.asyncConsumer = asyncConsumer;
- }
-
- public boolean isAllowNullBody() {
- return allowNullBody;
- }
-
- public void setAllowNullBody(boolean allowNullBody) {
- this.allowNullBody = allowNullBody;
- }
-
- public boolean isIncludeSentJMSMessageID() {
- return includeSentJMSMessageID;
- }
-
- public void setIncludeSentJMSMessageID(boolean includeSentJMSMessageID) {
- this.includeSentJMSMessageID = includeSentJMSMessageID;
- }
-
- public boolean isIncludeAllJMSXProperties() {
- return includeAllJMSXProperties;
- }
-
- public void setIncludeAllJMSXProperties(boolean includeAllJMSXProperties) {
- this.includeAllJMSXProperties = includeAllJMSXProperties;
- }
-
- public DefaultTaskExecutorType getDefaultTaskExecutorType() {
- return defaultTaskExecutorType;
- }
-
- public void setDefaultTaskExecutorType(
- DefaultTaskExecutorType defaultTaskExecutorType) {
- this.defaultTaskExecutorType = defaultTaskExecutorType;
- }
-
- public JmsKeyFormatStrategy getJmsKeyFormatStrategy() {
- return jmsKeyFormatStrategy;
- }
-
- public void setJmsKeyFormatStrategy(
- JmsKeyFormatStrategy jmsKeyFormatStrategy) {
- this.jmsKeyFormatStrategy = jmsKeyFormatStrategy;
- }
-
- public ApplicationContext getApplicationContext() {
- return applicationContext;
- }
-
- public void setApplicationContext(ApplicationContext applicationContext) {
- this.applicationContext = applicationContext;
- }
-
- public QueueBrowseStrategy getQueueBrowseStrategy() {
- return queueBrowseStrategy;
- }
-
- public void setQueueBrowseStrategy(QueueBrowseStrategy queueBrowseStrategy) {
- this.queueBrowseStrategy = queueBrowseStrategy;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-
- public MessageCreatedStrategy getMessageCreatedStrategy() {
- return messageCreatedStrategy;
- }
-
- public void setMessageCreatedStrategy(
- MessageCreatedStrategy messageCreatedStrategy) {
- this.messageCreatedStrategy = messageCreatedStrategy;
- }
-
- public int getWaitForProvisionCorrelationToBeUpdatedCounter() {
- return waitForProvisionCorrelationToBeUpdatedCounter;
- }
-
- public void setWaitForProvisionCorrelationToBeUpdatedCounter(
- int waitForProvisionCorrelationToBeUpdatedCounter) {
- this.waitForProvisionCorrelationToBeUpdatedCounter = waitForProvisionCorrelationToBeUpdatedCounter;
- }
-
- public long getWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime() {
- return waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
- }
-
- public void setWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime(
- long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime) {
- this.waitForProvisionCorrelationToBeUpdatedThreadSleepingTime = waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jms/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/resources/META-INF/spring.factories b/components/camel-jms/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9168bc1..0000000
--- a/components/camel-jms/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jms.springboot.JmsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java b/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java
deleted file mode 100644
index df573a1..0000000
--- a/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jmx.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jmx.JMXComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JMXComponentConfiguration.class)
-public class JMXComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JMXComponent.class)
- public JMXComponent configureComponent(CamelContext camelContext,
- JMXComponentConfiguration configuration) throws Exception {
- JMXComponent component = new JMXComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentConfiguration.java b/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentConfiguration.java
deleted file mode 100644
index 9ba1508..0000000
--- a/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/springboot/JMXComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jmx.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The jmx component allows to receive JMX notifications.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jmx")
-public class JMXComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jmx/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jmx/src/main/resources/META-INF/spring.factories b/components/camel-jmx/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 206a074..0000000
--- a/components/camel-jmx/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jmx.springboot.JMXComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
deleted file mode 100644
index ef135fb..0000000
--- a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jolt.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jolt.JoltComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JoltComponentConfiguration.class)
-public class JoltComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JoltComponent.class)
- public JoltComponent configureComponent(CamelContext camelContext,
- JoltComponentConfiguration configuration) throws Exception {
- JoltComponent component = new JoltComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
deleted file mode 100644
index 8d27cbd..0000000
--- a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jolt.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.bazaarvoice.jolt.Transform;
-
-/**
- * The jolt component allows you to process a JSON messages using an JOLT
- * specification (such as JSON-JSON transformation).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jolt")
-public class JoltComponentConfiguration {
-
- /**
- * Explicitly sets the Transform to use. If not set a Transform specified by
- * the transformDsl will be created
- */
- private Transform transform;
-
- public Transform getTransform() {
- return transform;
- }
-
- public void setTransform(Transform transform) {
- this.transform = transform;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jolt/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jolt/src/main/resources/META-INF/spring.factories b/components/camel-jolt/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index c1cc7bf..0000000
--- a/components/camel-jolt/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jolt.springboot.JoltComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
deleted file mode 100644
index 69e6c8d..0000000
--- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jpa.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jpa.JpaComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(JpaComponentConfiguration.class)
-public class JpaComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JpaComponent.class)
- public JpaComponent configureComponent(CamelContext camelContext,
- JpaComponentConfiguration configuration) throws Exception {
- JpaComponent component = new JpaComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
deleted file mode 100644
index 5eefcd0..0000000
--- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jpa.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.persistence.EntityManagerFactory;
-import org.springframework.transaction.PlatformTransactionManager;
-
-/**
- * The jpa component enables you to store and retrieve Java objects from
- * databases using JPA.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.jpa")
-public class JpaComponentConfiguration {
-
- /**
- * To use the EntityManagerFactory. This is strongly recommended to
- * configure.
- */
- private EntityManagerFactory entityManagerFactory;
- /**
- * To use the PlatformTransactionManager for managing transactions.
- */
- private PlatformTransactionManager transactionManager;
- /**
- * The camel-jpa component will join transaction by default. You can use
- * this option to turn this off for example if you use LOCAL_RESOURCE and
- * join transaction doesn't work with your JPA provider. This option can
- * also be set globally on the JpaComponent instead of having to set it on
- * all endpoints.
- */
- private boolean joinTransaction;
- /**
- * Whether to use Spring's SharedEntityManager for the consumer/producer.
- * Note in most cases joinTransaction should be set to false as this is not
- * an EXTENDED EntityManager.
- */
- private boolean sharedEntityManager;
-
- public EntityManagerFactory getEntityManagerFactory() {
- return entityManagerFactory;
- }
-
- public void setEntityManagerFactory(
- EntityManagerFactory entityManagerFactory) {
- this.entityManagerFactory = entityManagerFactory;
- }
-
- public PlatformTransactionManager getTransactionManager() {
- return transactionManager;
- }
-
- public void setTransactionManager(
- PlatformTransactionManager transactionManager) {
- this.transactionManager = transactionManager;
- }
-
- public boolean isJoinTransaction() {
- return joinTransaction;
- }
-
- public void setJoinTransaction(boolean joinTransaction) {
- this.joinTransaction = joinTransaction;
- }
-
- public boolean isSharedEntityManager() {
- return sharedEntityManager;
- }
-
- public void setSharedEntityManager(boolean sharedEntityManager) {
- this.sharedEntityManager = sharedEntityManager;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jpa/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/resources/META-INF/spring.factories b/components/camel-jpa/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 344e45e..0000000
--- a/components/camel-jpa/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.jpa.springboot.JpaComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
deleted file mode 100644
index eab835a..0000000
--- a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.scp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.scp.ScpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(ScpComponentConfiguration.class)
-public class ScpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ScpComponent.class)
- public ScpComponent configureComponent(CamelContext camelContext,
- ScpComponentConfiguration configuration) throws Exception {
- ScpComponent component = new ScpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
deleted file mode 100644
index 4fa0f5f..0000000
--- a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.scp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * To copy files using the secure copy protocol (SCP).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.scp")
-public class ScpComponentConfiguration {
-
- /**
- * JSCH is verbose logging out of the box. Therefore we turn the logging
- * down to DEBUG logging by default. But setting this option to true turns
- * on the verbose logging again.
- */
- private boolean verboseLogging;
-
- public boolean isVerboseLogging() {
- return verboseLogging;
- }
-
- public void setVerboseLogging(boolean verboseLogging) {
- this.verboseLogging = verboseLogging;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jsch/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/resources/META-INF/spring.factories b/components/camel-jsch/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 0fefee7..0000000
--- a/components/camel-jsch/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.scp.springboot.ScpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java b/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
deleted file mode 100644
index 27951b9..0000000
--- a/components/camel-jt400/src/main/java/org/apache/camel/component/jt400/springboot/Jt400ComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.jt400.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.jt400.Jt400Component;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(Jt400ComponentConfiguration.class)
-public class Jt400ComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(Jt400Component.class)
- public Jt400Component configureComponent(CamelContext camelContext,
- Jt400ComponentConfiguration configuration) throws Exception {
- Jt400Component component = new Jt400Component();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[21/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
new file mode 100644
index 0000000..1a10e7d
--- /dev/null
+++ b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/springboot/QuartzComponentConfiguration.java
@@ -0,0 +1,149 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.quartz2.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import java.util.Properties;
+import org.quartz.SchedulerFactory;
+import org.quartz.Scheduler;
+
+/**
+ * Provides a scheduled delivery of messages using the Quartz 2.x scheduler.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.quartz2")
+public class QuartzComponentConfiguration {
+
+ /**
+ * Whether or not the scheduler should be auto started. This options is
+ * default true
+ */
+ private boolean autoStartScheduler;
+ /**
+ * Seconds to wait before starting the quartz scheduler.
+ */
+ private int startDelayedSeconds;
+ /**
+ * Whether to prefix the quartz job with the endpoint id. This option is
+ * default false.
+ */
+ private boolean prefixJobNameWithEndpointId;
+ /**
+ * Whether to enable Quartz JMX which allows to manage the Quartz scheduler
+ * from JMX. This options is default true
+ */
+ private boolean enableJmx;
+ /**
+ * Properties to configure the Quartz scheduler.
+ */
+ private Properties properties;
+ /**
+ * File name of the properties to load from the classpath
+ */
+ private String propertiesFile;
+ /**
+ * Whether to prefix the Quartz Scheduler instance name with the
+ * CamelContext name. This is enabled by default to let each CamelContext
+ * use its own Quartz scheduler instance by default. You can set this option
+ * to false to reuse Quartz scheduler instances between multiple
+ * CamelContext's.
+ */
+ private boolean prefixInstanceName;
+ /**
+ * To use the custom SchedulerFactory which is used to create the Scheduler.
+ */
+ private SchedulerFactory schedulerFactory;
+ /**
+ * To use the custom configured Quartz scheduler instead of creating a new
+ * Scheduler.
+ */
+ private Scheduler scheduler;
+
+ public boolean isAutoStartScheduler() {
+ return autoStartScheduler;
+ }
+
+ public void setAutoStartScheduler(boolean autoStartScheduler) {
+ this.autoStartScheduler = autoStartScheduler;
+ }
+
+ public int getStartDelayedSeconds() {
+ return startDelayedSeconds;
+ }
+
+ public void setStartDelayedSeconds(int startDelayedSeconds) {
+ this.startDelayedSeconds = startDelayedSeconds;
+ }
+
+ public boolean isPrefixJobNameWithEndpointId() {
+ return prefixJobNameWithEndpointId;
+ }
+
+ public void setPrefixJobNameWithEndpointId(
+ boolean prefixJobNameWithEndpointId) {
+ this.prefixJobNameWithEndpointId = prefixJobNameWithEndpointId;
+ }
+
+ public boolean isEnableJmx() {
+ return enableJmx;
+ }
+
+ public void setEnableJmx(boolean enableJmx) {
+ this.enableJmx = enableJmx;
+ }
+
+ public Properties getProperties() {
+ return properties;
+ }
+
+ public void setProperties(Properties properties) {
+ this.properties = properties;
+ }
+
+ public String getPropertiesFile() {
+ return propertiesFile;
+ }
+
+ public void setPropertiesFile(String propertiesFile) {
+ this.propertiesFile = propertiesFile;
+ }
+
+ public boolean isPrefixInstanceName() {
+ return prefixInstanceName;
+ }
+
+ public void setPrefixInstanceName(boolean prefixInstanceName) {
+ this.prefixInstanceName = prefixInstanceName;
+ }
+
+ public SchedulerFactory getSchedulerFactory() {
+ return schedulerFactory;
+ }
+
+ public void setSchedulerFactory(SchedulerFactory schedulerFactory) {
+ this.schedulerFactory = schedulerFactory;
+ }
+
+ public Scheduler getScheduler() {
+ return scheduler;
+ }
+
+ public void setScheduler(Scheduler scheduler) {
+ this.scheduler = scheduler;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quartz2/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/main/resources/META-INF/spring.factories b/components/camel-quartz2/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..c8a464a
--- /dev/null
+++ b/components/camel-quartz2/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.quartz2.springboot.QuartzComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
new file mode 100644
index 0000000..f6db84e
--- /dev/null
+++ b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.quickfixj.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.quickfixj.QuickfixjComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(QuickfixjComponentConfiguration.class)
+public class QuickfixjComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(QuickfixjComponent.class)
+ public QuickfixjComponent configureComponent(CamelContext camelContext,
+ QuickfixjComponentConfiguration configuration) throws Exception {
+ QuickfixjComponent component = new QuickfixjComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
new file mode 100644
index 0000000..b5c7ac6
--- /dev/null
+++ b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/springboot/QuickfixjComponentConfiguration.java
@@ -0,0 +1,98 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.quickfixj.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import quickfix.MessageFactory;
+import quickfix.LogFactory;
+import quickfix.MessageStoreFactory;
+import java.util.Map;
+import org.apache.camel.component.quickfixj.QuickfixjConfiguration;
+
+/**
+ * The quickfix component allows to send Financial Interchange (FIX) messages to
+ * the QuickFix engine.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.quickfix")
+public class QuickfixjComponentConfiguration {
+
+ /**
+ * To use the given MessageFactory
+ */
+ private MessageFactory messageFactory;
+ /**
+ * To use the given LogFactory
+ */
+ private LogFactory logFactory;
+ /**
+ * To use the given MessageStoreFactory
+ */
+ private MessageStoreFactory messageStoreFactory;
+ /**
+ * To use the given map of pre configured QuickFix configurations mapped to
+ * the key
+ */
+ private Map<java.lang.String, org.apache.camel.component.quickfixj.QuickfixjConfiguration> configurations;
+ /**
+ * If set to true the engines will be created and started when needed (when
+ * first message is send)
+ */
+ private boolean lazyCreateEngines;
+
+ public MessageFactory getMessageFactory() {
+ return messageFactory;
+ }
+
+ public void setMessageFactory(MessageFactory messageFactory) {
+ this.messageFactory = messageFactory;
+ }
+
+ public LogFactory getLogFactory() {
+ return logFactory;
+ }
+
+ public void setLogFactory(LogFactory logFactory) {
+ this.logFactory = logFactory;
+ }
+
+ public MessageStoreFactory getMessageStoreFactory() {
+ return messageStoreFactory;
+ }
+
+ public void setMessageStoreFactory(MessageStoreFactory messageStoreFactory) {
+ this.messageStoreFactory = messageStoreFactory;
+ }
+
+ public Map<String, QuickfixjConfiguration> getConfigurations() {
+ return configurations;
+ }
+
+ public void setConfigurations(
+ Map<String, QuickfixjConfiguration> configurations) {
+ this.configurations = configurations;
+ }
+
+ public boolean isLazyCreateEngines() {
+ return lazyCreateEngines;
+ }
+
+ public void setLazyCreateEngines(boolean lazyCreateEngines) {
+ this.lazyCreateEngines = lazyCreateEngines;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-quickfix/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-quickfix/src/main/resources/META-INF/spring.factories b/components/camel-quickfix/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..c3f0a79
--- /dev/null
+++ b/components/camel-quickfix/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.quickfixj.springboot.QuickfixjComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
new file mode 100644
index 0000000..5f67f3c
--- /dev/null
+++ b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.restlet.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.restlet.RestletComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(RestletComponentConfiguration.class)
+public class RestletComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(RestletComponent.class)
+ public RestletComponent configureComponent(CamelContext camelContext,
+ RestletComponentConfiguration configuration) throws Exception {
+ RestletComponent component = new RestletComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
new file mode 100644
index 0000000..7628dc5
--- /dev/null
+++ b/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/springboot/RestletComponentConfiguration.java
@@ -0,0 +1,296 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.restlet.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import java.util.List;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * Component for consuming and producing Restful resources using Restlet.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.restlet")
+public class RestletComponentConfiguration {
+
+ /**
+ * Indicates if the controller thread should be a daemon (not blocking JVM
+ * exit).
+ */
+ private Boolean controllerDaemon;
+ /**
+ * Time for the controller thread to sleep between each control.
+ */
+ private Integer controllerSleepTimeMs;
+ /**
+ * The size of the buffer when reading messages.
+ */
+ private Integer inboundBufferSize;
+ /**
+ * Maximum number of concurrent connections per host (IP address).
+ */
+ private Integer maxConnectionsPerHost;
+ /**
+ * Maximum threads that will service requests.
+ */
+ private Integer maxThreads;
+ /**
+ * Number of worker threads determining when the connector is considered
+ * overloaded.
+ */
+ private Integer lowThreads;
+ /**
+ * Maximum number of concurrent connections in total.
+ */
+ private Integer maxTotalConnections;
+ /**
+ * Minimum threads waiting to service requests.
+ */
+ private Integer minThreads;
+ /**
+ * The size of the buffer when writing messages.
+ */
+ private Integer outboundBufferSize;
+ /**
+ * Indicates if connections should be kept alive after a call.
+ */
+ private Boolean persistingConnections;
+ /**
+ * Indicates if pipelining connections are supported.
+ */
+ private Boolean pipeliningConnections;
+ /**
+ * Time for an idle thread to wait for an operation before being collected.
+ */
+ private Integer threadMaxIdleTimeMs;
+ /**
+ * Lookup the X-Forwarded-For header supported by popular proxies and caches
+ * and uses it to populate the Request.getClientAddresses() method result.
+ * This information is only safe for intermediary components within your
+ * local network. Other addresses could easily be changed by setting a fake
+ * header and should not be trusted for serious security checks.
+ */
+ private Boolean useForwardedForHeader;
+ /**
+ * Enable/disable the SO_REUSEADDR socket option. See
+ * java.io.ServerSocketreuseAddress property for additional details.
+ */
+ private Boolean reuseAddress;
+ /**
+ * Maximum number of calls that can be queued if there aren't any worker
+ * thread available to service them. If the value is '0' then no queue is
+ * used and calls are rejected if no worker thread is immediately available.
+ * If the value is '-1' then an unbounded queue is used and calls are never
+ * rejected.
+ */
+ private Integer maxQueued;
+ /**
+ * Determines whether or not the raw input stream from Restlet is cached or
+ * not (Camel will read the stream into a in memory/overflow to file Stream
+ * caching) cache. By default Camel will cache the Restlet input stream to
+ * support reading it multiple times to ensure Camel can retrieve all data
+ * from the stream. However you can set this option to true when you for
+ * example need to access the raw stream such as streaming it directly to a
+ * file or other persistent store. DefaultRestletBinding will copy the
+ * request input stream into a stream cache and put it into message body if
+ * this option is false to support reading the stream multiple times.
+ */
+ private boolean disableStreamCache;
+ /**
+ * To configure the port number for the restlet consumer routes. This allows
+ * to configure this once to reuse the same port for these consumers.
+ */
+ private int port;
+ /**
+ * Whether to use synchronous Restlet Client for the producer. Setting this
+ * option to true can yield faster performance as it seems the Restlet
+ * synchronous Client works better.
+ */
+ private Boolean synchronous;
+ /**
+ * A list of converters to enable as full class name or simple class name.
+ * All the converters automatically registered are enabled if empty or null
+ */
+ private List<java.lang.String> enabledConverters;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public Boolean getControllerDaemon() {
+ return controllerDaemon;
+ }
+
+ public void setControllerDaemon(Boolean controllerDaemon) {
+ this.controllerDaemon = controllerDaemon;
+ }
+
+ public Integer getControllerSleepTimeMs() {
+ return controllerSleepTimeMs;
+ }
+
+ public void setControllerSleepTimeMs(Integer controllerSleepTimeMs) {
+ this.controllerSleepTimeMs = controllerSleepTimeMs;
+ }
+
+ public Integer getInboundBufferSize() {
+ return inboundBufferSize;
+ }
+
+ public void setInboundBufferSize(Integer inboundBufferSize) {
+ this.inboundBufferSize = inboundBufferSize;
+ }
+
+ public Integer getMaxConnectionsPerHost() {
+ return maxConnectionsPerHost;
+ }
+
+ public void setMaxConnectionsPerHost(Integer maxConnectionsPerHost) {
+ this.maxConnectionsPerHost = maxConnectionsPerHost;
+ }
+
+ public Integer getMaxThreads() {
+ return maxThreads;
+ }
+
+ public void setMaxThreads(Integer maxThreads) {
+ this.maxThreads = maxThreads;
+ }
+
+ public Integer getLowThreads() {
+ return lowThreads;
+ }
+
+ public void setLowThreads(Integer lowThreads) {
+ this.lowThreads = lowThreads;
+ }
+
+ public Integer getMaxTotalConnections() {
+ return maxTotalConnections;
+ }
+
+ public void setMaxTotalConnections(Integer maxTotalConnections) {
+ this.maxTotalConnections = maxTotalConnections;
+ }
+
+ public Integer getMinThreads() {
+ return minThreads;
+ }
+
+ public void setMinThreads(Integer minThreads) {
+ this.minThreads = minThreads;
+ }
+
+ public Integer getOutboundBufferSize() {
+ return outboundBufferSize;
+ }
+
+ public void setOutboundBufferSize(Integer outboundBufferSize) {
+ this.outboundBufferSize = outboundBufferSize;
+ }
+
+ public Boolean getPersistingConnections() {
+ return persistingConnections;
+ }
+
+ public void setPersistingConnections(Boolean persistingConnections) {
+ this.persistingConnections = persistingConnections;
+ }
+
+ public Boolean getPipeliningConnections() {
+ return pipeliningConnections;
+ }
+
+ public void setPipeliningConnections(Boolean pipeliningConnections) {
+ this.pipeliningConnections = pipeliningConnections;
+ }
+
+ public Integer getThreadMaxIdleTimeMs() {
+ return threadMaxIdleTimeMs;
+ }
+
+ public void setThreadMaxIdleTimeMs(Integer threadMaxIdleTimeMs) {
+ this.threadMaxIdleTimeMs = threadMaxIdleTimeMs;
+ }
+
+ public Boolean getUseForwardedForHeader() {
+ return useForwardedForHeader;
+ }
+
+ public void setUseForwardedForHeader(Boolean useForwardedForHeader) {
+ this.useForwardedForHeader = useForwardedForHeader;
+ }
+
+ public Boolean getReuseAddress() {
+ return reuseAddress;
+ }
+
+ public void setReuseAddress(Boolean reuseAddress) {
+ this.reuseAddress = reuseAddress;
+ }
+
+ public Integer getMaxQueued() {
+ return maxQueued;
+ }
+
+ public void setMaxQueued(Integer maxQueued) {
+ this.maxQueued = maxQueued;
+ }
+
+ public boolean isDisableStreamCache() {
+ return disableStreamCache;
+ }
+
+ public void setDisableStreamCache(boolean disableStreamCache) {
+ this.disableStreamCache = disableStreamCache;
+ }
+
+ public int getPort() {
+ return port;
+ }
+
+ public void setPort(int port) {
+ this.port = port;
+ }
+
+ public Boolean getSynchronous() {
+ return synchronous;
+ }
+
+ public void setSynchronous(Boolean synchronous) {
+ this.synchronous = synchronous;
+ }
+
+ public List<String> getEnabledConverters() {
+ return enabledConverters;
+ }
+
+ public void setEnabledConverters(List<String> enabledConverters) {
+ this.enabledConverters = enabledConverters;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-restlet/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-restlet/src/main/resources/META-INF/spring.factories b/components/camel-restlet/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..5ff7b3e
--- /dev/null
+++ b/components/camel-restlet/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.restlet.springboot.RestletComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
new file mode 100644
index 0000000..b225f6e
--- /dev/null
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.salesforce.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.salesforce.SalesforceComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SalesforceComponentConfiguration.class)
+public class SalesforceComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SalesforceComponent.class)
+ public SalesforceComponent configureComponent(CamelContext camelContext,
+ SalesforceComponentConfiguration configuration) throws Exception {
+ SalesforceComponent component = new SalesforceComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
new file mode 100644
index 0000000..a0dc59e
--- /dev/null
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
@@ -0,0 +1,231 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.salesforce.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.salesforce.SalesforceLoginConfig;
+import org.apache.camel.component.salesforce.SalesforceEndpointConfig;
+import java.util.Map;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import java.util.Set;
+
+/**
+ * The salesforce component is used for integrating Camel with the massive
+ * Salesforce API.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.salesforce")
+public class SalesforceComponentConfiguration {
+
+ /**
+ * To use the shared SalesforceLoginConfig as login configuration
+ */
+ private SalesforceLoginConfig loginConfig;
+ /**
+ * To use the shared SalesforceLoginConfig as configuration
+ */
+ private SalesforceEndpointConfig config;
+ /**
+ * Used for configuring HTTP client properties as key/value pairs
+ */
+ private Map<java.lang.String, java.lang.Object> httpClientProperties;
+ /**
+ * To configure security using SSLContextParameters
+ */
+ private SSLContextParameters sslContextParameters;
+ /**
+ * To configure HTTP proxy host
+ */
+ private String httpProxyHost;
+ /**
+ * To configure HTTP proxy port
+ */
+ private Integer httpProxyPort;
+ /**
+ * To configure HTTP proxy username
+ */
+ private String httpProxyUsername;
+ /**
+ * To configure HTTP proxy password
+ */
+ private String httpProxyPassword;
+ /**
+ * Enable for Socks4 proxy false by default
+ */
+ private boolean isHttpProxySocks4;
+ /**
+ * Enable for TLS connections true by default
+ */
+ private boolean isHttpProxySecure;
+ /**
+ * HTTP proxy included addresses
+ */
+ private Set<java.lang.String> httpProxyIncludedAddresses;
+ /**
+ * HTTP proxy excluded addresses
+ */
+ private Set<java.lang.String> httpProxyExcludedAddresses;
+ /**
+ * HTTP proxy authentication URI
+ */
+ private String httpProxyAuthUri;
+ /**
+ * HTTP proxy authentication realm
+ */
+ private String httpProxyRealm;
+ /**
+ * Use HTTP proxy Digest authentication false by default
+ */
+ private boolean httpProxyUseDigestAuth;
+ /**
+ * Package names to scan for DTO classes (multiple packages can be separated
+ * by comma).
+ */
+ private String[] packages;
+
+ public SalesforceLoginConfig getLoginConfig() {
+ return loginConfig;
+ }
+
+ public void setLoginConfig(SalesforceLoginConfig loginConfig) {
+ this.loginConfig = loginConfig;
+ }
+
+ public SalesforceEndpointConfig getConfig() {
+ return config;
+ }
+
+ public void setConfig(SalesforceEndpointConfig config) {
+ this.config = config;
+ }
+
+ public Map<String, Object> getHttpClientProperties() {
+ return httpClientProperties;
+ }
+
+ public void setHttpClientProperties(Map<String, Object> httpClientProperties) {
+ this.httpClientProperties = httpClientProperties;
+ }
+
+ public SSLContextParameters getSslContextParameters() {
+ return sslContextParameters;
+ }
+
+ public void setSslContextParameters(
+ SSLContextParameters sslContextParameters) {
+ this.sslContextParameters = sslContextParameters;
+ }
+
+ public String getHttpProxyHost() {
+ return httpProxyHost;
+ }
+
+ public void setHttpProxyHost(String httpProxyHost) {
+ this.httpProxyHost = httpProxyHost;
+ }
+
+ public Integer getHttpProxyPort() {
+ return httpProxyPort;
+ }
+
+ public void setHttpProxyPort(Integer httpProxyPort) {
+ this.httpProxyPort = httpProxyPort;
+ }
+
+ public String getHttpProxyUsername() {
+ return httpProxyUsername;
+ }
+
+ public void setHttpProxyUsername(String httpProxyUsername) {
+ this.httpProxyUsername = httpProxyUsername;
+ }
+
+ public String getHttpProxyPassword() {
+ return httpProxyPassword;
+ }
+
+ public void setHttpProxyPassword(String httpProxyPassword) {
+ this.httpProxyPassword = httpProxyPassword;
+ }
+
+ public boolean isIsHttpProxySocks4() {
+ return isHttpProxySocks4;
+ }
+
+ public void setIsHttpProxySocks4(boolean isHttpProxySocks4) {
+ this.isHttpProxySocks4 = isHttpProxySocks4;
+ }
+
+ public boolean isIsHttpProxySecure() {
+ return isHttpProxySecure;
+ }
+
+ public void setIsHttpProxySecure(boolean isHttpProxySecure) {
+ this.isHttpProxySecure = isHttpProxySecure;
+ }
+
+ public Set<String> getHttpProxyIncludedAddresses() {
+ return httpProxyIncludedAddresses;
+ }
+
+ public void setHttpProxyIncludedAddresses(
+ Set<String> httpProxyIncludedAddresses) {
+ this.httpProxyIncludedAddresses = httpProxyIncludedAddresses;
+ }
+
+ public Set<String> getHttpProxyExcludedAddresses() {
+ return httpProxyExcludedAddresses;
+ }
+
+ public void setHttpProxyExcludedAddresses(
+ Set<String> httpProxyExcludedAddresses) {
+ this.httpProxyExcludedAddresses = httpProxyExcludedAddresses;
+ }
+
+ public String getHttpProxyAuthUri() {
+ return httpProxyAuthUri;
+ }
+
+ public void setHttpProxyAuthUri(String httpProxyAuthUri) {
+ this.httpProxyAuthUri = httpProxyAuthUri;
+ }
+
+ public String getHttpProxyRealm() {
+ return httpProxyRealm;
+ }
+
+ public void setHttpProxyRealm(String httpProxyRealm) {
+ this.httpProxyRealm = httpProxyRealm;
+ }
+
+ public boolean isHttpProxyUseDigestAuth() {
+ return httpProxyUseDigestAuth;
+ }
+
+ public void setHttpProxyUseDigestAuth(boolean httpProxyUseDigestAuth) {
+ this.httpProxyUseDigestAuth = httpProxyUseDigestAuth;
+ }
+
+ public String[] getPackages() {
+ return packages;
+ }
+
+ public void setPackages(String[] packages) {
+ this.packages = packages;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories b/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..19e534b
--- /dev/null
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.salesforce.springboot.SalesforceComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
new file mode 100644
index 0000000..e7a36ea
--- /dev/null
+++ b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.xquery.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.xquery.XQueryComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(XQueryComponentConfiguration.class)
+public class XQueryComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(XQueryComponent.class)
+ public XQueryComponent configureComponent(CamelContext camelContext,
+ XQueryComponentConfiguration configuration) throws Exception {
+ XQueryComponent component = new XQueryComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
new file mode 100644
index 0000000..64a4a68
--- /dev/null
+++ b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.xquery.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import net.sf.saxon.lib.ModuleURIResolver;
+
+/**
+ * Transforms the message using a XQuery template using Saxon.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.xquery")
+public class XQueryComponentConfiguration {
+
+ /**
+ * To use the custom ModuleURIResolver
+ */
+ private ModuleURIResolver moduleURIResolver;
+
+ public ModuleURIResolver getModuleURIResolver() {
+ return moduleURIResolver;
+ }
+
+ public void setModuleURIResolver(ModuleURIResolver moduleURIResolver) {
+ this.moduleURIResolver = moduleURIResolver;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-saxon/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/resources/META-INF/spring.factories b/components/camel-saxon/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..e9b7419
--- /dev/null
+++ b/components/camel-saxon/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.xquery.springboot.XQueryComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
new file mode 100644
index 0000000..6b00043
--- /dev/null
+++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.servlet.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.servlet.ServletComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(ServletComponentConfiguration.class)
+public class ServletComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(ServletComponent.class)
+ public ServletComponent configureComponent(CamelContext camelContext,
+ ServletComponentConfiguration configuration) throws Exception {
+ ServletComponent component = new ServletComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
new file mode 100644
index 0000000..acb56fb
--- /dev/null
+++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
@@ -0,0 +1,127 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.servlet.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.servlet.HttpRegistry;
+import org.apache.camel.http.common.HttpBinding;
+import org.apache.camel.http.common.HttpConfiguration;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * To use a HTTP Servlet as entry for Camel routes when running in a servlet
+ * container.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.servlet")
+public class ServletComponentConfiguration {
+
+ /**
+ * Default name of servlet to use. The default name is CamelServlet.
+ */
+ private String servletName;
+ /**
+ * To use a custom org.apache.camel.component.servlet.HttpRegistry.
+ */
+ 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.
+ */
+ private boolean attachmentMultipartBinding;
+ /**
+ * To use a custom HttpBinding to control the mapping between Camel message
+ * and HttpClient.
+ */
+ private HttpBinding httpBinding;
+ /**
+ * To use the shared HttpConfiguration as base configuration.
+ */
+ private HttpConfiguration httpConfiguration;
+ /**
+ * Whether to allow java serialization when a request uses
+ * context-type=application/x-java-serialized-object This is by default
+ * turned off. If you enable this then be aware that Java will deserialize
+ * the incoming data from the request to Java and that can be a potential
+ * security risk.
+ */
+ private boolean allowJavaSerializedObject;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public String getServletName() {
+ return servletName;
+ }
+
+ public void setServletName(String servletName) {
+ this.servletName = servletName;
+ }
+
+ public HttpRegistry getHttpRegistry() {
+ return httpRegistry;
+ }
+
+ public void setHttpRegistry(HttpRegistry httpRegistry) {
+ this.httpRegistry = httpRegistry;
+ }
+
+ public boolean isAttachmentMultipartBinding() {
+ return attachmentMultipartBinding;
+ }
+
+ public void setAttachmentMultipartBinding(boolean attachmentMultipartBinding) {
+ this.attachmentMultipartBinding = attachmentMultipartBinding;
+ }
+
+ public HttpBinding getHttpBinding() {
+ return httpBinding;
+ }
+
+ public void setHttpBinding(HttpBinding httpBinding) {
+ this.httpBinding = httpBinding;
+ }
+
+ public HttpConfiguration getHttpConfiguration() {
+ return httpConfiguration;
+ }
+
+ public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
+ this.httpConfiguration = httpConfiguration;
+ }
+
+ public boolean isAllowJavaSerializedObject() {
+ return allowJavaSerializedObject;
+ }
+
+ public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
+ this.allowJavaSerializedObject = allowJavaSerializedObject;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-servlet/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/resources/META-INF/spring.factories b/components/camel-servlet/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..878459a
--- /dev/null
+++ b/components/camel-servlet/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.servlet.springboot.ServletComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
new file mode 100644
index 0000000..b90c08d
--- /dev/null
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sjms.batch.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.sjms.batch.SjmsBatchComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SjmsBatchComponentConfiguration.class)
+public class SjmsBatchComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SjmsBatchComponent.class)
+ public SjmsBatchComponent configureComponent(CamelContext camelContext,
+ SjmsBatchComponentConfiguration configuration) throws Exception {
+ SjmsBatchComponent component = new SjmsBatchComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
new file mode 100644
index 0000000..2fc9821
--- /dev/null
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
@@ -0,0 +1,43 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sjms.batch.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.jms.ConnectionFactory;
+
+/**
+ * The sjms-batch component is a specialized for highly performant transactional
+ * batch consumption from a JMS queue.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.sjms-batch")
+public class SjmsBatchComponentConfiguration {
+
+ /**
+ * A ConnectionFactory is required to enable the SjmsBatchComponent.
+ */
+ private ConnectionFactory connectionFactory;
+
+ public ConnectionFactory getConnectionFactory() {
+ return connectionFactory;
+ }
+
+ public void setConnectionFactory(ConnectionFactory connectionFactory) {
+ this.connectionFactory = connectionFactory;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
new file mode 100644
index 0000000..ac6d50a
--- /dev/null
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sjms.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.sjms.SjmsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SjmsComponentConfiguration.class)
+public class SjmsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SjmsComponent.class)
+ public SjmsComponent configureComponent(CamelContext camelContext,
+ SjmsComponentConfiguration configuration) throws Exception {
+ SjmsComponent component = new SjmsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
new file mode 100644
index 0000000..af45c48
--- /dev/null
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
@@ -0,0 +1,166 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.sjms.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.jms.ConnectionFactory;
+import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.camel.component.sjms.jms.ConnectionResource;
+import org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy;
+import org.apache.camel.component.sjms.TransactionCommitStrategy;
+import org.apache.camel.component.sjms.jms.DestinationCreationStrategy;
+import org.apache.camel.component.sjms.taskmanager.TimedTaskManager;
+import org.apache.camel.component.sjms.jms.MessageCreatedStrategy;
+
+/**
+ * The sjms component (simple jms) allows messages to be sent to (or consumed
+ * from) a JMS Queue or Topic.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.sjms")
+public class SjmsComponentConfiguration {
+
+ /**
+ * A ConnectionFactory is required to enable the SjmsComponent. It can be
+ * set directly or set set as part of a ConnectionResource.
+ */
+ private ConnectionFactory connectionFactory;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+ /**
+ * A ConnectionResource is an interface that allows for customization and
+ * container control of the ConnectionFactory. See Plugable Connection
+ * Resource Management for further details.
+ */
+ private ConnectionResource connectionResource;
+ /**
+ * The maximum number of connections available to endpoints started under
+ * this component
+ */
+ private Integer connectionCount;
+ /**
+ * Pluggable strategy for encoding and decoding JMS keys so they can be
+ * compliant with the JMS specification. Camel provides one implementation
+ * out of the box: default. The default strategy will safely marshal dots
+ * and hyphens (. and -). Can be used for JMS brokers which do not care
+ * whether JMS header keys contain illegal characters. You can provide your
+ * own implementation of the
+ * org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it using
+ * the notation.
+ */
+ private JmsKeyFormatStrategy jmsKeyFormatStrategy;
+ /**
+ * To configure which kind of commit strategy to use. Camel provides two
+ * implementations out of the box default and batch.
+ */
+ private TransactionCommitStrategy transactionCommitStrategy;
+ /**
+ * To use a custom DestinationCreationStrategy.
+ */
+ private DestinationCreationStrategy destinationCreationStrategy;
+ /**
+ * To use a custom TimedTaskManager
+ */
+ private TimedTaskManager timedTaskManager;
+ /**
+ * To use the given MessageCreatedStrategy which are invoked when Camel
+ * creates new instances of javax.jms.Message objects when Camel is sending
+ * a JMS message.
+ */
+ private MessageCreatedStrategy messageCreatedStrategy;
+
+ public ConnectionFactory getConnectionFactory() {
+ return connectionFactory;
+ }
+
+ public void setConnectionFactory(ConnectionFactory connectionFactory) {
+ this.connectionFactory = connectionFactory;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+
+ public ConnectionResource getConnectionResource() {
+ return connectionResource;
+ }
+
+ public void setConnectionResource(ConnectionResource connectionResource) {
+ this.connectionResource = connectionResource;
+ }
+
+ public Integer getConnectionCount() {
+ return connectionCount;
+ }
+
+ public void setConnectionCount(Integer connectionCount) {
+ this.connectionCount = connectionCount;
+ }
+
+ public JmsKeyFormatStrategy getJmsKeyFormatStrategy() {
+ return jmsKeyFormatStrategy;
+ }
+
+ public void setJmsKeyFormatStrategy(
+ JmsKeyFormatStrategy jmsKeyFormatStrategy) {
+ this.jmsKeyFormatStrategy = jmsKeyFormatStrategy;
+ }
+
+ public TransactionCommitStrategy getTransactionCommitStrategy() {
+ return transactionCommitStrategy;
+ }
+
+ public void setTransactionCommitStrategy(
+ TransactionCommitStrategy transactionCommitStrategy) {
+ this.transactionCommitStrategy = transactionCommitStrategy;
+ }
+
+ public DestinationCreationStrategy getDestinationCreationStrategy() {
+ return destinationCreationStrategy;
+ }
+
+ public void setDestinationCreationStrategy(
+ DestinationCreationStrategy destinationCreationStrategy) {
+ this.destinationCreationStrategy = destinationCreationStrategy;
+ }
+
+ public TimedTaskManager getTimedTaskManager() {
+ return timedTaskManager;
+ }
+
+ public void setTimedTaskManager(TimedTaskManager timedTaskManager) {
+ this.timedTaskManager = timedTaskManager;
+ }
+
+ public MessageCreatedStrategy getMessageCreatedStrategy() {
+ return messageCreatedStrategy;
+ }
+
+ public void setMessageCreatedStrategy(
+ MessageCreatedStrategy messageCreatedStrategy) {
+ this.messageCreatedStrategy = messageCreatedStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-sjms/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/resources/META-INF/spring.factories b/components/camel-sjms/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..a65a16e
--- /dev/null
+++ b/components/camel-sjms/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.sjms.batch.springboot.SjmsBatchComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
new file mode 100644
index 0000000..5a95d5a
--- /dev/null
+++ b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.slack.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.slack.SlackComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SlackComponentConfiguration.class)
+public class SlackComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SlackComponent.class)
+ public SlackComponent configureComponent(CamelContext camelContext,
+ SlackComponentConfiguration configuration) throws Exception {
+ SlackComponent component = new SlackComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
new file mode 100644
index 0000000..59ceb03
--- /dev/null
+++ b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
@@ -0,0 +1,41 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.slack.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * The slack component allows you to send messages to Slack.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.slack")
+public class SlackComponentConfiguration {
+
+ /**
+ * The incoming webhook URL
+ */
+ private String webhookUrl;
+
+ public String getWebhookUrl() {
+ return webhookUrl;
+ }
+
+ public void setWebhookUrl(String webhookUrl) {
+ this.webhookUrl = webhookUrl;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-slack/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/resources/META-INF/spring.factories b/components/camel-slack/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..3be2452
--- /dev/null
+++ b/components/camel-slack/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.slack.springboot.SlackComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
new file mode 100644
index 0000000..79890c3
--- /dev/null
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.smpp.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.smpp.SmppComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(SmppComponentConfiguration.class)
+public class SmppComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(SmppComponent.class)
+ public SmppComponent configureComponent(CamelContext camelContext,
+ SmppComponentConfiguration configuration) throws Exception {
+ SmppComponent component = new SmppComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
new file mode 100644
index 0000000..5042b30
--- /dev/null
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.smpp.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.smpp.SmppConfiguration;
+
+/**
+ * To send and receive SMS using a SMSC (Short Message Service Center).
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.smpps")
+public class SmppComponentConfiguration {
+
+ /**
+ * To use the shared SmppConfiguration as configuration.
+ */
+ private SmppConfiguration configuration;
+
+ public SmppConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(SmppConfiguration configuration) {
+ this.configuration = configuration;
+ }
+}
\ No newline at end of file
[24/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
new file mode 100644
index 0000000..30cdea1
--- /dev/null
+++ b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
@@ -0,0 +1,436 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jetty9.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.eclipse.jetty.server.handler.ErrorHandler;
+import java.util.Map;
+import org.eclipse.jetty.server.Connector;
+import org.eclipse.jetty.util.thread.ThreadPool;
+import org.apache.camel.component.jetty.JettyHttpBinding;
+import org.apache.camel.http.common.HttpBinding;
+import org.apache.camel.http.common.HttpConfiguration;
+import org.eclipse.jetty.jmx.MBeanContainer;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.apache.camel.spi.HeaderFilterStrategy;
+
+/**
+ * The jetty component provides HTTP-based endpoints for consuming and producing
+ * HTTP requests.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.jetty")
+public class JettyHttpComponentConfiguration9 {
+
+ /**
+ * The key password which is used to access the certificate's key entry in
+ * the keystore (this is the same password that is supplied to the keystore
+ * command's -keypass option).
+ */
+ private String sslKeyPassword;
+ /**
+ * The ssl password which is required to access the keystore file (this is
+ * the same password that is supplied to the keystore command's -storepass
+ * option).
+ */
+ private String sslPassword;
+ /**
+ * Specifies the location of the Java keystore file which contains the Jetty
+ * server's own X.509 certificate in a key entry.
+ */
+ private String keystore;
+ /**
+ * This option is used to set the ErrorHandler that Jetty server uses.
+ */
+ private ErrorHandler errorHandler;
+ /**
+ * A map which contains per port number specific SSL connectors.
+ */
+ private Map<java.lang.Integer, org.eclipse.jetty.server.Connector> sslSocketConnectors;
+ /**
+ * A map which contains per port number specific HTTP connectors. Uses the
+ * same principle as sslSocketConnectors.
+ */
+ private Map<java.lang.Integer, org.eclipse.jetty.server.Connector> socketConnectors;
+ /**
+ * To set a value for minimum number of threads in HttpClient thread pool.
+ * Notice that both a min and max size must be configured.
+ */
+ private Integer httpClientMinThreads;
+ /**
+ * To set a value for maximum number of threads in HttpClient thread pool.
+ * Notice that both a min and max size must be configured.
+ */
+ private Integer httpClientMaxThreads;
+ /**
+ * To set a value for minimum number of threads in server thread pool.
+ * Notice that both a min and max size must be configured.
+ */
+ private Integer minThreads;
+ /**
+ * To set a value for maximum number of threads in server thread pool.
+ * Notice that both a min and max size must be configured.
+ */
+ private Integer maxThreads;
+ /**
+ * To use a custom thread pool for the server. This option should only be
+ * used in special circumstances.
+ */
+ private ThreadPool threadPool;
+ /**
+ * If this option is true Jetty JMX support will be enabled for this
+ * endpoint.
+ */
+ private boolean enableJmx;
+ /**
+ * To use a custom org.apache.camel.component.jetty.JettyHttpBinding which
+ * are used to customize how a response should be written for the producer.
+ */
+ private JettyHttpBinding jettyHttpBinding;
+ /**
+ * Not to be used - use JettyHttpBinding instead.
+ */
+ private HttpBinding httpBinding;
+ /**
+ * Jetty component does not use HttpConfiguration.
+ */
+ private HttpConfiguration httpConfiguration;
+ /**
+ * To use a existing configured org.eclipse.jetty.jmx.MBeanContainer if JMX
+ * is enabled that Jetty uses for registering mbeans.
+ */
+ private MBeanContainer mbContainer;
+ /**
+ * A map which contains general SSL connector properties.
+ */
+ private Map<java.lang.String, java.lang.Object> sslSocketConnectorProperties;
+ /**
+ * A map which contains general HTTP connector properties. Uses the same
+ * principle as sslSocketConnectorProperties.
+ */
+ private Map<java.lang.String, java.lang.Object> socketConnectorProperties;
+ /**
+ * Allows to set a timeout in millis when using Jetty as consumer (server).
+ * By default Jetty uses 30000. You can use a value of = 0 to never expire.
+ * If a timeout occurs then the request will be expired and Jetty will
+ * return back a http error 503 to the client. This option is only in use
+ * when using Jetty with the Asynchronous Routing Engine.
+ */
+ private Long continuationTimeout;
+ /**
+ * Whether or not to use Jetty continuations for the Jetty Server.
+ */
+ private boolean useContinuation;
+ /**
+ * To configure security using SSLContextParameters
+ */
+ private SSLContextParameters sslContextParameters;
+ /**
+ * Allows to configure a custom value of the response buffer size on the
+ * Jetty connectors.
+ */
+ private Integer responseBufferSize;
+ /**
+ * Allows to configure a custom value of the request buffer size on the
+ * Jetty connectors.
+ */
+ private Integer requestBufferSize;
+ /**
+ * Allows to configure a custom value of the request header size on the
+ * Jetty connectors.
+ */
+ private Integer requestHeaderSize;
+ /**
+ * Allows to configure a custom value of the response header size on the
+ * Jetty connectors.
+ */
+ private Integer responseHeaderSize;
+ /**
+ * To use a http proxy to configure the hostname.
+ */
+ private String proxyHost;
+ /**
+ * To use a http proxy to configure the port number.
+ */
+ private Integer proxyPort;
+ /**
+ * If the option is true jetty server will send the date header to the
+ * client which sends the request. NOTE please make sure there is no any
+ * other camel-jetty endpoint is share the same port otherwise this option
+ * may not work as expected.
+ */
+ private boolean sendServerVersion;
+ /**
+ * Whether to allow java serialization when a request uses
+ * context-type=application/x-java-serialized-object This is by default
+ * turned off. If you enable this then be aware that Java will deserialize
+ * the incoming data from the request to Java and that can be a potential
+ * security risk.
+ */
+ private boolean allowJavaSerializedObject;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+
+ public String getSslKeyPassword() {
+ return sslKeyPassword;
+ }
+
+ public void setSslKeyPassword(String sslKeyPassword) {
+ this.sslKeyPassword = sslKeyPassword;
+ }
+
+ public String getSslPassword() {
+ return sslPassword;
+ }
+
+ public void setSslPassword(String sslPassword) {
+ this.sslPassword = sslPassword;
+ }
+
+ public String getKeystore() {
+ return keystore;
+ }
+
+ public void setKeystore(String keystore) {
+ this.keystore = keystore;
+ }
+
+ public ErrorHandler getErrorHandler() {
+ return errorHandler;
+ }
+
+ public void setErrorHandler(ErrorHandler errorHandler) {
+ this.errorHandler = errorHandler;
+ }
+
+ public Map<Integer, Connector> getSslSocketConnectors() {
+ return sslSocketConnectors;
+ }
+
+ public void setSslSocketConnectors(
+ Map<Integer, Connector> sslSocketConnectors) {
+ this.sslSocketConnectors = sslSocketConnectors;
+ }
+
+ public Map<Integer, Connector> getSocketConnectors() {
+ return socketConnectors;
+ }
+
+ public void setSocketConnectors(Map<Integer, Connector> socketConnectors) {
+ this.socketConnectors = socketConnectors;
+ }
+
+ public Integer getHttpClientMinThreads() {
+ return httpClientMinThreads;
+ }
+
+ public void setHttpClientMinThreads(Integer httpClientMinThreads) {
+ this.httpClientMinThreads = httpClientMinThreads;
+ }
+
+ public Integer getHttpClientMaxThreads() {
+ return httpClientMaxThreads;
+ }
+
+ public void setHttpClientMaxThreads(Integer httpClientMaxThreads) {
+ this.httpClientMaxThreads = httpClientMaxThreads;
+ }
+
+ public Integer getMinThreads() {
+ return minThreads;
+ }
+
+ public void setMinThreads(Integer minThreads) {
+ this.minThreads = minThreads;
+ }
+
+ public Integer getMaxThreads() {
+ return maxThreads;
+ }
+
+ public void setMaxThreads(Integer maxThreads) {
+ this.maxThreads = maxThreads;
+ }
+
+ public ThreadPool getThreadPool() {
+ return threadPool;
+ }
+
+ public void setThreadPool(ThreadPool threadPool) {
+ this.threadPool = threadPool;
+ }
+
+ public boolean isEnableJmx() {
+ return enableJmx;
+ }
+
+ public void setEnableJmx(boolean enableJmx) {
+ this.enableJmx = enableJmx;
+ }
+
+ public JettyHttpBinding getJettyHttpBinding() {
+ return jettyHttpBinding;
+ }
+
+ public void setJettyHttpBinding(JettyHttpBinding jettyHttpBinding) {
+ this.jettyHttpBinding = jettyHttpBinding;
+ }
+
+ public HttpBinding getHttpBinding() {
+ return httpBinding;
+ }
+
+ public void setHttpBinding(HttpBinding httpBinding) {
+ this.httpBinding = httpBinding;
+ }
+
+ public HttpConfiguration getHttpConfiguration() {
+ return httpConfiguration;
+ }
+
+ public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
+ this.httpConfiguration = httpConfiguration;
+ }
+
+ public MBeanContainer getMbContainer() {
+ return mbContainer;
+ }
+
+ public void setMbContainer(MBeanContainer mbContainer) {
+ this.mbContainer = mbContainer;
+ }
+
+ public Map<String, Object> getSslSocketConnectorProperties() {
+ return sslSocketConnectorProperties;
+ }
+
+ public void setSslSocketConnectorProperties(
+ Map<String, Object> sslSocketConnectorProperties) {
+ this.sslSocketConnectorProperties = sslSocketConnectorProperties;
+ }
+
+ public Map<String, Object> getSocketConnectorProperties() {
+ return socketConnectorProperties;
+ }
+
+ public void setSocketConnectorProperties(
+ Map<String, Object> socketConnectorProperties) {
+ this.socketConnectorProperties = socketConnectorProperties;
+ }
+
+ public Long getContinuationTimeout() {
+ return continuationTimeout;
+ }
+
+ public void setContinuationTimeout(Long continuationTimeout) {
+ this.continuationTimeout = continuationTimeout;
+ }
+
+ public boolean isUseContinuation() {
+ return useContinuation;
+ }
+
+ public void setUseContinuation(boolean useContinuation) {
+ this.useContinuation = useContinuation;
+ }
+
+ public SSLContextParameters getSslContextParameters() {
+ return sslContextParameters;
+ }
+
+ public void setSslContextParameters(
+ SSLContextParameters sslContextParameters) {
+ this.sslContextParameters = sslContextParameters;
+ }
+
+ public Integer getResponseBufferSize() {
+ return responseBufferSize;
+ }
+
+ public void setResponseBufferSize(Integer responseBufferSize) {
+ this.responseBufferSize = responseBufferSize;
+ }
+
+ public Integer getRequestBufferSize() {
+ return requestBufferSize;
+ }
+
+ public void setRequestBufferSize(Integer requestBufferSize) {
+ this.requestBufferSize = requestBufferSize;
+ }
+
+ public Integer getRequestHeaderSize() {
+ return requestHeaderSize;
+ }
+
+ public void setRequestHeaderSize(Integer requestHeaderSize) {
+ this.requestHeaderSize = requestHeaderSize;
+ }
+
+ public Integer getResponseHeaderSize() {
+ return responseHeaderSize;
+ }
+
+ public void setResponseHeaderSize(Integer responseHeaderSize) {
+ this.responseHeaderSize = responseHeaderSize;
+ }
+
+ public String getProxyHost() {
+ return proxyHost;
+ }
+
+ public void setProxyHost(String proxyHost) {
+ this.proxyHost = proxyHost;
+ }
+
+ public Integer getProxyPort() {
+ return proxyPort;
+ }
+
+ public void setProxyPort(Integer proxyPort) {
+ this.proxyPort = proxyPort;
+ }
+
+ public boolean isSendServerVersion() {
+ return sendServerVersion;
+ }
+
+ public void setSendServerVersion(boolean sendServerVersion) {
+ this.sendServerVersion = sendServerVersion;
+ }
+
+ public boolean isAllowJavaSerializedObject() {
+ return allowJavaSerializedObject;
+ }
+
+ public void setAllowJavaSerializedObject(boolean allowJavaSerializedObject) {
+ this.allowJavaSerializedObject = allowJavaSerializedObject;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jetty9/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/resources/META-INF/spring.factories b/components/camel-jetty9/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..4665848
--- /dev/null
+++ b/components/camel-jetty9/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.jetty9.springboot.JettyHttpComponentAutoConfiguration9
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
new file mode 100644
index 0000000..6233f20
--- /dev/null
+++ b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jgroups.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.jgroups.JGroupsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(JGroupsComponentConfiguration.class)
+public class JGroupsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(JGroupsComponent.class)
+ public JGroupsComponent configureComponent(CamelContext camelContext,
+ JGroupsComponentConfiguration configuration) throws Exception {
+ JGroupsComponent component = new JGroupsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
new file mode 100644
index 0000000..922ef70
--- /dev/null
+++ b/components/camel-jgroups/src/main/java/org/apache/camel/component/jgroups/springboot/JGroupsComponentConfiguration.java
@@ -0,0 +1,69 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jgroups.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.jgroups.Channel;
+
+/**
+ * The jgroups component provides exchange of messages between Camel and JGroups
+ * clusters.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.jgroups")
+public class JGroupsComponentConfiguration {
+
+ /**
+ * Channel to use
+ */
+ private Channel channel;
+ /**
+ * Specifies configuration properties of the JChannel used by the endpoint.
+ */
+ private String channelProperties;
+ /**
+ * If set to true the consumer endpoint will receive org.jgroups.View
+ * messages as well (not only org.jgroups.Message instances). By default
+ * only regular messages are consumed by the endpoint.
+ */
+ private boolean enableViewMessages;
+
+ public Channel getChannel() {
+ return channel;
+ }
+
+ public void setChannel(Channel channel) {
+ this.channel = channel;
+ }
+
+ public String getChannelProperties() {
+ return channelProperties;
+ }
+
+ public void setChannelProperties(String channelProperties) {
+ this.channelProperties = channelProperties;
+ }
+
+ public boolean isEnableViewMessages() {
+ return enableViewMessages;
+ }
+
+ public void setEnableViewMessages(boolean enableViewMessages) {
+ this.enableViewMessages = enableViewMessages;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jgroups/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/main/resources/META-INF/spring.factories b/components/camel-jgroups/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..f0e9df6
--- /dev/null
+++ b/components/camel-jgroups/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.jgroups.springboot.JGroupsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
new file mode 100644
index 0000000..9f8f3b4
--- /dev/null
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jms.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.jms.JmsComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(JmsComponentConfiguration.class)
+public class JmsComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(JmsComponent.class)
+ public JmsComponent configureComponent(CamelContext camelContext,
+ JmsComponentConfiguration configuration) throws Exception {
+ JmsComponent component = new JmsComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
new file mode 100644
index 0000000..24b3d03
--- /dev/null
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/springboot/JmsComponentConfiguration.java
@@ -0,0 +1,1123 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jms.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.apache.camel.component.jms.JmsConfiguration;
+import javax.jms.ConnectionFactory;
+import javax.jms.ExceptionListener;
+import org.springframework.util.ErrorHandler;
+import org.apache.camel.LoggingLevel;
+import org.springframework.jms.support.converter.MessageConverter;
+import org.springframework.core.task.TaskExecutor;
+import org.springframework.transaction.PlatformTransactionManager;
+import org.springframework.jms.core.JmsOperations;
+import org.springframework.jms.support.destination.DestinationResolver;
+import org.apache.camel.component.jms.ReplyToType;
+import org.apache.camel.component.jms.DefaultTaskExecutorType;
+import org.apache.camel.component.jms.JmsKeyFormatStrategy;
+import org.springframework.context.ApplicationContext;
+import org.apache.camel.component.jms.QueueBrowseStrategy;
+import org.apache.camel.spi.HeaderFilterStrategy;
+import org.apache.camel.component.jms.MessageCreatedStrategy;
+
+/**
+ * The jms component allows messages to be sent to (or consumed from) a JMS
+ * Queue or Topic.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.jms")
+public class JmsComponentConfiguration {
+
+ /**
+ * To use a shared JMS configuration
+ */
+ private JmsConfiguration configuration;
+ /**
+ * 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 enqued 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 the JMS broker. To avoid this its recommended to enable this
+ * option.
+ */
+ private boolean acceptMessagesWhileStopping;
+ /**
+ * Whether the DefaultMessageListenerContainer used in the reply managers
+ * for request-reply messaging allow the
+ * DefaultMessageListenerContainer.runningAllowed flag to quick stop in case
+ * JmsConfigurationisAcceptMessagesWhileStopping 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.
+ */
+ private boolean allowReplyManagerQuickStop;
+ /**
+ * 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.
+ */
+ private int acknowledgementMode;
+ /**
+ * Enables eager loading of JMS properties as soon as a message is loaded
+ * which generally is inefficient as the JMS properties may not be required
+ * but sometimes can catch early any issues with the underlying JMS provider
+ * and the use of JMS properties
+ */
+ private boolean eagerLoadingOfProperties;
+ /**
+ * The JMS acknowledgement name which is one of: SESSION_TRANSACTED
+ * CLIENT_ACKNOWLEDGE AUTO_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE
+ */
+ private String acknowledgementModeName;
+ /**
+ * Specifies whether the consumer container should auto-startup.
+ */
+ private boolean autoStartup;
+ /**
+ * Sets the cache level by ID for the underlying JMS resources. See
+ * cacheLevelName option for more details.
+ */
+ private int cacheLevel;
+ /**
+ * Sets the cache level by name for the underlying JMS resources. Possible
+ * values are: CACHE_AUTO CACHE_CONNECTION CACHE_CONSUMER CACHE_NONE and
+ * CACHE_SESSION. The default setting is CACHE_AUTO. See the Spring
+ * documentation and Transactions Cache Levels for more information.
+ */
+ private String cacheLevelName;
+ /**
+ * Sets the cache level by name for the reply consumer when doing
+ * request/reply over JMS. This option only applies when using fixed reply
+ * queues (not temporary). Camel will by default use: CACHE_CONSUMER for
+ * exclusive or shared w/ replyToSelectorName. And CACHE_SESSION for shared
+ * without replyToSelectorName. Some JMS brokers such as IBM WebSphere may
+ * require to set the replyToCacheLevelName=CACHE_NONE to work. Note: If
+ * using temporary queues then CACHE_NONE is not allowed and you must use a
+ * higher value such as CACHE_CONSUMER or CACHE_SESSION.
+ */
+ private String replyToCacheLevelName;
+ /**
+ * Sets the JMS client ID to use. Note that this value if specified must be
+ * unique and can only be used by a single JMS connection instance. It is
+ * typically only required for durable topic subscriptions. If using Apache
+ * ActiveMQ you may prefer to use Virtual Topics instead.
+ */
+ private String clientId;
+ /**
+ * Specifies the default number of concurrent consumers when consuming from
+ * JMS (not for request/reply over JMS). See also the maxMessagesPerTask
+ * option to control dynamic scaling up/down of threads. When doing
+ * request/reply over JMS then the option replyToConcurrentConsumers is used
+ * to control number of concurrent consumers on the reply message listener.
+ */
+ private int concurrentConsumers;
+ /**
+ * Specifies the default number of concurrent consumers when doing
+ * request/reply over JMS. See also the maxMessagesPerTask option to control
+ * dynamic scaling up/down of threads.
+ */
+ private int replyToConcurrentConsumers;
+ /**
+ * Sets the default connection factory to be use
+ */
+ private ConnectionFactory connectionFactory;
+ /**
+ * Specifies whether persistent delivery is used by default.
+ */
+ private boolean deliveryPersistent;
+ /**
+ * Specifies the delivery mode to be used. Possible values are Possibles
+ * values are those defined by javax.jms.DeliveryMode. NON_PERSISTENT = 1
+ * and PERSISTENT = 2.
+ */
+ private Integer deliveryMode;
+ /**
+ * The durable subscriber name for specifying durable topic subscriptions.
+ * The clientId option must be configured as well.
+ */
+ private String durableSubscriptionName;
+ /**
+ * Specifies the JMS Exception Listener that is to be notified of any
+ * underlying JMS exceptions.
+ */
+ private ExceptionListener exceptionListener;
+ /**
+ * Specifies a org.springframework.util.ErrorHandler to be invoked in case
+ * of any uncaught exceptions thrown while processing a Message. By default
+ * these exceptions will be logged at the WARN level if no errorHandler has
+ * been configured. You can configure logging level and whether stack traces
+ * should be logged using errorHandlerLoggingLevel and
+ * errorHandlerLogStackTrace options. This makes it much easier to configure
+ * than having to code a custom errorHandler.
+ */
+ private ErrorHandler errorHandler;
+ /**
+ * Allows to configure the default errorHandler logging level for logging
+ * uncaught exceptions.
+ */
+ private LoggingLevel errorHandlerLoggingLevel;
+ /**
+ * Allows to control whether stacktraces should be logged or not by the
+ * default errorHandler.
+ */
+ private boolean errorHandlerLogStackTrace;
+ /**
+ * Set if the deliveryMode priority or timeToLive qualities of service
+ * should be used when sending messages. This option is based on Spring's
+ * JmsTemplate. The deliveryMode priority and timeToLive options are applied
+ * to the current endpoint. This contrasts with the preserveMessageQos
+ * option which operates at message granularity reading QoS properties
+ * exclusively from the Camel In message headers.
+ */
+ private boolean explicitQosEnabled;
+ /**
+ * Specifies whether the listener session should be exposed when consuming
+ * messages.
+ */
+ private boolean exposeListenerSession;
+ /**
+ * Specifies the limit for idle executions of a receive task not having
+ * received any message within its execution. If this limit is reached the
+ * task will shut down and leave receiving to other executing tasks (in the
+ * case of dynamic scheduling; see the maxConcurrentConsumers setting).
+ * There is additional doc available from Spring.
+ */
+ private int idleTaskExecutionLimit;
+ /**
+ * Specify the limit for the number of consumers that are allowed to be idle
+ * at any given time.
+ */
+ private int idleConsumerLimit;
+ /**
+ * Specifies the maximum number of concurrent consumers when consuming from
+ * JMS (not for request/reply over JMS). See also the maxMessagesPerTask
+ * option to control dynamic scaling up/down of threads. When doing
+ * request/reply over JMS then the option replyToMaxConcurrentConsumers is
+ * used to control number of concurrent consumers on the reply message
+ * listener.
+ */
+ private int maxConcurrentConsumers;
+ /**
+ * Specifies the maximum number of concurrent consumers when using
+ * request/reply over JMS. See also the maxMessagesPerTask option to control
+ * dynamic scaling up/down of threads.
+ */
+ private int replyToMaxConcurrentConsumers;
+ /**
+ * Specifies the maximum number of concurrent consumers for continue routing
+ * when timeout occurred when using request/reply over JMS.
+ */
+ private int replyOnTimeoutToMaxConcurrentConsumers;
+ /**
+ * The number of messages per task. -1 is unlimited. If you use a range for
+ * concurrent consumers (eg min max) then this option can be used to set a
+ * value to eg 100 to control how fast the consumers will shrink when less
+ * work is required.
+ */
+ private int maxMessagesPerTask;
+ /**
+ * To use a custom Spring
+ * org.springframework.jms.support.converter.MessageConverter so you can be
+ * in control how to map to/from a javax.jms.Message.
+ */
+ private MessageConverter messageConverter;
+ /**
+ * Specifies whether Camel should auto map the received JMS message to a
+ * suited payload type such as javax.jms.TextMessage to a String etc. See
+ * section about how mapping works below for more details.
+ */
+ private boolean mapJmsMessage;
+ /**
+ * When sending specifies whether message IDs should be added.
+ */
+ private boolean messageIdEnabled;
+ /**
+ * Specifies whether timestamps should be enabled by default on sending
+ * messages.
+ */
+ private boolean messageTimestampEnabled;
+ /**
+ * 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)
+ */
+ private boolean alwaysCopyMessage;
+ /**
+ * Specifies whether JMSMessageID should always be used as JMSCorrelationID
+ * for InOut messages.
+ */
+ private boolean useMessageIDAsCorrelationID;
+ /**
+ * Values greater than 1 specify the message priority when sending (where 0
+ * is the lowest priority and 9 is the highest). The explicitQosEnabled
+ * option must also be enabled in order for this option to have any effect.
+ */
+ private int priority;
+ /**
+ * Specifies whether to inhibit the delivery of messages published by its
+ * own connection.
+ */
+ private boolean pubSubNoLocal;
+ /**
+ * The timeout for receiving messages (in milliseconds).
+ */
+ private long receiveTimeout;
+ /**
+ * Specifies the interval between recovery attempts i.e. when a connection
+ * is being refreshed in milliseconds. The default is 5000 ms that is 5
+ * seconds.
+ */
+ private long recoveryInterval;
+ /**
+ * Deprecated: Enabled by default if you specify a durableSubscriptionName
+ * and a clientId.
+ */
+ @Deprecated
+ private boolean subscriptionDurable;
+ /**
+ * Allows you to specify a custom task executor for consuming messages.
+ */
+ private TaskExecutor taskExecutor;
+ /**
+ * When sending messages specifies the time-to-live of the message (in
+ * milliseconds).
+ */
+ private long timeToLive;
+ /**
+ * Specifies whether to use transacted mode
+ */
+ private boolean transacted;
+ /**
+ * If true Camel will create a JmsTransactionManager if there is no
+ * transactionManager injected when option transacted=true.
+ */
+ private boolean lazyCreateTransactionManager;
+ /**
+ * The Spring transaction manager to use.
+ */
+ private PlatformTransactionManager transactionManager;
+ /**
+ * The name of the transaction to use.
+ */
+ private String transactionName;
+ /**
+ * The timeout value of the transaction (in seconds) if using transacted
+ * mode.
+ */
+ private int transactionTimeout;
+ /**
+ * Specifies whether to test the connection on startup. This ensures that
+ * when Camel starts that all the JMS consumers have a valid connection to
+ * the JMS broker. If a connection cannot be granted then Camel throws an
+ * exception on startup. This ensures that Camel is not started with failed
+ * connections. The JMS producers is tested as well.
+ */
+ private boolean testConnectionOnStartup;
+ /**
+ * Whether to startup the JmsConsumer message listener asynchronously when
+ * starting a route. For example if a JmsConsumer cannot get a connection to
+ * a remote JMS broker then it may block while retrying and/or failover.
+ * This will cause Camel to block while starting routes. By setting this
+ * option to true you will let routes startup while the JmsConsumer connects
+ * to the JMS broker using a dedicated thread in asynchronous mode. If this
+ * option is used then beware that if the connection could not be
+ * established then an exception is logged at WARN level and the consumer
+ * will not be able to receive messages; You can then restart the route to
+ * retry.
+ */
+ private boolean asyncStartListener;
+ /**
+ * Whether to stop the JmsConsumer message listener asynchronously when
+ * stopping a route.
+ */
+ private boolean asyncStopListener;
+ /**
+ * When using mapJmsMessage=false Camel will create a new JMS message to
+ * send to a new JMS destination if you touch the headers (get or set)
+ * during the route. Set this option to true to force Camel to send the
+ * original JMS message that was received.
+ */
+ private boolean forceSendOriginalMessage;
+ /**
+ * The timeout for waiting for a reply when using the InOut Exchange Pattern
+ * (in milliseconds). The default is 20 seconds. You can include the header
+ * CamelJmsRequestTimeout to override this endpoint configured timeout value
+ * and thus have per message individual timeout values. See also the
+ * requestTimeoutCheckerInterval option.
+ */
+ private long requestTimeout;
+ /**
+ * Configures how often Camel should check for timed out Exchanges when
+ * doing request/reply over JMS. By default Camel checks once per second.
+ * But if you must react faster when a timeout occurs then you can lower
+ * this interval to check more frequently. The timeout is determined by the
+ * option requestTimeout.
+ */
+ private long requestTimeoutCheckerInterval;
+ /**
+ * You can transfer the exchange over the wire instead of just the body and
+ * headers. The following fields are transferred: In body Out body Fault
+ * body In headers Out headers Fault headers exchange properties exchange
+ * exception. This requires that the objects are serializable. Camel will
+ * exclude any non-serializable objects and log it at WARN level. You must
+ * enable this option on both the producer and consumer side so Camel knows
+ * the payloads is an Exchange and not a regular payload.
+ */
+ private boolean transferExchange;
+ /**
+ * If enabled and you are using Request Reply messaging (InOut) and an
+ * Exchange failed on the consumer side then the caused Exception will be
+ * send back in response as a javax.jms.ObjectMessage. If the client is
+ * Camel the returned Exception is rethrown. This allows you to use Camel
+ * JMS as a bridge in your routing - for example using persistent queues to
+ * enable robust routing. Notice that if you also have transferExchange
+ * enabled this option takes precedence. The caught exception is required to
+ * be serializable. The original Exception on the consumer side can be
+ * wrapped in an outer exception such as
+ * org.apache.camel.RuntimeCamelException when returned to the producer.
+ */
+ private boolean transferException;
+ /**
+ * If enabled and you are using Request Reply messaging (InOut) and an
+ * Exchange failed with a SOAP fault (not exception) on the consumer side
+ * then the fault flag on link org.apache.camel.MessageisFault() will be
+ * send back in the response as a JMS header with the key link
+ * JmsConstantsJMS_TRANSFER_FAULT. If the client is Camel the returned fault
+ * flag will be set on the link org.apache.camel.MessagesetFault(boolean).
+ * You may want to enable this when using Camel components that support
+ * faults such as SOAP based such as cxf or spring-ws.
+ */
+ private boolean transferFault;
+ /**
+ * Allows you to use your own implementation of the
+ * org.springframework.jms.core.JmsOperations interface. Camel uses
+ * JmsTemplate as default. Can be used for testing purpose but not used much
+ * as stated in the spring API docs.
+ */
+ private JmsOperations jmsOperations;
+ /**
+ * A pluggable
+ * org.springframework.jms.support.destination.DestinationResolver that
+ * allows you to use your own resolver (for example to lookup the real
+ * destination in a JNDI registry).
+ */
+ private DestinationResolver destinationResolver;
+ /**
+ * Allows for explicitly specifying which kind of strategy to use for
+ * replyTo queues when doing request/reply over JMS. Possible values are:
+ * Temporary Shared or Exclusive. By default Camel will use temporary
+ * queues. However if replyTo has been configured then Shared is used by
+ * default. This option allows you to use exclusive queues instead of shared
+ * ones. See Camel JMS documentation for more details and especially the
+ * notes about the implications if running in a clustered environment and
+ * the fact that Shared reply queues has lower performance than its
+ * alternatives Temporary and Exclusive.
+ */
+ private ReplyToType replyToType;
+ /**
+ * Set to true if you want to send message using the QoS settings specified
+ * on the message instead of the QoS settings on the JMS endpoint. The
+ * following three headers are considered JMSPriority JMSDeliveryMode and
+ * JMSExpiration. You can provide all or only some of them. If not provided
+ * Camel will fall back to use the values from the endpoint instead. So when
+ * using this option the headers override the values from the endpoint. The
+ * explicitQosEnabled option by contrast will only use options set on the
+ * endpoint and not values from the message header.
+ */
+ private boolean preserveMessageQos;
+ /**
+ * Whether the JmsConsumer processes the Exchange asynchronously. If enabled
+ * then the JmsConsumer may pickup the next message from the JMS queue while
+ * the previous message is being processed asynchronously (by the
+ * Asynchronous Routing Engine). This means that messages may be processed
+ * not 100 strictly in order. If disabled (as default) then the Exchange is
+ * fully processed before the JmsConsumer will pickup the next message from
+ * the JMS queue. Note if transacted has been enabled then
+ * asyncConsumer=true does not run asynchronously as transaction must be
+ * executed synchronously (Camel 3.0 may support async transactions).
+ */
+ private boolean asyncConsumer;
+ /**
+ * Whether to allow sending messages with no body. If this option is false
+ * and the message body is null then an JMSException is thrown.
+ */
+ private boolean allowNullBody;
+ /**
+ * Only applicable when sending to JMS destination using InOnly (eg fire and
+ * forget). Enabling this option will enrich the Camel Exchange with the
+ * actual JMSMessageID that was used by the JMS client when the message was
+ * sent to the JMS destination.
+ */
+ private boolean includeSentJMSMessageID;
+ /**
+ * Whether to include all JMSXxxx properties when mapping from JMS to Camel
+ * Message. Setting this to true will include properties such as JMSXAppID
+ * and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy
+ * then this option does not apply.
+ */
+ private boolean includeAllJMSXProperties;
+ /**
+ * Specifies what default TaskExecutor type to use in the
+ * DefaultMessageListenerContainer for both consumer endpoints and the
+ * ReplyTo consumer of producer endpoints. Possible values: SimpleAsync
+ * (uses Spring's SimpleAsyncTaskExecutor) or ThreadPool (uses Spring's
+ * ThreadPoolTaskExecutor with optimal values - cached threadpool-like). If
+ * not set it defaults to the previous behaviour which uses a cached thread
+ * pool for consumer endpoints and SimpleAsync for reply consumers. The use
+ * of ThreadPool is recommended to reduce thread trash in elastic
+ * configurations with dynamically increasing and decreasing concurrent
+ * consumers.
+ */
+ private DefaultTaskExecutorType defaultTaskExecutorType;
+ /**
+ * Pluggable strategy for encoding and decoding JMS keys so they can be
+ * compliant with the JMS specification. Camel provides two implementations
+ * out of the box: default and passthrough. The default strategy will safely
+ * marshal dots and hyphens (. and -). The passthrough strategy leaves the
+ * key as is. Can be used for JMS brokers which do not care whether JMS
+ * header keys contain illegal characters. You can provide your own
+ * implementation of the org.apache.camel.component.jms.JmsKeyFormatStrategy
+ * and refer to it using the notation.
+ */
+ private JmsKeyFormatStrategy jmsKeyFormatStrategy;
+ /**
+ * Sets the Spring ApplicationContext to use
+ */
+ private ApplicationContext applicationContext;
+ /**
+ * To use a custom QueueBrowseStrategy when browsing queues
+ */
+ private QueueBrowseStrategy queueBrowseStrategy;
+ /**
+ * To use a custom HeaderFilterStrategy to filter header to and from Camel
+ * message.
+ */
+ private HeaderFilterStrategy headerFilterStrategy;
+ /**
+ * To use the given MessageCreatedStrategy which are invoked when Camel
+ * creates new instances of javax.jms.Message objects when Camel is sending
+ * a JMS message.
+ */
+ private MessageCreatedStrategy messageCreatedStrategy;
+ /**
+ * Number of times to wait for provisional correlation id to be updated to
+ * the actual correlation id when doing request/reply over JMS and when the
+ * option useMessageIDAsCorrelationID is enabled.
+ */
+ private int waitForProvisionCorrelationToBeUpdatedCounter;
+ /**
+ * Interval in millis to sleep each time while waiting for provisional
+ * correlation id to be updated.
+ */
+ private long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
+
+ public JmsConfiguration getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(JmsConfiguration configuration) {
+ this.configuration = configuration;
+ }
+
+ public boolean isAcceptMessagesWhileStopping() {
+ return acceptMessagesWhileStopping;
+ }
+
+ public void setAcceptMessagesWhileStopping(
+ boolean acceptMessagesWhileStopping) {
+ this.acceptMessagesWhileStopping = acceptMessagesWhileStopping;
+ }
+
+ public boolean isAllowReplyManagerQuickStop() {
+ return allowReplyManagerQuickStop;
+ }
+
+ public void setAllowReplyManagerQuickStop(boolean allowReplyManagerQuickStop) {
+ this.allowReplyManagerQuickStop = allowReplyManagerQuickStop;
+ }
+
+ public int getAcknowledgementMode() {
+ return acknowledgementMode;
+ }
+
+ public void setAcknowledgementMode(int acknowledgementMode) {
+ this.acknowledgementMode = acknowledgementMode;
+ }
+
+ public boolean isEagerLoadingOfProperties() {
+ return eagerLoadingOfProperties;
+ }
+
+ public void setEagerLoadingOfProperties(boolean eagerLoadingOfProperties) {
+ this.eagerLoadingOfProperties = eagerLoadingOfProperties;
+ }
+
+ public String getAcknowledgementModeName() {
+ return acknowledgementModeName;
+ }
+
+ public void setAcknowledgementModeName(String acknowledgementModeName) {
+ this.acknowledgementModeName = acknowledgementModeName;
+ }
+
+ public boolean isAutoStartup() {
+ return autoStartup;
+ }
+
+ public void setAutoStartup(boolean autoStartup) {
+ this.autoStartup = autoStartup;
+ }
+
+ public int getCacheLevel() {
+ return cacheLevel;
+ }
+
+ public void setCacheLevel(int cacheLevel) {
+ this.cacheLevel = cacheLevel;
+ }
+
+ public String getCacheLevelName() {
+ return cacheLevelName;
+ }
+
+ public void setCacheLevelName(String cacheLevelName) {
+ this.cacheLevelName = cacheLevelName;
+ }
+
+ public String getReplyToCacheLevelName() {
+ return replyToCacheLevelName;
+ }
+
+ public void setReplyToCacheLevelName(String replyToCacheLevelName) {
+ this.replyToCacheLevelName = replyToCacheLevelName;
+ }
+
+ public String getClientId() {
+ return clientId;
+ }
+
+ public void setClientId(String clientId) {
+ this.clientId = clientId;
+ }
+
+ public int getConcurrentConsumers() {
+ return concurrentConsumers;
+ }
+
+ public void setConcurrentConsumers(int concurrentConsumers) {
+ this.concurrentConsumers = concurrentConsumers;
+ }
+
+ public int getReplyToConcurrentConsumers() {
+ return replyToConcurrentConsumers;
+ }
+
+ public void setReplyToConcurrentConsumers(int replyToConcurrentConsumers) {
+ this.replyToConcurrentConsumers = replyToConcurrentConsumers;
+ }
+
+ public ConnectionFactory getConnectionFactory() {
+ return connectionFactory;
+ }
+
+ public void setConnectionFactory(ConnectionFactory connectionFactory) {
+ this.connectionFactory = connectionFactory;
+ }
+
+ public boolean isDeliveryPersistent() {
+ return deliveryPersistent;
+ }
+
+ public void setDeliveryPersistent(boolean deliveryPersistent) {
+ this.deliveryPersistent = deliveryPersistent;
+ }
+
+ public Integer getDeliveryMode() {
+ return deliveryMode;
+ }
+
+ public void setDeliveryMode(Integer deliveryMode) {
+ this.deliveryMode = deliveryMode;
+ }
+
+ public String getDurableSubscriptionName() {
+ return durableSubscriptionName;
+ }
+
+ public void setDurableSubscriptionName(String durableSubscriptionName) {
+ this.durableSubscriptionName = durableSubscriptionName;
+ }
+
+ public ExceptionListener getExceptionListener() {
+ return exceptionListener;
+ }
+
+ public void setExceptionListener(ExceptionListener exceptionListener) {
+ this.exceptionListener = exceptionListener;
+ }
+
+ public ErrorHandler getErrorHandler() {
+ return errorHandler;
+ }
+
+ public void setErrorHandler(ErrorHandler errorHandler) {
+ this.errorHandler = errorHandler;
+ }
+
+ public LoggingLevel getErrorHandlerLoggingLevel() {
+ return errorHandlerLoggingLevel;
+ }
+
+ public void setErrorHandlerLoggingLevel(
+ LoggingLevel errorHandlerLoggingLevel) {
+ this.errorHandlerLoggingLevel = errorHandlerLoggingLevel;
+ }
+
+ public boolean isErrorHandlerLogStackTrace() {
+ return errorHandlerLogStackTrace;
+ }
+
+ public void setErrorHandlerLogStackTrace(boolean errorHandlerLogStackTrace) {
+ this.errorHandlerLogStackTrace = errorHandlerLogStackTrace;
+ }
+
+ public boolean isExplicitQosEnabled() {
+ return explicitQosEnabled;
+ }
+
+ public void setExplicitQosEnabled(boolean explicitQosEnabled) {
+ this.explicitQosEnabled = explicitQosEnabled;
+ }
+
+ public boolean isExposeListenerSession() {
+ return exposeListenerSession;
+ }
+
+ public void setExposeListenerSession(boolean exposeListenerSession) {
+ this.exposeListenerSession = exposeListenerSession;
+ }
+
+ public int getIdleTaskExecutionLimit() {
+ return idleTaskExecutionLimit;
+ }
+
+ public void setIdleTaskExecutionLimit(int idleTaskExecutionLimit) {
+ this.idleTaskExecutionLimit = idleTaskExecutionLimit;
+ }
+
+ public int getIdleConsumerLimit() {
+ return idleConsumerLimit;
+ }
+
+ public void setIdleConsumerLimit(int idleConsumerLimit) {
+ this.idleConsumerLimit = idleConsumerLimit;
+ }
+
+ public int getMaxConcurrentConsumers() {
+ return maxConcurrentConsumers;
+ }
+
+ public void setMaxConcurrentConsumers(int maxConcurrentConsumers) {
+ this.maxConcurrentConsumers = maxConcurrentConsumers;
+ }
+
+ public int getReplyToMaxConcurrentConsumers() {
+ return replyToMaxConcurrentConsumers;
+ }
+
+ public void setReplyToMaxConcurrentConsumers(
+ int replyToMaxConcurrentConsumers) {
+ this.replyToMaxConcurrentConsumers = replyToMaxConcurrentConsumers;
+ }
+
+ public int getReplyOnTimeoutToMaxConcurrentConsumers() {
+ return replyOnTimeoutToMaxConcurrentConsumers;
+ }
+
+ public void setReplyOnTimeoutToMaxConcurrentConsumers(
+ int replyOnTimeoutToMaxConcurrentConsumers) {
+ this.replyOnTimeoutToMaxConcurrentConsumers = replyOnTimeoutToMaxConcurrentConsumers;
+ }
+
+ public int getMaxMessagesPerTask() {
+ return maxMessagesPerTask;
+ }
+
+ public void setMaxMessagesPerTask(int maxMessagesPerTask) {
+ this.maxMessagesPerTask = maxMessagesPerTask;
+ }
+
+ public MessageConverter getMessageConverter() {
+ return messageConverter;
+ }
+
+ public void setMessageConverter(MessageConverter messageConverter) {
+ this.messageConverter = messageConverter;
+ }
+
+ public boolean isMapJmsMessage() {
+ return mapJmsMessage;
+ }
+
+ public void setMapJmsMessage(boolean mapJmsMessage) {
+ this.mapJmsMessage = mapJmsMessage;
+ }
+
+ public boolean isMessageIdEnabled() {
+ return messageIdEnabled;
+ }
+
+ public void setMessageIdEnabled(boolean messageIdEnabled) {
+ this.messageIdEnabled = messageIdEnabled;
+ }
+
+ public boolean isMessageTimestampEnabled() {
+ return messageTimestampEnabled;
+ }
+
+ public void setMessageTimestampEnabled(boolean messageTimestampEnabled) {
+ this.messageTimestampEnabled = messageTimestampEnabled;
+ }
+
+ public boolean isAlwaysCopyMessage() {
+ return alwaysCopyMessage;
+ }
+
+ public void setAlwaysCopyMessage(boolean alwaysCopyMessage) {
+ this.alwaysCopyMessage = alwaysCopyMessage;
+ }
+
+ public boolean isUseMessageIDAsCorrelationID() {
+ return useMessageIDAsCorrelationID;
+ }
+
+ public void setUseMessageIDAsCorrelationID(
+ boolean useMessageIDAsCorrelationID) {
+ this.useMessageIDAsCorrelationID = useMessageIDAsCorrelationID;
+ }
+
+ public int getPriority() {
+ return priority;
+ }
+
+ public void setPriority(int priority) {
+ this.priority = priority;
+ }
+
+ public boolean isPubSubNoLocal() {
+ return pubSubNoLocal;
+ }
+
+ public void setPubSubNoLocal(boolean pubSubNoLocal) {
+ this.pubSubNoLocal = pubSubNoLocal;
+ }
+
+ public long getReceiveTimeout() {
+ return receiveTimeout;
+ }
+
+ public void setReceiveTimeout(long receiveTimeout) {
+ this.receiveTimeout = receiveTimeout;
+ }
+
+ public long getRecoveryInterval() {
+ return recoveryInterval;
+ }
+
+ public void setRecoveryInterval(long recoveryInterval) {
+ this.recoveryInterval = recoveryInterval;
+ }
+
+ public boolean isSubscriptionDurable() {
+ return subscriptionDurable;
+ }
+
+ public void setSubscriptionDurable(boolean subscriptionDurable) {
+ this.subscriptionDurable = subscriptionDurable;
+ }
+
+ public TaskExecutor getTaskExecutor() {
+ return taskExecutor;
+ }
+
+ public void setTaskExecutor(TaskExecutor taskExecutor) {
+ this.taskExecutor = taskExecutor;
+ }
+
+ public long getTimeToLive() {
+ return timeToLive;
+ }
+
+ public void setTimeToLive(long timeToLive) {
+ this.timeToLive = timeToLive;
+ }
+
+ public boolean isTransacted() {
+ return transacted;
+ }
+
+ public void setTransacted(boolean transacted) {
+ this.transacted = transacted;
+ }
+
+ public boolean isLazyCreateTransactionManager() {
+ return lazyCreateTransactionManager;
+ }
+
+ public void setLazyCreateTransactionManager(
+ boolean lazyCreateTransactionManager) {
+ this.lazyCreateTransactionManager = lazyCreateTransactionManager;
+ }
+
+ public PlatformTransactionManager getTransactionManager() {
+ return transactionManager;
+ }
+
+ public void setTransactionManager(
+ PlatformTransactionManager transactionManager) {
+ this.transactionManager = transactionManager;
+ }
+
+ public String getTransactionName() {
+ return transactionName;
+ }
+
+ public void setTransactionName(String transactionName) {
+ this.transactionName = transactionName;
+ }
+
+ public int getTransactionTimeout() {
+ return transactionTimeout;
+ }
+
+ public void setTransactionTimeout(int transactionTimeout) {
+ this.transactionTimeout = transactionTimeout;
+ }
+
+ public boolean isTestConnectionOnStartup() {
+ return testConnectionOnStartup;
+ }
+
+ public void setTestConnectionOnStartup(boolean testConnectionOnStartup) {
+ this.testConnectionOnStartup = testConnectionOnStartup;
+ }
+
+ public boolean isAsyncStartListener() {
+ return asyncStartListener;
+ }
+
+ public void setAsyncStartListener(boolean asyncStartListener) {
+ this.asyncStartListener = asyncStartListener;
+ }
+
+ public boolean isAsyncStopListener() {
+ return asyncStopListener;
+ }
+
+ public void setAsyncStopListener(boolean asyncStopListener) {
+ this.asyncStopListener = asyncStopListener;
+ }
+
+ public boolean isForceSendOriginalMessage() {
+ return forceSendOriginalMessage;
+ }
+
+ public void setForceSendOriginalMessage(boolean forceSendOriginalMessage) {
+ this.forceSendOriginalMessage = forceSendOriginalMessage;
+ }
+
+ public long getRequestTimeout() {
+ return requestTimeout;
+ }
+
+ public void setRequestTimeout(long requestTimeout) {
+ this.requestTimeout = requestTimeout;
+ }
+
+ public long getRequestTimeoutCheckerInterval() {
+ return requestTimeoutCheckerInterval;
+ }
+
+ public void setRequestTimeoutCheckerInterval(
+ long requestTimeoutCheckerInterval) {
+ this.requestTimeoutCheckerInterval = requestTimeoutCheckerInterval;
+ }
+
+ public boolean isTransferExchange() {
+ return transferExchange;
+ }
+
+ public void setTransferExchange(boolean transferExchange) {
+ this.transferExchange = transferExchange;
+ }
+
+ public boolean isTransferException() {
+ return transferException;
+ }
+
+ public void setTransferException(boolean transferException) {
+ this.transferException = transferException;
+ }
+
+ public boolean isTransferFault() {
+ return transferFault;
+ }
+
+ public void setTransferFault(boolean transferFault) {
+ this.transferFault = transferFault;
+ }
+
+ public JmsOperations getJmsOperations() {
+ return jmsOperations;
+ }
+
+ public void setJmsOperations(JmsOperations jmsOperations) {
+ this.jmsOperations = jmsOperations;
+ }
+
+ public DestinationResolver getDestinationResolver() {
+ return destinationResolver;
+ }
+
+ public void setDestinationResolver(DestinationResolver destinationResolver) {
+ this.destinationResolver = destinationResolver;
+ }
+
+ public ReplyToType getReplyToType() {
+ return replyToType;
+ }
+
+ public void setReplyToType(ReplyToType replyToType) {
+ this.replyToType = replyToType;
+ }
+
+ public boolean isPreserveMessageQos() {
+ return preserveMessageQos;
+ }
+
+ public void setPreserveMessageQos(boolean preserveMessageQos) {
+ this.preserveMessageQos = preserveMessageQos;
+ }
+
+ public boolean isAsyncConsumer() {
+ return asyncConsumer;
+ }
+
+ public void setAsyncConsumer(boolean asyncConsumer) {
+ this.asyncConsumer = asyncConsumer;
+ }
+
+ public boolean isAllowNullBody() {
+ return allowNullBody;
+ }
+
+ public void setAllowNullBody(boolean allowNullBody) {
+ this.allowNullBody = allowNullBody;
+ }
+
+ public boolean isIncludeSentJMSMessageID() {
+ return includeSentJMSMessageID;
+ }
+
+ public void setIncludeSentJMSMessageID(boolean includeSentJMSMessageID) {
+ this.includeSentJMSMessageID = includeSentJMSMessageID;
+ }
+
+ public boolean isIncludeAllJMSXProperties() {
+ return includeAllJMSXProperties;
+ }
+
+ public void setIncludeAllJMSXProperties(boolean includeAllJMSXProperties) {
+ this.includeAllJMSXProperties = includeAllJMSXProperties;
+ }
+
+ public DefaultTaskExecutorType getDefaultTaskExecutorType() {
+ return defaultTaskExecutorType;
+ }
+
+ public void setDefaultTaskExecutorType(
+ DefaultTaskExecutorType defaultTaskExecutorType) {
+ this.defaultTaskExecutorType = defaultTaskExecutorType;
+ }
+
+ public JmsKeyFormatStrategy getJmsKeyFormatStrategy() {
+ return jmsKeyFormatStrategy;
+ }
+
+ public void setJmsKeyFormatStrategy(
+ JmsKeyFormatStrategy jmsKeyFormatStrategy) {
+ this.jmsKeyFormatStrategy = jmsKeyFormatStrategy;
+ }
+
+ public ApplicationContext getApplicationContext() {
+ return applicationContext;
+ }
+
+ public void setApplicationContext(ApplicationContext applicationContext) {
+ this.applicationContext = applicationContext;
+ }
+
+ public QueueBrowseStrategy getQueueBrowseStrategy() {
+ return queueBrowseStrategy;
+ }
+
+ public void setQueueBrowseStrategy(QueueBrowseStrategy queueBrowseStrategy) {
+ this.queueBrowseStrategy = queueBrowseStrategy;
+ }
+
+ public HeaderFilterStrategy getHeaderFilterStrategy() {
+ return headerFilterStrategy;
+ }
+
+ public void setHeaderFilterStrategy(
+ HeaderFilterStrategy headerFilterStrategy) {
+ this.headerFilterStrategy = headerFilterStrategy;
+ }
+
+ public MessageCreatedStrategy getMessageCreatedStrategy() {
+ return messageCreatedStrategy;
+ }
+
+ public void setMessageCreatedStrategy(
+ MessageCreatedStrategy messageCreatedStrategy) {
+ this.messageCreatedStrategy = messageCreatedStrategy;
+ }
+
+ public int getWaitForProvisionCorrelationToBeUpdatedCounter() {
+ return waitForProvisionCorrelationToBeUpdatedCounter;
+ }
+
+ public void setWaitForProvisionCorrelationToBeUpdatedCounter(
+ int waitForProvisionCorrelationToBeUpdatedCounter) {
+ this.waitForProvisionCorrelationToBeUpdatedCounter = waitForProvisionCorrelationToBeUpdatedCounter;
+ }
+
+ public long getWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime() {
+ return waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
+ }
+
+ public void setWaitForProvisionCorrelationToBeUpdatedThreadSleepingTime(
+ long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime) {
+ this.waitForProvisionCorrelationToBeUpdatedThreadSleepingTime = waitForProvisionCorrelationToBeUpdatedThreadSleepingTime;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jms/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/resources/META-INF/spring.factories b/components/camel-jms/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..9168bc1
--- /dev/null
+++ b/components/camel-jms/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.jms.springboot.JmsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
new file mode 100644
index 0000000..ef135fb
--- /dev/null
+++ b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jolt.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.jolt.JoltComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(JoltComponentConfiguration.class)
+public class JoltComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(JoltComponent.class)
+ public JoltComponent configureComponent(CamelContext camelContext,
+ JoltComponentConfiguration configuration) throws Exception {
+ JoltComponent component = new JoltComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
new file mode 100644
index 0000000..8d27cbd
--- /dev/null
+++ b/components/camel-jolt/src/main/java/org/apache/camel/component/jolt/springboot/JoltComponentConfiguration.java
@@ -0,0 +1,44 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jolt.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import com.bazaarvoice.jolt.Transform;
+
+/**
+ * The jolt component allows you to process a JSON messages using an JOLT
+ * specification (such as JSON-JSON transformation).
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.jolt")
+public class JoltComponentConfiguration {
+
+ /**
+ * Explicitly sets the Transform to use. If not set a Transform specified by
+ * the transformDsl will be created
+ */
+ private Transform transform;
+
+ public Transform getTransform() {
+ return transform;
+ }
+
+ public void setTransform(Transform transform) {
+ this.transform = transform;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jolt/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jolt/src/main/resources/META-INF/spring.factories b/components/camel-jolt/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..c1cc7bf
--- /dev/null
+++ b/components/camel-jolt/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.jolt.springboot.JoltComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
new file mode 100644
index 0000000..69e6c8d
--- /dev/null
+++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jpa.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.jpa.JpaComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(JpaComponentConfiguration.class)
+public class JpaComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(JpaComponent.class)
+ public JpaComponent configureComponent(CamelContext camelContext,
+ JpaComponentConfiguration configuration) throws Exception {
+ JpaComponent component = new JpaComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
new file mode 100644
index 0000000..5eefcd0
--- /dev/null
+++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/springboot/JpaComponentConfiguration.java
@@ -0,0 +1,89 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.jpa.springboot;
+
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import javax.persistence.EntityManagerFactory;
+import org.springframework.transaction.PlatformTransactionManager;
+
+/**
+ * The jpa component enables you to store and retrieve Java objects from
+ * databases using JPA.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@ConfigurationProperties(prefix = "camel.component.jpa")
+public class JpaComponentConfiguration {
+
+ /**
+ * To use the EntityManagerFactory. This is strongly recommended to
+ * configure.
+ */
+ private EntityManagerFactory entityManagerFactory;
+ /**
+ * To use the PlatformTransactionManager for managing transactions.
+ */
+ private PlatformTransactionManager transactionManager;
+ /**
+ * The camel-jpa component will join transaction by default. You can use
+ * this option to turn this off for example if you use LOCAL_RESOURCE and
+ * join transaction doesn't work with your JPA provider. This option can
+ * also be set globally on the JpaComponent instead of having to set it on
+ * all endpoints.
+ */
+ private boolean joinTransaction;
+ /**
+ * Whether to use Spring's SharedEntityManager for the consumer/producer.
+ * Note in most cases joinTransaction should be set to false as this is not
+ * an EXTENDED EntityManager.
+ */
+ private boolean sharedEntityManager;
+
+ public EntityManagerFactory getEntityManagerFactory() {
+ return entityManagerFactory;
+ }
+
+ public void setEntityManagerFactory(
+ EntityManagerFactory entityManagerFactory) {
+ this.entityManagerFactory = entityManagerFactory;
+ }
+
+ public PlatformTransactionManager getTransactionManager() {
+ return transactionManager;
+ }
+
+ public void setTransactionManager(
+ PlatformTransactionManager transactionManager) {
+ this.transactionManager = transactionManager;
+ }
+
+ public boolean isJoinTransaction() {
+ return joinTransaction;
+ }
+
+ public void setJoinTransaction(boolean joinTransaction) {
+ this.joinTransaction = joinTransaction;
+ }
+
+ public boolean isSharedEntityManager() {
+ return sharedEntityManager;
+ }
+
+ public void setSharedEntityManager(boolean sharedEntityManager) {
+ this.sharedEntityManager = sharedEntityManager;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jpa/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/resources/META-INF/spring.factories b/components/camel-jpa/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..344e45e
--- /dev/null
+++ b/components/camel-jpa/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.jpa.springboot.JpaComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/3ad3f004/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
new file mode 100644
index 0000000..eab835a
--- /dev/null
+++ b/components/camel-jsch/src/main/java/org/apache/camel/component/scp/springboot/ScpComponentAutoConfiguration.java
@@ -0,0 +1,50 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.scp.springboot;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import java.util.HashMap;
+import java.util.Map;
+import org.apache.camel.component.scp.ScpComponent;
+import org.apache.camel.CamelContext;
+import org.apache.camel.util.IntrospectionSupport;
+import org.springframework.context.annotation.Bean;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Configuration
+@EnableConfigurationProperties(ScpComponentConfiguration.class)
+public class ScpComponentAutoConfiguration {
+
+ @Bean
+ @ConditionalOnClass(CamelContext.class)
+ @ConditionalOnMissingBean(ScpComponent.class)
+ public ScpComponent configureComponent(CamelContext camelContext,
+ ScpComponentConfiguration configuration) throws Exception {
+ ScpComponent component = new ScpComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null);
+ IntrospectionSupport.setProperties(camelContext,
+ camelContext.getTypeConverter(), component, parameters);
+ return component;
+ }
+}
\ No newline at end of file
[07/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/springboot/GridFsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/springboot/GridFsComponentConfiguration.java b/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/springboot/GridFsComponentConfiguration.java
deleted file mode 100644
index ac5e320..0000000
--- a/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/gridfs/springboot/GridFsComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.gridfs.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel MongoDB GridFS component
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.gridfs")
-public class GridFsComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mongodb-gridfs/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mongodb-gridfs/src/main/resources/META-INF/spring.factories b/components/camel-mongodb-gridfs/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 56909be..0000000
--- a/components/camel-mongodb-gridfs/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.gridfs.springboot.GridFsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java
deleted file mode 100644
index 3a9f61e..0000000
--- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mongodb.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mongodb.MongoDbComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MongoDbComponentConfiguration.class)
-public class MongoDbComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MongoDbComponent.class)
- public MongoDbComponent configureComponent(CamelContext camelContext,
- MongoDbComponentConfiguration configuration) throws Exception {
- MongoDbComponent component = new MongoDbComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
deleted file mode 100644
index 5925e22..0000000
--- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/springboot/MongoDbComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mongodb.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Component for working with documents stored in MongoDB database.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.mongodb")
-public class MongoDbComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mongodb/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mongodb/src/main/resources/META-INF/spring.factories b/components/camel-mongodb/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 006fc1a..0000000
--- a/components/camel-mongodb/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mongodb.springboot.MongoDbComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java b/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
deleted file mode 100644
index 0e48350..0000000
--- a/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mqtt.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mqtt.MQTTComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MQTTComponentConfiguration.class)
-public class MQTTComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MQTTComponent.class)
- public MQTTComponent configureComponent(CamelContext camelContext,
- MQTTComponentConfiguration configuration) throws Exception {
- MQTTComponent component = new MQTTComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentConfiguration.java b/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentConfiguration.java
deleted file mode 100644
index 82e5504..0000000
--- a/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/springboot/MQTTComponentConfiguration.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mqtt.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Component for communicating with MQTT M2M message brokers using FuseSource
- * MQTT Client.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.mqtt")
-public class MQTTComponentConfiguration {
-
- /**
- * The URI of the MQTT broker to connect too - this component also supports
- * SSL - e.g. ssl://127.0.0.1:8883
- */
- private String host;
- /**
- * Username to be used for authentication against the MQTT broker
- */
- private String userName;
- /**
- * Password to be used for authentication against the MQTT broker
- */
- private String password;
-
- public String getHost() {
- return host;
- }
-
- public void setHost(String host) {
- this.host = host;
- }
-
- public String getUserName() {
- return userName;
- }
-
- public void setUserName(String userName) {
- this.userName = userName;
- }
-
- public String getPassword() {
- return password;
- }
-
- public void setPassword(String password) {
- this.password = password;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mqtt/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/src/main/resources/META-INF/spring.factories b/components/camel-mqtt/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6d3291e..0000000
--- a/components/camel-mqtt/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mqtt.springboot.MQTTComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
deleted file mode 100644
index 831df0c..0000000
--- a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.msv.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.validator.msv.MsvComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MsvComponentConfiguration.class)
-public class MsvComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MsvComponent.class)
- public MsvComponent configureComponent(CamelContext camelContext,
- MsvComponentConfiguration configuration) throws Exception {
- MsvComponent component = new MsvComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java b/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
deleted file mode 100644
index 5658429..0000000
--- a/components/camel-msv/src/main/java/org/apache/camel/component/validator/msv/springboot/MsvComponentConfiguration.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.validator.msv.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.xml.validation.SchemaFactory;
-import org.apache.camel.component.validator.ValidatorResourceResolverFactory;
-
-/**
- * Validates the payload of a message using the MSV Library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.msv")
-public class MsvComponentConfiguration {
-
- /**
- * To use the javax.xml.validation.SchemaFactory.
- */
- private SchemaFactory schemaFactory;
- /**
- * To use a custom LSResourceResolver which depends on a dynamic endpoint
- * resource URI
- */
- private ValidatorResourceResolverFactory resourceResolverFactory;
-
- public SchemaFactory getSchemaFactory() {
- return schemaFactory;
- }
-
- public void setSchemaFactory(SchemaFactory schemaFactory) {
- this.schemaFactory = schemaFactory;
- }
-
- public ValidatorResourceResolverFactory getResourceResolverFactory() {
- return resourceResolverFactory;
- }
-
- public void setResourceResolverFactory(
- ValidatorResourceResolverFactory resourceResolverFactory) {
- this.resourceResolverFactory = resourceResolverFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-msv/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-msv/src/main/resources/META-INF/spring.factories b/components/camel-msv/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 67c3681..0000000
--- a/components/camel-msv/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.validator.msv.springboot.MsvComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
deleted file mode 100644
index b4ff89e..0000000
--- a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mustache.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mustache.MustacheComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MustacheComponentConfiguration.class)
-public class MustacheComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MustacheComponent.class)
- public MustacheComponent configureComponent(CamelContext camelContext,
- MustacheComponentConfiguration configuration) throws Exception {
- MustacheComponent component = new MustacheComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java b/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
deleted file mode 100644
index 3b6b02a..0000000
--- a/components/camel-mustache/src/main/java/org/apache/camel/component/mustache/springboot/MustacheComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mustache.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import com.github.mustachejava.MustacheFactory;
-
-/**
- * Transforms the message using a Mustache template.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.mustache")
-public class MustacheComponentConfiguration {
-
- /**
- * To use a custom MustacheFactory
- */
- private MustacheFactory mustacheFactory;
-
- public MustacheFactory getMustacheFactory() {
- return mustacheFactory;
- }
-
- public void setMustacheFactory(MustacheFactory mustacheFactory) {
- this.mustacheFactory = mustacheFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mustache/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mustache/src/main/resources/META-INF/spring.factories b/components/camel-mustache/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 0a3fb76..0000000
--- a/components/camel-mustache/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mustache.springboot.MustacheComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mvel/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mvel/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java b/components/camel-mvel/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java
deleted file mode 100644
index e8c5dd0..0000000
--- a/components/camel-mvel/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mvel.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mvel.MvelComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MvelComponentConfiguration.class)
-public class MvelComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MvelComponent.class)
- public MvelComponent configureComponent(CamelContext camelContext,
- MvelComponentConfiguration configuration) throws Exception {
- MvelComponent component = new MvelComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mvel/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mvel/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentConfiguration.java b/components/camel-mvel/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentConfiguration.java
deleted file mode 100644
index 8d07ff9..0000000
--- a/components/camel-mvel/src/main/java/org/apache/camel/component/mvel/springboot/MvelComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mvel.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Transforms the message using a MVEL template.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.mvel")
-public class MvelComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mvel/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mvel/src/main/resources/META-INF/spring.factories b/components/camel-mvel/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 5ae35fc..0000000
--- a/components/camel-mvel/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mvel.springboot.MvelComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
deleted file mode 100644
index c72cf63..0000000
--- a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mybatis.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.mybatis.MyBatisComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(MyBatisComponentConfiguration.class)
-public class MyBatisComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(MyBatisComponent.class)
- public MyBatisComponent configureComponent(CamelContext camelContext,
- MyBatisComponentConfiguration configuration) throws Exception {
- MyBatisComponent component = new MyBatisComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
deleted file mode 100644
index 81e4f2f..0000000
--- a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/springboot/MyBatisComponentConfiguration.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.mybatis.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.ibatis.session.SqlSessionFactory;
-
-/**
- * Performs a query poll insert update or delete in a relational database using
- * MyBatis.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.mybatis")
-public class MyBatisComponentConfiguration {
-
- /**
- * To use the SqlSessionFactory
- */
- private SqlSessionFactory sqlSessionFactory;
- /**
- * Location of MyBatis xml configuration file. The default value is:
- * SqlMapConfig.xml loaded from the classpath
- */
- private String configurationUri;
-
- public SqlSessionFactory getSqlSessionFactory() {
- return sqlSessionFactory;
- }
-
- public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) {
- this.sqlSessionFactory = sqlSessionFactory;
- }
-
- public String getConfigurationUri() {
- return configurationUri;
- }
-
- public void setConfigurationUri(String configurationUri) {
- this.configurationUri = configurationUri;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-mybatis/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/main/resources/META-INF/spring.factories b/components/camel-mybatis/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6e83825..0000000
--- a/components/camel-mybatis/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.mybatis.springboot.MyBatisComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
deleted file mode 100644
index 9386855..0000000
--- a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.nagios.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.nagios.NagiosComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(NagiosComponentConfiguration.class)
-public class NagiosComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(NagiosComponent.class)
- public NagiosComponent configureComponent(CamelContext camelContext,
- NagiosComponentConfiguration configuration) throws Exception {
- NagiosComponent component = new NagiosComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
deleted file mode 100644
index 03a4e64..0000000
--- a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/springboot/NagiosComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.nagios.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.nagios.NagiosConfiguration;
-
-/**
- * To send passive checks to Nagios using JSendNSCA.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.nagios")
-public class NagiosComponentConfiguration {
-
- /**
- * To use a shared NagiosConfiguration
- */
- private NagiosConfiguration configuration;
-
- public NagiosConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(NagiosConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-nagios/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-nagios/src/main/resources/META-INF/spring.factories b/components/camel-nagios/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index d336f1b..0000000
--- a/components/camel-nagios/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.nagios.springboot.NagiosComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-nats/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-nats/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java b/components/camel-nats/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java
deleted file mode 100644
index 41779b8..0000000
--- a/components/camel-nats/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.nats.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.nats.NatsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(NatsComponentConfiguration.class)
-public class NatsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(NatsComponent.class)
- public NatsComponent configureComponent(CamelContext camelContext,
- NatsComponentConfiguration configuration) throws Exception {
- NatsComponent component = new NatsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-nats/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-nats/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentConfiguration.java b/components/camel-nats/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentConfiguration.java
deleted file mode 100644
index cce52c2..0000000
--- a/components/camel-nats/src/main/java/org/apache/camel/component/nats/springboot/NatsComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.nats.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Components
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.nats")
-public class NatsComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-nats/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-nats/src/main/resources/META-INF/spring.factories b/components/camel-nats/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 97a518e..0000000
--- a/components/camel-nats/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.nats.springboot.NatsComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
deleted file mode 100644
index ec5ef51..0000000
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.netty.http.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.netty.http.NettyHttpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(NettyHttpComponentConfiguration.class)
-public class NettyHttpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(NettyHttpComponent.class)
- public NettyHttpComponent configureComponent(CamelContext camelContext,
- NettyHttpComponentConfiguration configuration) throws Exception {
- NettyHttpComponent component = new NettyHttpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java b/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
deleted file mode 100644
index fcf0113..0000000
--- a/components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/springboot/NettyHttpComponentConfiguration.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.netty.http.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.netty.http.NettyHttpBinding;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration;
-import org.apache.camel.component.netty.NettyConfiguration;
-
-/**
- * Netty HTTP server and client using the Netty 3.x library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.netty-http")
-public class NettyHttpComponentConfiguration {
-
- /**
- * To use a custom org.apache.camel.component.netty.http.NettyHttpBinding
- * for binding to/from Netty and Camel Message API.
- */
- private NettyHttpBinding nettyHttpBinding;
- /**
- * To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
- * headers.
- */
- private HeaderFilterStrategy headerFilterStrategy;
- /**
- * Refers to a
- * org.apache.camel.component.netty.http.NettyHttpSecurityConfiguration for
- * configuring secure web resources.
- */
- private NettyHttpSecurityConfiguration securityConfiguration;
- /**
- * To use the NettyConfiguration as configuration when creating endpoints.
- */
- private NettyConfiguration configuration;
- /**
- * The core pool size for the ordered thread pool if its in use. The default
- * value is 16.
- */
- private int maximumPoolSize;
-
- public NettyHttpBinding getNettyHttpBinding() {
- return nettyHttpBinding;
- }
-
- public void setNettyHttpBinding(NettyHttpBinding nettyHttpBinding) {
- this.nettyHttpBinding = nettyHttpBinding;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-
- public NettyHttpSecurityConfiguration getSecurityConfiguration() {
- return securityConfiguration;
- }
-
- public void setSecurityConfiguration(
- NettyHttpSecurityConfiguration securityConfiguration) {
- this.securityConfiguration = securityConfiguration;
- }
-
- public NettyConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(NettyConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public int getMaximumPoolSize() {
- return maximumPoolSize;
- }
-
- public void setMaximumPoolSize(int maximumPoolSize) {
- this.maximumPoolSize = maximumPoolSize;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty-http/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/main/resources/META-INF/spring.factories b/components/camel-netty-http/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a2295b2..0000000
--- a/components/camel-netty-http/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.netty.http.springboot.NettyHttpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
deleted file mode 100644
index 6c894d4..0000000
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.netty.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.netty.NettyComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(NettyComponentConfiguration.class)
-public class NettyComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(NettyComponent.class)
- public NettyComponent configureComponent(CamelContext camelContext,
- NettyComponentConfiguration configuration) throws Exception {
- NettyComponent component = new NettyComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java b/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
deleted file mode 100644
index b478eaa..0000000
--- a/components/camel-netty/src/main/java/org/apache/camel/component/netty/springboot/NettyComponentConfiguration.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.netty.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.netty.NettyConfiguration;
-
-/**
- * Socket level networking using TCP or UDP with the Netty 3.x library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.netty")
-public class NettyComponentConfiguration {
-
- /**
- * To use the NettyConfiguration as configuration when creating endpoints.
- */
- private NettyConfiguration configuration;
- /**
- * The core pool size for the ordered thread pool if its in use. The default
- * value is 16.
- */
- private int maximumPoolSize;
-
- public NettyConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(NettyConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public int getMaximumPoolSize() {
- return maximumPoolSize;
- }
-
- public void setMaximumPoolSize(int maximumPoolSize) {
- this.maximumPoolSize = maximumPoolSize;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/main/resources/META-INF/spring.factories b/components/camel-netty/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7d37fe1..0000000
--- a/components/camel-netty/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.netty.springboot.NettyComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
deleted file mode 100644
index 259e8ae..0000000
--- a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.netty4.http.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.netty4.http.NettyHttpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(NettyHttpComponentConfiguration.class)
-public class NettyHttpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(NettyHttpComponent.class)
- public NettyHttpComponent configureComponent(CamelContext camelContext,
- NettyHttpComponentConfiguration configuration) throws Exception {
- NettyHttpComponent component = new NettyHttpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
deleted file mode 100644
index 2236277..0000000
--- a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/springboot/NettyHttpComponentConfiguration.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.netty4.http.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.netty4.http.NettyHttpBinding;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.netty4.http.NettyHttpSecurityConfiguration;
-import org.apache.camel.component.netty4.NettyConfiguration;
-import io.netty.util.concurrent.EventExecutorGroup;
-
-/**
- * Netty HTTP server and client using the Netty 4.x library.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.netty4-http")
-public class NettyHttpComponentConfiguration {
-
- /**
- * To use a custom org.apache.camel.component.netty4.http.NettyHttpBinding
- * for binding to/from Netty and Camel Message API.
- */
- private NettyHttpBinding nettyHttpBinding;
- /**
- * To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter
- * headers.
- */
- private HeaderFilterStrategy headerFilterStrategy;
- /**
- * Refers to a
- * org.apache.camel.component.netty4.http.NettyHttpSecurityConfiguration for
- * configuring secure web resources.
- */
- private NettyHttpSecurityConfiguration securityConfiguration;
- /**
- * The thread pool size for the EventExecutorGroup if its in use. The
- * default value is 16.
- */
- private int maximumPoolSize;
- /**
- * To use the NettyConfiguration as configuration when creating endpoints.
- */
- private NettyConfiguration configuration;
- /**
- * To use the given EventExecutorGroup
- */
- private EventExecutorGroup executorService;
-
- public NettyHttpBinding getNettyHttpBinding() {
- return nettyHttpBinding;
- }
-
- public void setNettyHttpBinding(NettyHttpBinding nettyHttpBinding) {
- this.nettyHttpBinding = nettyHttpBinding;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-
- public NettyHttpSecurityConfiguration getSecurityConfiguration() {
- return securityConfiguration;
- }
-
- public void setSecurityConfiguration(
- NettyHttpSecurityConfiguration securityConfiguration) {
- this.securityConfiguration = securityConfiguration;
- }
-
- public int getMaximumPoolSize() {
- return maximumPoolSize;
- }
-
- public void setMaximumPoolSize(int maximumPoolSize) {
- this.maximumPoolSize = maximumPoolSize;
- }
-
- public NettyConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(NettyConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public EventExecutorGroup getExecutorService() {
- return executorService;
- }
-
- public void setExecutorService(EventExecutorGroup executorService) {
- this.executorService = executorService;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty4-http/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/main/resources/META-INF/spring.factories b/components/camel-netty4-http/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 912a3c3..0000000
--- a/components/camel-netty4-http/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.netty4.http.springboot.NettyHttpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java b/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
deleted file mode 100644
index a504a8d..0000000
--- a/components/camel-netty4/src/main/java/org/apache/camel/component/netty4/springboot/NettyComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.netty4.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.netty4.NettyComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(NettyComponentConfiguration.class)
-public class NettyComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(NettyComponent.class)
- public NettyComponent configureComponent(CamelContext camelContext,
- NettyComponentConfiguration configuration) throws Exception {
- NettyComponent component = new NettyComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
[30/34] camel git commit: Experiment with generating spring-boot auto
configuration for the Camel components.
Posted by da...@apache.org.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
index 84e77c5..f664a2d 100644
--- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
+++ b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.stomp.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.stomp.StompConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The stomp component is used for communicating with Stomp compliant message
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
index e854561..33e46ff 100644
--- a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
+++ b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.twitter.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.twitter.TwitterComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.twitter.TwitterComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
index ea53436..68b4ac5 100644
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.undertow.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.undertow.UndertowComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.undertow.UndertowComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
index a9db8d3..4bece05 100644
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.undertow.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.undertow.UndertowHttpBinding;
import org.apache.camel.util.jsse.SSLContextParameters;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The undertow component provides HTTP-based endpoints for consuming and
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
index fd682f2..0221cf4 100644
--- a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
+++ b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.velocity.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.velocity.VelocityComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.velocity.VelocityComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
index 536296a..70776ac 100644
--- a/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
+++ b/components/camel-velocity/src/main/java/org/apache/camel/component/velocity/springboot/VelocityComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.velocity.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.velocity.app.VelocityEngine;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Transforms the message using a Velocity template.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
index 4641fd3..b8bf9e1 100644
--- a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
+++ b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.vertx.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.vertx.VertxComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.vertx.VertxComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
index 16e3779..1cd228b 100644
--- a/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
+++ b/components/camel-vertx/src/main/java/org/apache/camel/component/vertx/springboot/VertxComponentConfiguration.java
@@ -16,10 +16,10 @@
*/
package org.apache.camel.component.vertx.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import io.vertx.core.spi.VertxFactory;
-import io.vertx.core.VertxOptions;
import io.vertx.core.Vertx;
+import io.vertx.core.VertxOptions;
+import io.vertx.core.spi.VertxFactory;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The vertx component is used for sending and receive messages from a vertx
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
index e094710..a127ede 100644
--- a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
+++ b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.websocket.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.websocket.WebsocketComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.websocket.WebsocketComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
index 18d111e..76a2821 100644
--- a/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
+++ b/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/springboot/WebsocketComponentConfiguration.java
@@ -16,11 +16,11 @@
*/
package org.apache.camel.component.websocket.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.eclipse.jetty.util.thread.ThreadPool;
-import org.apache.camel.util.jsse.SSLContextParameters;
import java.util.Map;
import org.apache.camel.component.websocket.WebSocketFactory;
+import org.apache.camel.util.jsse.SSLContextParameters;
+import org.eclipse.jetty.util.thread.ThreadPool;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The websocket component provides websocket endpoints for communicating with
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-xmlbeans/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-xmlbeans/pom.xml b/components/camel-xmlbeans/pom.xml
index c40aa92..9353cf2 100644
--- a/components/camel-xmlbeans/pom.xml
+++ b/components/camel-xmlbeans/pom.xml
@@ -15,7 +15,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -69,57 +70,79 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
+
+ <!-- xmlbeans-maven-plugin do not work with spring-boot so we need
+ to change the dependencies from provided to test so they are not in use -->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot</artifactId>
+ <version>${spring-boot-version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-autoconfigure</artifactId>
+ <version>${spring-boot-version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-configuration-processor</artifactId>
+ <version>${spring-boot-version}</version>
+ <scope>test</scope>
+ </dependency>
+
</dependencies>
- <build>
- <pluginManagement>
- <plugins>
- <!-- Eclipse m2e Lifecycle Management -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>${lifecycle-mapping-version}</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>xmlbeans-maven-plugin</artifactId>
- <versionRange>${xmlbeans-maven-plugin-version}</versionRange>
- <goals>
- <goal>xmlbeans-test</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>xmlbeans-maven-plugin</artifactId>
- <version>${xmlbeans-maven-plugin-version}</version>
- <executions>
- <execution>
- <id>generate-sources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>xmlbeans-test</goal>
- </goals>
- </execution>
- </executions>
- <inherited>true</inherited>
- <configuration>
- <schemaDirectory>src/test/resources/xsd</schemaDirectory>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <!-- Eclipse m2e Lifecycle Management -->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>${lifecycle-mapping-version}</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xmlbeans-maven-plugin</artifactId>
+ <versionRange>${xmlbeans-maven-plugin-version}</versionRange>
+ <goals>
+ <goal>xmlbeans-test</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore/>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xmlbeans-maven-plugin</artifactId>
+ <version>${xmlbeans-maven-plugin-version}</version>
+ <executions>
+ <execution>
+ <id>generate-sources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>xmlbeans-test</goal>
+ </goals>
+ </execution>
+ </executions>
+ <inherited>true</inherited>
+ <configuration>
+ <schemaDirectory>src/test/resources/xsd</schemaDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
index 1973255..fab9d14 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.xmlsecurity.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.xmlsecurity.XmlSignatureComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.xmlsecurity.XmlSignatureComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
index c49951f..0a34deb 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/springboot/XmlSignatureComponentConfiguration.java
@@ -16,9 +16,9 @@
*/
package org.apache.camel.component.xmlsecurity.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.xmlsecurity.processor.XmlSignerConfiguration;
import org.apache.camel.component.xmlsecurity.processor.XmlVerifierConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Used to sign and verify exchanges using the XML signature specification.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
index ebd104a..aae8ff3 100644
--- a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
+++ b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.yammer.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.yammer.YammerComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.yammer.YammerComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
index 26bfa25..1ba82a4 100644
--- a/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
+++ b/components/camel-yammer/src/main/java/org/apache/camel/component/yammer/springboot/YammerComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.yammer.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.yammer.YammerConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The yammer component allows you to interact with the Yammer enterprise social
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
index fded42d..35d9d34 100644
--- a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
+++ b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentAutoConfiguration.java
@@ -16,16 +16,16 @@
*/
package org.apache.camel.component.zookeeper.springboot;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
import java.util.HashMap;
import java.util.Map;
-import org.apache.camel.component.zookeeper.ZooKeeperComponent;
import org.apache.camel.CamelContext;
+import org.apache.camel.component.zookeeper.ZooKeeperComponent;
import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
/**
* Generated by camel-package-maven-plugin - do not edit this file!
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
index 50e047d..a3902ad 100644
--- a/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
+++ b/components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/springboot/ZooKeeperComponentConfiguration.java
@@ -16,8 +16,8 @@
*/
package org.apache.camel.component.zookeeper.springboot;
-import org.springframework.boot.context.properties.ConfigurationProperties;
import org.apache.camel.component.zookeeper.ZooKeeperConfiguration;
+import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The zookeeper component allows interaction with a ZooKeeper cluster.
http://git-wip-us.apache.org/repos/asf/camel/blob/d8951be4/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
index 78f5503..dc77360 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootAutoConfigurationMojo.java
@@ -21,6 +21,7 @@ import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -37,6 +38,7 @@ import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.project.MavenProject;
import org.jboss.forge.roaster.Roaster;
import org.jboss.forge.roaster.model.source.AnnotationSource;
+import org.jboss.forge.roaster.model.source.Import;
import org.jboss.forge.roaster.model.source.JavaClassSource;
import org.jboss.forge.roaster.model.source.MethodSource;
import org.jboss.forge.roaster.model.source.PropertySource;
@@ -160,6 +162,8 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
}
}
+ sortImports(javaClass);
+
String fileName = packageName.replaceAll("\\.", "\\/") + "/" + name + ".java";
File target = new File(srcDir, fileName);
@@ -228,6 +232,8 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
method.addAnnotation(ConditionalOnClass.class).setLiteralValue("value", "CamelContext.class");
method.addAnnotation(ConditionalOnMissingBean.class).setLiteralValue("value", model.getShortJavaType() + ".class");
+ sortImports(javaClass);
+
String fileName = packageName.replaceAll("\\.", "\\/") + "/" + name + ".java";
File target = new File(srcDir, fileName);
@@ -307,6 +313,51 @@ public class SpringBootAutoConfigurationMojo extends AbstractMojo {
return sb.toString();
}
+ private static void sortImports(JavaClassSource javaClass) {
+ // sort imports
+ List<Import> imports = javaClass.getImports();
+
+ // sort imports
+ List<String> names = new ArrayList<>();
+ for (Import imp : imports) {
+ names.add(imp.getQualifiedName());
+ }
+ // sort
+ Collections.sort(names, (s1, s2) -> {
+ // java comes first
+ if (s1.startsWith("java.")) {
+ s1 = "___" + s1;
+ }
+ if (s2.startsWith("java.")) {
+ s2 = "___" + s2;
+ }
+ // then javax comes next
+ if (s1.startsWith("javax.")) {
+ s1 = "__" + s1;
+ }
+ if (s2.startsWith("javax.")) {
+ s2 = "__" + s2;
+ }
+ // org.w3c is for some odd reason also before others
+ if (s1.startsWith("org.w3c.")) {
+ s1 = "_" + s1;
+ }
+ if (s2.startsWith("org.w3c.")) {
+ s2 = "_" + s2;
+ }
+ return s1.compareTo(s2);
+ });
+
+ // remove all imports first
+ for (String name : names) {
+ javaClass.removeImport(name);
+ }
+ // and add them back in correct order
+ for (String name : names) {
+ javaClass.addImport(name);
+ }
+ }
+
private static String sourceToString(JavaClassSource javaClass) {
String code = javaClass.toString();
// convert tabs to 4 spaces