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:56 UTC
[07/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
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