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/10 11:02:43 UTC
[4/8] camel git commit: CAMEL-10041: Generate spring-boot auto
configuration for all Camel data formats that has options that can be
configured.
CAMEL-10041: Generate spring-boot auto configuration for all Camel data formats that has options that can be configured.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/234f57d4
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/234f57d4
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/234f57d4
Branch: refs/heads/master
Commit: 234f57d43a093233eea6d51818765d45be043704
Parents: ccfe599
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Jun 10 12:04:07 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Jun 10 12:04:07 2016 +0200
----------------------------------------------------------------------
.../GzipDataFormatAutoConfiguration.java | 54 ----
.../springboot/GzipDataFormatConfiguration.java | 28 --
...erializationDataFormatAutoConfiguration.java | 56 ----
.../SerializationDataFormatConfiguration.java | 28 --
.../StringDataFormatAutoConfiguration.java | 55 ----
.../StringDataFormatConfiguration.java | 42 ---
.../ZipDataFormatAutoConfiguration.java | 54 ----
.../springboot/ZipDataFormatConfiguration.java | 42 ---
.../AvroDataFormatAutoConfiguration.java | 54 ----
.../springboot/AvroDataFormatConfiguration.java | 41 ---
.../BarcodeDataFormatAutoConfiguration.java | 55 ----
.../BarcodeDataFormatConfiguration.java | 77 -----
.../Base64DataFormatAutoConfiguration.java | 55 ----
.../Base64DataFormatConfiguration.java | 68 ----
.../BeanIODataFormatAutoConfiguration.java | 55 ----
.../BeanIODataFormatConfiguration.java | 103 ------
.../BindyCsvDataFormatAutoConfiguration.java | 55 ----
.../BindyCsvDataFormatConfiguration.java | 67 ----
...yFixedLengthDataFormatAutoConfiguration.java | 56 ----
...BindyFixedLengthDataFormatConfiguration.java | 67 ----
...KeyValuePairDataFormatAutoConfiguration.java | 56 ----
...indyKeyValuePairDataFormatConfiguration.java | 67 ----
.../BoonDataFormatAutoConfiguration.java | 54 ----
.../springboot/BoonDataFormatConfiguration.java | 53 ----
.../CastorDataFormatAutoConfiguration.java | 55 ----
.../CastorDataFormatConfiguration.java | 89 ------
.../CryptoDataFormatAutoConfiguration.java | 55 ----
.../CryptoDataFormatConfiguration.java | 143 ---------
.../PGPDataFormatAutoConfiguration.java | 54 ----
.../springboot/PGPDataFormatConfiguration.java | 235 --------------
.../CsvDataFormatAutoConfiguration.java | 54 ----
.../springboot/CsvDataFormatConfiguration.java | 310 -------------------
.../FlatpackDataFormatAutoConfiguration.java | 55 ----
.../FlatpackDataFormatConfiguration.java | 129 --------
.../GsonDataFormatAutoConfiguration.java | 54 ----
.../springboot/GsonDataFormatConfiguration.java | 244 ---------------
.../HessianDataFormatAutoConfiguration.java | 55 ----
.../HessianDataFormatConfiguration.java | 28 --
.../HL7DataFormatAutoConfiguration.java | 54 ----
.../springboot/HL7DataFormatConfiguration.java | 41 ---
.../ICalDataFormatAutoConfiguration.java | 54 ----
.../springboot/ICalDataFormatConfiguration.java | 41 ---
.../JacksonDataFormatAutoConfiguration.java | 55 ----
.../JacksonDataFormatConfiguration.java | 244 ---------------
.../JacksonXMLDataFormatAutoConfiguration.java | 55 ----
.../JacksonXMLDataFormatConfiguration.java | 208 -------------
.../JaxbDataFormatAutoConfiguration.java | 54 ----
.../springboot/JaxbDataFormatConfiguration.java | 227 --------------
.../JibxDataFormatAutoConfiguration.java | 54 ----
.../springboot/JibxDataFormatConfiguration.java | 53 ----
.../LZFDataFormatAutoConfiguration.java | 54 ----
.../springboot/LZFDataFormatConfiguration.java | 41 ---
...imeMultipartDataFormatAutoConfiguration.java | 56 ----
.../MimeMultipartDataFormatConfiguration.java | 94 ------
.../ProtobufDataFormatAutoConfiguration.java | 55 ----
.../ProtobufDataFormatConfiguration.java | 41 ---
.../RssDataFormatAutoConfiguration.java | 54 ----
.../springboot/RssDataFormatConfiguration.java | 28 --
.../SnakeYAMLDataFormatAutoConfiguration.java | 55 ----
.../SnakeYAMLDataFormatConfiguration.java | 128 --------
.../SoapJaxbDataFormatAutoConfiguration.java | 55 ----
.../SoapJaxbDataFormatConfiguration.java | 122 --------
.../SyslogDataFormatAutoConfiguration.java | 55 ----
.../SyslogDataFormatConfiguration.java | 28 --
.../TidyMarkupDataFormatAutoConfiguration.java | 55 ----
.../TidyMarkupDataFormatConfiguration.java | 42 ---
.../TarFileDataFormatAutoConfiguration.java | 55 ----
.../TarFileDataFormatConfiguration.java | 43 ---
...UniVocityCsvDataFormatAutoConfiguration.java | 55 ----
.../UniVocityCsvDataFormatConfiguration.java | 243 ---------------
...tyFixedWidthDataFormatAutoConfiguration.java | 56 ----
...VocityFixedWidthDataFormatConfiguration.java | 233 --------------
...UniVocityTsvDataFormatAutoConfiguration.java | 55 ----
.../UniVocityTsvDataFormatConfiguration.java | 207 -------------
.../XmlJsonDataFormatAutoConfiguration.java | 55 ----
.../XmlJsonDataFormatConfiguration.java | 201 ------------
.../XmlRpcDataFormatAutoConfiguration.java | 55 ----
.../XmlRpcDataFormatConfiguration.java | 41 ---
.../XMLSecurityDataFormatAutoConfiguration.java | 55 ----
.../XMLSecurityDataFormatConfiguration.java | 189 -----------
.../JsonDataFormatAutoConfiguration.java | 54 ----
.../springboot/JsonDataFormatConfiguration.java | 244 ---------------
.../XStreamDataFormatAutoConfiguration.java | 55 ----
.../XStreamDataFormatConfiguration.java | 159 ----------
.../ZipFileDataFormatAutoConfiguration.java | 55 ----
.../ZipFileDataFormatConfiguration.java | 43 ---
86 files changed, 7158 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/camel-core/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java
deleted file mode 100644
index 90e9cd0..0000000
--- a/camel-core/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.impl.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.impl.GzipDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-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!
- */
-@Configuration
-@EnableConfigurationProperties(GzipDataFormatConfiguration.class)
-public class GzipDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(GzipDataFormat.class)
- public GzipDataFormat configureGzipDataFormat(CamelContext camelContext,
- GzipDataFormatConfiguration configuration) throws Exception {
- GzipDataFormat dataformat = new GzipDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/camel-core/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatConfiguration.java
deleted file mode 100644
index df614d4..0000000
--- a/camel-core/src/main/java/org/apache/camel/impl/springboot/GzipDataFormatConfiguration.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.impl.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The Core Camel Java DSL based router
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.gzip")
-public class GzipDataFormatConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/camel-core/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.java
deleted file mode 100644
index 7bf60fd..0000000
--- a/camel-core/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatAutoConfiguration.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.impl.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.impl.SerializationDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-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!
- */
-@Configuration
-@EnableConfigurationProperties(SerializationDataFormatConfiguration.class)
-public class SerializationDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SerializationDataFormat.class)
- public SerializationDataFormat configureSerializationDataFormat(
- CamelContext camelContext,
- SerializationDataFormatConfiguration configuration)
- throws Exception {
- SerializationDataFormat dataformat = new SerializationDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/camel-core/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatConfiguration.java
deleted file mode 100644
index ed78fab..0000000
--- a/camel-core/src/main/java/org/apache/camel/impl/springboot/SerializationDataFormatConfiguration.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.impl.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The Core Camel Java DSL based router
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.serialization")
-public class SerializationDataFormatConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/camel-core/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.java
deleted file mode 100644
index a47e939..0000000
--- a/camel-core/src/main/java/org/apache/camel/impl/springboot/StringDataFormatAutoConfiguration.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.impl.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.impl.StringDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-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!
- */
-@Configuration
-@EnableConfigurationProperties(StringDataFormatConfiguration.class)
-public class StringDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(StringDataFormat.class)
- public StringDataFormat configureStringDataFormat(
- CamelContext camelContext,
- StringDataFormatConfiguration configuration) throws Exception {
- StringDataFormat dataformat = new StringDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/camel-core/src/main/java/org/apache/camel/impl/springboot/StringDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/springboot/StringDataFormatConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/springboot/StringDataFormatConfiguration.java
deleted file mode 100644
index 575b37e..0000000
--- a/camel-core/src/main/java/org/apache/camel/impl/springboot/StringDataFormatConfiguration.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.impl.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The Core Camel Java DSL based router
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.string")
-public class StringDataFormatConfiguration {
-
- /**
- * Sets an encoding to use. Will by default use the JVM platform default
- * charset.
- */
- private String charset;
-
- public String getCharset() {
- return charset;
- }
-
- public void setCharset(String charset) {
- this.charset = charset;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/camel-core/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java
deleted file mode 100644
index c007de0..0000000
--- a/camel-core/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.impl.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.impl.ZipDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-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!
- */
-@Configuration
-@EnableConfigurationProperties(ZipDataFormatConfiguration.class)
-public class ZipDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ZipDataFormat.class)
- public ZipDataFormat configureZipDataFormat(CamelContext camelContext,
- ZipDataFormatConfiguration configuration) throws Exception {
- ZipDataFormat dataformat = new ZipDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/camel-core/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatConfiguration.java
deleted file mode 100644
index d6bd3be..0000000
--- a/camel-core/src/main/java/org/apache/camel/impl/springboot/ZipDataFormatConfiguration.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.impl.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The Core Camel Java DSL based router
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.zip")
-public class ZipDataFormatConfiguration {
-
- /**
- * To specify a specific compression between 0-9. -1 is default compression
- * 0 is no compression and 9 is best compression.
- */
- private Integer compressionLevel;
-
- public Integer getCompressionLevel() {
- return compressionLevel;
- }
-
- public void setCompressionLevel(Integer compressionLevel) {
- this.compressionLevel = compressionLevel;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-avro/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java b/components/camel-avro/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
deleted file mode 100644
index 97a15f9..0000000
--- a/components/camel-avro/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.dataformat.avro.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.dataformat.avro.AvroDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.boot.autoconfigure.condition.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!
- */
-@Configuration
-@EnableConfigurationProperties(AvroDataFormatConfiguration.class)
-public class AvroDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(AvroDataFormat.class)
- public AvroDataFormat configureAvroDataFormat(CamelContext camelContext,
- AvroDataFormatConfiguration configuration) throws Exception {
- AvroDataFormat dataformat = new AvroDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-avro/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-avro/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatConfiguration.java b/components/camel-avro/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatConfiguration.java
deleted file mode 100644
index 517051c..0000000
--- a/components/camel-avro/src/main/java/org/apache/camel/dataformat/avro/springboot/AvroDataFormatConfiguration.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.dataformat.avro.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Avro data format
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.avro")
-public class AvroDataFormatConfiguration {
-
- /**
- * Class name to use for marshal and unmarshalling
- */
- private String instanceClassName;
-
- public String getInstanceClassName() {
- return instanceClassName;
- }
-
- public void setInstanceClassName(String instanceClassName) {
- this.instanceClassName = instanceClassName;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java b/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.java
deleted file mode 100644
index 4c63075..0000000
--- a/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatAutoConfiguration.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.dataformat.barcode.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.dataformat.barcode.BarcodeDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.boot.autoconfigure.condition.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!
- */
-@Configuration
-@EnableConfigurationProperties(BarcodeDataFormatConfiguration.class)
-public class BarcodeDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BarcodeDataFormat.class)
- public BarcodeDataFormat configureBarcodeDataFormat(
- CamelContext camelContext,
- BarcodeDataFormatConfiguration configuration) throws Exception {
- BarcodeDataFormat dataformat = new BarcodeDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatConfiguration.java b/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatConfiguration.java
deleted file mode 100644
index 2d0f624..0000000
--- a/components/camel-barcode/src/main/java/org/apache/camel/dataformat/barcode/springboot/BarcodeDataFormatConfiguration.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.dataformat.barcode.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Barcode (e.g. QRcode, PDF417, DataMatrix) support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.barcode")
-public class BarcodeDataFormatConfiguration {
-
- /**
- * Width of the barcode
- */
- private Integer width;
- /**
- * Height of the barcode
- */
- private Integer height;
- /**
- * Image type of the barcode such as png
- */
- private String imageType;
- /**
- * Barcode format such as QR-Code
- */
- private String barcodeFormat;
-
- public Integer getWidth() {
- return width;
- }
-
- public void setWidth(Integer width) {
- this.width = width;
- }
-
- public Integer getHeight() {
- return height;
- }
-
- public void setHeight(Integer height) {
- this.height = height;
- }
-
- public String getImageType() {
- return imageType;
- }
-
- public void setImageType(String imageType) {
- this.imageType = imageType;
- }
-
- public String getBarcodeFormat() {
- return barcodeFormat;
- }
-
- public void setBarcodeFormat(String barcodeFormat) {
- this.barcodeFormat = barcodeFormat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-base64/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-base64/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java b/components/camel-base64/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.java
deleted file mode 100644
index c5cce32..0000000
--- a/components/camel-base64/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatAutoConfiguration.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.dataformat.base64.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.dataformat.base64.Base64DataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.boot.autoconfigure.condition.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!
- */
-@Configuration
-@EnableConfigurationProperties(Base64DataFormatConfiguration.class)
-public class Base64DataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(Base64DataFormat.class)
- public Base64DataFormat configureBase64DataFormat(
- CamelContext camelContext,
- Base64DataFormatConfiguration configuration) throws Exception {
- Base64DataFormat dataformat = new Base64DataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-base64/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-base64/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatConfiguration.java b/components/camel-base64/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatConfiguration.java
deleted file mode 100644
index 929deec..0000000
--- a/components/camel-base64/src/main/java/org/apache/camel/dataformat/base64/springboot/Base64DataFormatConfiguration.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.dataformat.base64.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Base64 data format support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.base64")
-public class Base64DataFormatConfiguration {
-
- /**
- * To specific a maximum line length for the encoded data. By default 76 is
- * used.
- */
- private Integer lineLength;
- /**
- * The line separators to use. By default \r\n is used.
- */
- private String lineSeparator;
- /**
- * Instead of emitting '' and '/' we emit '-' and '_' respectively. urlSafe
- * is only applied to encode operations. Decoding seamlessly handles both
- * modes. Is by default false.
- */
- private Boolean urlSafe;
-
- public Integer getLineLength() {
- return lineLength;
- }
-
- public void setLineLength(Integer lineLength) {
- this.lineLength = lineLength;
- }
-
- public String getLineSeparator() {
- return lineSeparator;
- }
-
- public void setLineSeparator(String lineSeparator) {
- this.lineSeparator = lineSeparator;
- }
-
- public Boolean getUrlSafe() {
- return urlSafe;
- }
-
- public void setUrlSafe(Boolean urlSafe) {
- this.urlSafe = urlSafe;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-beanio/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-beanio/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java b/components/camel-beanio/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.java
deleted file mode 100644
index 105bedd..0000000
--- a/components/camel-beanio/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatAutoConfiguration.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.dataformat.beanio.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.dataformat.beanio.BeanIODataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.boot.autoconfigure.condition.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!
- */
-@Configuration
-@EnableConfigurationProperties(BeanIODataFormatConfiguration.class)
-public class BeanIODataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BeanIODataFormat.class)
- public BeanIODataFormat configureBeanIODataFormat(
- CamelContext camelContext,
- BeanIODataFormatConfiguration configuration) throws Exception {
- BeanIODataFormat dataformat = new BeanIODataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-beanio/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-beanio/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatConfiguration.java b/components/camel-beanio/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatConfiguration.java
deleted file mode 100644
index e3babce..0000000
--- a/components/camel-beanio/src/main/java/org/apache/camel/dataformat/beanio/springboot/BeanIODataFormatConfiguration.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.dataformat.beanio.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel BeanIO data format support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.beanio")
-public class BeanIODataFormatConfiguration {
-
- /**
- * The BeanIO mapping file. Is by default loaded from the classpath. You can
- * prefix with file: http: or classpath: to denote from where to load the
- * mapping file.
- */
- private String mapping;
- /**
- * The name of the stream to use.
- */
- private String streamName;
- /**
- * Whether to ignore unidentified records.
- */
- private Boolean ignoreUnidentifiedRecords;
- /**
- * Whether to ignore unexpected records.
- */
- private Boolean ignoreUnexpectedRecords;
- /**
- * Whether to ignore invalid records.
- */
- private Boolean ignoreInvalidRecords;
- /**
- * The charset to use. Is by default the JVM platform default charset.
- */
- private String encoding;
-
- public String getMapping() {
- return mapping;
- }
-
- public void setMapping(String mapping) {
- this.mapping = mapping;
- }
-
- public String getStreamName() {
- return streamName;
- }
-
- public void setStreamName(String streamName) {
- this.streamName = streamName;
- }
-
- public Boolean getIgnoreUnidentifiedRecords() {
- return ignoreUnidentifiedRecords;
- }
-
- public void setIgnoreUnidentifiedRecords(Boolean ignoreUnidentifiedRecords) {
- this.ignoreUnidentifiedRecords = ignoreUnidentifiedRecords;
- }
-
- public Boolean getIgnoreUnexpectedRecords() {
- return ignoreUnexpectedRecords;
- }
-
- public void setIgnoreUnexpectedRecords(Boolean ignoreUnexpectedRecords) {
- this.ignoreUnexpectedRecords = ignoreUnexpectedRecords;
- }
-
- public Boolean getIgnoreInvalidRecords() {
- return ignoreInvalidRecords;
- }
-
- public void setIgnoreInvalidRecords(Boolean ignoreInvalidRecords) {
- this.ignoreInvalidRecords = ignoreInvalidRecords;
- }
-
- public String getEncoding() {
- return encoding;
- }
-
- public void setEncoding(String encoding) {
- this.encoding = encoding;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.java
deleted file mode 100644
index 68d13ae..0000000
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatAutoConfiguration.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.dataformat.bindy.csv.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.boot.autoconfigure.condition.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!
- */
-@Configuration
-@EnableConfigurationProperties(BindyCsvDataFormatConfiguration.class)
-public class BindyCsvDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BindyCsvDataFormat.class)
- public BindyCsvDataFormat configureBindyCsvDataFormat(
- CamelContext camelContext,
- BindyCsvDataFormatConfiguration configuration) throws Exception {
- BindyCsvDataFormat dataformat = new BindyCsvDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatConfiguration.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatConfiguration.java
deleted file mode 100644
index befeff9..0000000
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/csv/springboot/BindyCsvDataFormatConfiguration.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.dataformat.bindy.csv.springboot;
-
-import org.apache.camel.model.dataformat.BindyType;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Bindy data format support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.bindy")
-public class BindyCsvDataFormatConfiguration {
-
- /**
- * Whether to use csv fixed or key value pairs mode.
- */
- private BindyType type;
- /**
- * Name of model class to use.
- */
- private String classType;
- /**
- * To configure a default locale to use such as us for united states. To use
- * the JVM platform default locale then use the name default
- */
- private String locale;
-
- public BindyType getType() {
- return type;
- }
-
- public void setType(BindyType type) {
- this.type = type;
- }
-
- public String getClassType() {
- return classType;
- }
-
- public void setClassType(String classType) {
- this.classType = classType;
- }
-
- public String getLocale() {
- return locale;
- }
-
- public void setLocale(String locale) {
- this.locale = locale;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.java
deleted file mode 100644
index 1fbb5df..0000000
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatAutoConfiguration.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.dataformat.bindy.fixed.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.dataformat.bindy.fixed.BindyFixedLengthDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.boot.autoconfigure.condition.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!
- */
-@Configuration
-@EnableConfigurationProperties(BindyFixedLengthDataFormatConfiguration.class)
-public class BindyFixedLengthDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BindyFixedLengthDataFormat.class)
- public BindyFixedLengthDataFormat configureBindyFixedLengthDataFormat(
- CamelContext camelContext,
- BindyFixedLengthDataFormatConfiguration configuration)
- throws Exception {
- BindyFixedLengthDataFormat dataformat = new BindyFixedLengthDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatConfiguration.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatConfiguration.java
deleted file mode 100644
index a159408..0000000
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/springboot/BindyFixedLengthDataFormatConfiguration.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.dataformat.bindy.fixed.springboot;
-
-import org.apache.camel.model.dataformat.BindyType;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Bindy data format support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.bindy")
-public class BindyFixedLengthDataFormatConfiguration {
-
- /**
- * Whether to use csv fixed or key value pairs mode.
- */
- private BindyType type;
- /**
- * Name of model class to use.
- */
- private String classType;
- /**
- * To configure a default locale to use such as us for united states. To use
- * the JVM platform default locale then use the name default
- */
- private String locale;
-
- public BindyType getType() {
- return type;
- }
-
- public void setType(BindyType type) {
- this.type = type;
- }
-
- public String getClassType() {
- return classType;
- }
-
- public void setClassType(String classType) {
- this.classType = classType;
- }
-
- public String getLocale() {
- return locale;
- }
-
- public void setLocale(String locale) {
- this.locale = locale;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.java
deleted file mode 100644
index 6601ad2..0000000
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatAutoConfiguration.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.dataformat.bindy.kvp.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.dataformat.bindy.kvp.BindyKeyValuePairDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.boot.autoconfigure.condition.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!
- */
-@Configuration
-@EnableConfigurationProperties(BindyKeyValuePairDataFormatConfiguration.class)
-public class BindyKeyValuePairDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BindyKeyValuePairDataFormat.class)
- public BindyKeyValuePairDataFormat configureBindyKeyValuePairDataFormat(
- CamelContext camelContext,
- BindyKeyValuePairDataFormatConfiguration configuration)
- throws Exception {
- BindyKeyValuePairDataFormat dataformat = new BindyKeyValuePairDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatConfiguration.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatConfiguration.java
deleted file mode 100644
index ae5011d..0000000
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/kvp/springboot/BindyKeyValuePairDataFormatConfiguration.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.dataformat.bindy.kvp.springboot;
-
-import org.apache.camel.model.dataformat.BindyType;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Bindy data format support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.bindy")
-public class BindyKeyValuePairDataFormatConfiguration {
-
- /**
- * Whether to use csv fixed or key value pairs mode.
- */
- private BindyType type;
- /**
- * Name of model class to use.
- */
- private String classType;
- /**
- * To configure a default locale to use such as us for united states. To use
- * the JVM platform default locale then use the name default
- */
- private String locale;
-
- public BindyType getType() {
- return type;
- }
-
- public void setType(BindyType type) {
- this.type = type;
- }
-
- public String getClassType() {
- return classType;
- }
-
- public void setClassType(String classType) {
- this.classType = classType;
- }
-
- public String getLocale() {
- return locale;
- }
-
- public void setLocale(String locale) {
- this.locale = locale;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-boon/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-boon/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java b/components/camel-boon/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
deleted file mode 100644
index 22fff8b..0000000
--- a/components/camel-boon/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.boon.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.component.boon.BoonDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.boot.autoconfigure.condition.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!
- */
-@Configuration
-@EnableConfigurationProperties(BoonDataFormatConfiguration.class)
-public class BoonDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(BoonDataFormat.class)
- public BoonDataFormat configureBoonDataFormat(CamelContext camelContext,
- BoonDataFormatConfiguration configuration) throws Exception {
- BoonDataFormat dataformat = new BoonDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-boon/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-boon/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatConfiguration.java b/components/camel-boon/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatConfiguration.java
deleted file mode 100644
index 7f3b7aa..0000000
--- a/components/camel-boon/src/main/java/org/apache/camel/component/boon/springboot/BoonDataFormatConfiguration.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.boon.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Boon support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.boon")
-public class BoonDataFormatConfiguration {
-
- /**
- * Class name of the java type to use when unarmshalling
- */
- private String unmarshalTypeName;
- /**
- * To unarmshal to a List of Map or a List of Pojo.
- */
- private Boolean useList;
-
- public String getUnmarshalTypeName() {
- return unmarshalTypeName;
- }
-
- public void setUnmarshalTypeName(String unmarshalTypeName) {
- this.unmarshalTypeName = unmarshalTypeName;
- }
-
- public Boolean getUseList() {
- return useList;
- }
-
- public void setUseList(Boolean useList) {
- this.useList = useList;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.java b/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.java
deleted file mode 100644
index d54eaaf..0000000
--- a/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatAutoConfiguration.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.dataformat.castor.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.dataformat.castor.CastorDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-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!
- */
-@Configuration
-@EnableConfigurationProperties(CastorDataFormatConfiguration.class)
-public class CastorDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CastorDataFormat.class)
- public CastorDataFormat configureCastorDataFormat(
- CamelContext camelContext,
- CastorDataFormatConfiguration configuration) throws Exception {
- CastorDataFormat dataformat = new CastorDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatConfiguration.java b/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatConfiguration.java
deleted file mode 100644
index 05ff818..0000000
--- a/components/camel-castor/src/main/java/org/apache/camel/dataformat/castor/springboot/CastorDataFormatConfiguration.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.dataformat.castor.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Castor data format support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.castor")
-public class CastorDataFormatConfiguration {
-
- /**
- * Path to a Castor mapping file to load from the classpath.
- */
- private String mappingFile;
- /**
- * Whether validation is turned on or off. Is by default true.
- */
- private Boolean validation;
- /**
- * Encoding to use when marshalling an Object to XML. Is by default UTF-8
- */
- private String encoding;
- /**
- * Add additional packages to Castor XmlContext
- */
- private String[] packages;
- /**
- * Add additional class names to Castor XmlContext
- */
- private String[] classes;
-
- public String getMappingFile() {
- return mappingFile;
- }
-
- public void setMappingFile(String mappingFile) {
- this.mappingFile = mappingFile;
- }
-
- public Boolean getValidation() {
- return validation;
- }
-
- public void setValidation(Boolean validation) {
- this.validation = validation;
- }
-
- public String getEncoding() {
- return encoding;
- }
-
- public void setEncoding(String encoding) {
- this.encoding = encoding;
- }
-
- public String[] getPackages() {
- return packages;
- }
-
- public void setPackages(String[] packages) {
- this.packages = packages;
- }
-
- public String[] getClasses() {
- return classes;
- }
-
- public void setClasses(String[] classes) {
- this.classes = classes;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/234f57d4/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.java
deleted file mode 100644
index 2ca8d7d..0000000
--- a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatAutoConfiguration.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.converter.crypto.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.converter.crypto.CryptoDataFormat;
-import org.apache.camel.util.IntrospectionSupport;
-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!
- */
-@Configuration
-@EnableConfigurationProperties(CryptoDataFormatConfiguration.class)
-public class CryptoDataFormatAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CryptoDataFormat.class)
- public CryptoDataFormat configureCryptoDataFormat(
- CamelContext camelContext,
- CryptoDataFormatConfiguration configuration) throws Exception {
- CryptoDataFormat dataformat = new CryptoDataFormat();
- if (dataformat instanceof CamelContextAware) {
- ((CamelContextAware) dataformat).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), dataformat, parameters);
- return dataformat;
- }
-}
\ No newline at end of file