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/08/15 08:29:21 UTC
[64/74] [abbrv] camel git commit: CAMEL-10222: Deleted spring-boot
configuration from main projects
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/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 8d7b69f..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 = true;
- /**
- * 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/67633827/components/camel-castor/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-castor/src/main/resources/META-INF/spring.factories b/components/camel-castor/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9a71356..0000000
--- a/components/camel-castor/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.dataformat.castor.springboot.CastorDataFormatAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
deleted file mode 100644
index 004fbd7..0000000
--- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cometd.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.cometd.CometdComponent;
-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(CometdComponentConfiguration.class)
-public class CometdComponentAutoConfiguration {
-
- @Bean(name = {"cometd-component", "cometds-component"})
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CometdComponent.class)
- public CometdComponent configureCometdComponent(CamelContext camelContext,
- CometdComponentConfiguration configuration) throws Exception {
- CometdComponent component = new CometdComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
deleted file mode 100644
index b232398..0000000
--- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cometd.springboot;
-
-import java.util.List;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import org.cometd.bayeux.server.BayeuxServer.Extension;
-import org.cometd.bayeux.server.SecurityPolicy;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The cometd component is a transport for working with the Jetty implementation
- * of the cometd/bayeux protocol.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cometd")
-public class CometdComponentConfiguration {
-
- /**
- * The password for the keystore when using SSL.
- */
- private String sslKeyPassword;
- /**
- * The password when using SSL.
- */
- private String sslPassword;
- /**
- * The path to the keystore.
- */
- private String sslKeystore;
- /**
- * To use a custom configured SecurityPolicy to control authorization
- */
- private SecurityPolicy securityPolicy;
- /**
- * To use a list of custom BayeuxServer.Extension that allows modifying
- * incoming and outgoing requests.
- */
- private List<Extension> extensions;
- /**
- * To configure security using SSLContextParameters
- */
- private SSLContextParameters sslContextParameters;
-
- public String getSslKeyPassword() {
- return sslKeyPassword;
- }
-
- public void setSslKeyPassword(String sslKeyPassword) {
- this.sslKeyPassword = sslKeyPassword;
- }
-
- public String getSslPassword() {
- return sslPassword;
- }
-
- public void setSslPassword(String sslPassword) {
- this.sslPassword = sslPassword;
- }
-
- public String getSslKeystore() {
- return sslKeystore;
- }
-
- public void setSslKeystore(String sslKeystore) {
- this.sslKeystore = sslKeystore;
- }
-
- public SecurityPolicy getSecurityPolicy() {
- return securityPolicy;
- }
-
- public void setSecurityPolicy(SecurityPolicy securityPolicy) {
- this.securityPolicy = securityPolicy;
- }
-
- public List<Extension> getExtensions() {
- return extensions;
- }
-
- public void setExtensions(List<Extension> extensions) {
- this.extensions = extensions;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-cometd/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cometd/src/main/resources/META-INF/spring.factories b/components/camel-cometd/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index b2c7883..0000000
--- a/components/camel-cometd/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.cometd.springboot.CometdComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java
deleted file mode 100644
index dafa6fa..0000000
--- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.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.crypto.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.crypto.DigitalSignatureComponent;
-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(DigitalSignatureComponentConfiguration.class)
-public class DigitalSignatureComponentAutoConfiguration {
-
- @Bean(name = "crypto-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DigitalSignatureComponent.class)
- public DigitalSignatureComponent configureDigitalSignatureComponent(
- CamelContext camelContext,
- DigitalSignatureComponentConfiguration configuration)
- throws Exception {
- DigitalSignatureComponent component = new DigitalSignatureComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
deleted file mode 100644
index 17a8378..0000000
--- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java
+++ /dev/null
@@ -1,314 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.crypto.springboot;
-
-import java.security.KeyStore;
-import java.security.PrivateKey;
-import java.security.PublicKey;
-import java.security.SecureRandom;
-import java.security.cert.Certificate;
-import org.apache.camel.component.crypto.DigitalSignatureConfiguration;
-import org.apache.camel.util.jsse.KeyStoreParameters;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The crypto component is used for signing and verifying exchanges using the
- * Signature Service of the Java Cryptographic Extension (JCE).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.crypto")
-public class DigitalSignatureComponentConfiguration {
-
- /**
- * To use the shared DigitalSignatureConfiguration as configuration.
- * Properties of the shared configuration can also be set individually.
- */
- private DigitalSignatureConfiguration configuration;
- /**
- * The logical name of this operation.
- */
- private String name;
- /**
- * Sets the JCE name of the Algorithm that should be used for the signer.
- */
- private String algorithm;
- /**
- * Sets the alias used to query the KeyStore for keys and link Certificate
- * Certificates to be used in signing and verifying exchanges. This value
- * can be provided at runtime via the message header link
- * DigitalSignatureConstantsKEYSTORE_ALIAS
- */
- private String alias;
- /**
- * Set the PrivateKey that should be used to sign the exchange
- */
- private PrivateKey privateKey;
- /**
- * Sets the reference name for a PrivateKey that can be fond in the
- * registry.
- */
- private String privateKeyName;
- /**
- * Set the PublicKey that should be used to verify the signature in the
- * exchange.
- */
- private PublicKey publicKey;
- /**
- * Sets the reference name for a publicKey that can be fond in the registry.
- */
- private String publicKeyName;
- /**
- * Set the Certificate that should be used to verify the signature in the
- * exchange based on its payload.
- */
- private Certificate certificate;
- /**
- * Sets the reference name for a PrivateKey that can be fond in the
- * registry.
- */
- private String certificateName;
- /**
- * Sets the KeyStore that can contain keys and Certficates for use in
- * signing and verifying exchanges. A KeyStore is typically used with an
- * alias either one supplied in the Route definition or dynamically via the
- * message header CamelSignatureKeyStoreAlias. If no alias is supplied and
- * there is only a single entry in the Keystore then this single entry will
- * be used.
- */
- private KeyStore keystore;
- /**
- * Sets the reference name for a Keystore that can be fond in the registry.
- */
- private String keystoreName;
- /**
- * Sets the password used to access an aliased PrivateKey in the KeyStore.
- */
- private char[] password;
- /**
- * Sets the KeyStore that can contain keys and Certficates for use in
- * signing and verifying exchanges based on the given KeyStoreParameters. A
- * KeyStore is typically used with an alias either one supplied in the Route
- * definition or dynamically via the message header
- * CamelSignatureKeyStoreAlias. If no alias is supplied and there is only a
- * single entry in the Keystore then this single entry will be used.
- */
- private KeyStoreParameters keyStoreParameters;
- /**
- * Sets the reference name for a SecureRandom that can be fond in the
- * registry.
- */
- private String secureRandomName;
- /**
- * Set the SecureRandom used to initialize the Signature service
- */
- private SecureRandom secureRandom;
- /**
- * Set the size of the buffer used to read in the Exchange payload data.
- */
- private Integer bufferSize;
- /**
- * Set the id of the security provider that provides the configured
- * Signature algorithm.
- */
- private String provider;
- /**
- * Set the name of the message header that should be used to store the
- * base64 encoded signature. This defaults to 'CamelDigitalSignature'
- */
- private String signatureHeaderName;
- /**
- * Determines if the Signature specific headers be cleared after signing and
- * verification. Defaults to true and should only be made otherwise at your
- * extreme peril as vital private information such as Keys and passwords may
- * escape if unset.
- */
- private Boolean clearHeaders;
- /**
- * Set the Crypto operation from that supplied after the crypto scheme in
- * the endpoint uri e.g. crypto:sign sets sign as the operation.
- */
- private String cryptoOperation;
-
- public DigitalSignatureConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(DigitalSignatureConfiguration configuration) {
- this.configuration = configuration;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getAlgorithm() {
- return algorithm;
- }
-
- public void setAlgorithm(String algorithm) {
- this.algorithm = algorithm;
- }
-
- public String getAlias() {
- return alias;
- }
-
- public void setAlias(String alias) {
- this.alias = alias;
- }
-
- public PrivateKey getPrivateKey() {
- return privateKey;
- }
-
- public void setPrivateKey(PrivateKey privateKey) {
- this.privateKey = privateKey;
- }
-
- public String getPrivateKeyName() {
- return privateKeyName;
- }
-
- public void setPrivateKeyName(String privateKeyName) {
- this.privateKeyName = privateKeyName;
- }
-
- public PublicKey getPublicKey() {
- return publicKey;
- }
-
- public void setPublicKey(PublicKey publicKey) {
- this.publicKey = publicKey;
- }
-
- public String getPublicKeyName() {
- return publicKeyName;
- }
-
- public void setPublicKeyName(String publicKeyName) {
- this.publicKeyName = publicKeyName;
- }
-
- public Certificate getCertificate() {
- return certificate;
- }
-
- public void setCertificate(Certificate certificate) {
- this.certificate = certificate;
- }
-
- public String getCertificateName() {
- return certificateName;
- }
-
- public void setCertificateName(String certificateName) {
- this.certificateName = certificateName;
- }
-
- public KeyStore getKeystore() {
- return keystore;
- }
-
- public void setKeystore(KeyStore keystore) {
- this.keystore = keystore;
- }
-
- public String getKeystoreName() {
- return keystoreName;
- }
-
- public void setKeystoreName(String keystoreName) {
- this.keystoreName = keystoreName;
- }
-
- public char[] getPassword() {
- return password;
- }
-
- public void setPassword(char[] password) {
- this.password = password;
- }
-
- public KeyStoreParameters getKeyStoreParameters() {
- return keyStoreParameters;
- }
-
- public void setKeyStoreParameters(KeyStoreParameters keyStoreParameters) {
- this.keyStoreParameters = keyStoreParameters;
- }
-
- public String getSecureRandomName() {
- return secureRandomName;
- }
-
- public void setSecureRandomName(String secureRandomName) {
- this.secureRandomName = secureRandomName;
- }
-
- public SecureRandom getSecureRandom() {
- return secureRandom;
- }
-
- public void setSecureRandom(SecureRandom secureRandom) {
- this.secureRandom = secureRandom;
- }
-
- public Integer getBufferSize() {
- return bufferSize;
- }
-
- public void setBufferSize(Integer bufferSize) {
- this.bufferSize = bufferSize;
- }
-
- public String getProvider() {
- return provider;
- }
-
- public void setProvider(String provider) {
- this.provider = provider;
- }
-
- public String getSignatureHeaderName() {
- return signatureHeaderName;
- }
-
- public void setSignatureHeaderName(String signatureHeaderName) {
- this.signatureHeaderName = signatureHeaderName;
- }
-
- public Boolean getClearHeaders() {
- return clearHeaders;
- }
-
- public void setClearHeaders(Boolean clearHeaders) {
- this.clearHeaders = clearHeaders;
- }
-
- public String getCryptoOperation() {
- return cryptoOperation;
- }
-
- public void setCryptoOperation(String cryptoOperation) {
- this.cryptoOperation = cryptoOperation;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/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 cef5506..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(name = "crypto-dataformat")
- @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
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatConfiguration.java
deleted file mode 100644
index 57c7e0e..0000000
--- a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/CryptoDataFormatConfiguration.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF 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 org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Cryptographic Support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.crypto")
-public class CryptoDataFormatConfiguration {
-
- /**
- * The JCE algorithm name indicating the cryptographic algorithm that will
- * be used. Is by default DES/CBC/PKCS5Padding.
- */
- private String algorithm;
- /**
- * The name of the JCE Security Provider that should be used.
- */
- private String cryptoProvider;
- /**
- * Refers to the secret key to lookup from the register to use.
- */
- private String keyRef;
- /**
- * Refers to a byte array containing the Initialization Vector that will be
- * used to initialize the Cipher.
- */
- private String initVectorRef;
- /**
- * A JCE AlgorithmParameterSpec used to initialize the Cipher. Will lookup
- * the type using the given name as a
- * java.security.spec.AlgorithmParameterSpec type.
- */
- private String algorithmParameterRef;
- /**
- * The size of the buffer used in the signature process.
- */
- private Integer buffersize;
- /**
- * The JCE algorithm name indicating the Message Authentication algorithm.
- */
- private String macAlgorithm;
- /**
- * Flag indicating that a Message Authentication Code should be calculated
- * and appended to the encrypted data.
- */
- private Boolean shouldAppendHMAC = false;
- /**
- * Flag indicating that the configured IV should be inlined into the
- * encrypted data stream. Is by default false.
- */
- private Boolean inline = false;
-
- public String getAlgorithm() {
- return algorithm;
- }
-
- public void setAlgorithm(String algorithm) {
- this.algorithm = algorithm;
- }
-
- public String getCryptoProvider() {
- return cryptoProvider;
- }
-
- public void setCryptoProvider(String cryptoProvider) {
- this.cryptoProvider = cryptoProvider;
- }
-
- public String getKeyRef() {
- return keyRef;
- }
-
- public void setKeyRef(String keyRef) {
- this.keyRef = keyRef;
- }
-
- public String getInitVectorRef() {
- return initVectorRef;
- }
-
- public void setInitVectorRef(String initVectorRef) {
- this.initVectorRef = initVectorRef;
- }
-
- public String getAlgorithmParameterRef() {
- return algorithmParameterRef;
- }
-
- public void setAlgorithmParameterRef(String algorithmParameterRef) {
- this.algorithmParameterRef = algorithmParameterRef;
- }
-
- public Integer getBuffersize() {
- return buffersize;
- }
-
- public void setBuffersize(Integer buffersize) {
- this.buffersize = buffersize;
- }
-
- public String getMacAlgorithm() {
- return macAlgorithm;
- }
-
- public void setMacAlgorithm(String macAlgorithm) {
- this.macAlgorithm = macAlgorithm;
- }
-
- public Boolean getShouldAppendHMAC() {
- return shouldAppendHMAC;
- }
-
- public void setShouldAppendHMAC(Boolean shouldAppendHMAC) {
- this.shouldAppendHMAC = shouldAppendHMAC;
- }
-
- public Boolean getInline() {
- return inline;
- }
-
- public void setInline(Boolean inline) {
- this.inline = inline;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.java
deleted file mode 100644
index 49186eb..0000000
--- a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatAutoConfiguration.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.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.PGPDataFormat;
-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(PGPDataFormatConfiguration.class)
-public class PGPDataFormatAutoConfiguration {
-
- @Bean(name = "pgp-dataformat")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(PGPDataFormat.class)
- public PGPDataFormat configurePGPDataFormat(CamelContext camelContext,
- PGPDataFormatConfiguration configuration) throws Exception {
- PGPDataFormat dataformat = new PGPDataFormat();
- 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/67633827/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatConfiguration.java
deleted file mode 100644
index 63ce2b5..0000000
--- a/components/camel-crypto/src/main/java/org/apache/camel/converter/crypto/springboot/PGPDataFormatConfiguration.java
+++ /dev/null
@@ -1,235 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF 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 org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel Cryptographic Support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.pgp")
-public class PGPDataFormatConfiguration {
-
- /**
- * The user ID of the key in the PGP keyring used during encryption. Can
- * also be only a part of a user ID. For example if the user ID is Test User
- * then you can use the part Test User or to address the user ID.
- */
- private String keyUserid;
- /**
- * User ID of the key in the PGP keyring used for signing (during
- * encryption) or signature verification (during decryption). During the
- * signature verification process the specified User ID restricts the public
- * keys from the public keyring which can be used for the verification. If
- * no User ID is specified for the signature verficiation then any public
- * key in the public keyring can be used for the verification. Can also be
- * only a part of a user ID. For example if the user ID is Test User then
- * you can use the part Test User or to address the User ID.
- */
- private String signatureKeyUserid;
- /**
- * Password used when opening the private key (not used for encryption).
- */
- private String password;
- /**
- * Password used when opening the private key used for signing (during
- * encryption).
- */
- private String signaturePassword;
- /**
- * Filename of the keyring; must be accessible as a classpath resource (but
- * you can specify a location in the file system by using the file: prefix).
- */
- private String keyFileName;
- /**
- * Filename of the keyring to use for signing (during encryption) or for
- * signature verification (during decryption); must be accessible as a
- * classpath resource (but you can specify a location in the file system by
- * using the file: prefix).
- */
- private String signatureKeyFileName;
- /**
- * Keyring used for signing/verifying as byte array. You can not set the
- * signatureKeyFileName and signatureKeyRing at the same time.
- */
- private String signatureKeyRing;
- /**
- * This option will cause PGP to base64 encode the encrypted text making it
- * available for copy/paste etc.
- */
- private Boolean armored = false;
- /**
- * Adds an integrity check/sign into the encryption file. The default value
- * is true.
- */
- private Boolean integrity = true;
- /**
- * Java Cryptography Extension (JCE) provider default is Bouncy Castle (BC).
- * Alternatively you can use for example the IAIK JCE provider; in this case
- * the provider must be registered beforehand and the Bouncy Castle provider
- * must not be registered beforehand. The Sun JCE provider does not work.
- */
- private String provider;
- /**
- * Symmetric key encryption algorithm; possible values are defined in
- * org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags; for example 2 (= TRIPLE
- * DES) 3 (= CAST5) 4 (= BLOWFISH) 6 (= DES) 7 (= AES_128). Only relevant
- * for encrypting.
- */
- private Integer algorithm;
- /**
- * Compression algorithm; possible values are defined in
- * org.bouncycastle.bcpg.CompressionAlgorithmTags; for example 0 (=
- * UNCOMPRESSED) 1 (= ZIP) 2 (= ZLIB) 3 (= BZIP2). Only relevant for
- * encrypting.
- */
- private Integer compressionAlgorithm;
- /**
- * Signature hash algorithm; possible values are defined in
- * org.bouncycastle.bcpg.HashAlgorithmTags; for example 2 (= SHA1) 8 (=
- * SHA256) 9 (= SHA384) 10 (= SHA512) 11 (=SHA224). Only relevant for
- * signing.
- */
- private Integer hashAlgorithm;
- /**
- * Controls the behavior for verifying the signature during unmarshaling.
- * There are 4 values possible: optional: The PGP message may or may not
- * contain signatures; if it does contain signatures then a signature
- * verification is executed. required: The PGP message must contain at least
- * one signature; if this is not the case an exception (PGPException) is
- * thrown. A signature verification is executed. ignore: Contained
- * signatures in the PGP message are ignored; no signature verification is
- * executed. no_signature_allowed: The PGP message must not contain a
- * signature; otherwise an exception (PGPException) is thrown.
- */
- private String signatureVerificationOption;
-
- public String getKeyUserid() {
- return keyUserid;
- }
-
- public void setKeyUserid(String keyUserid) {
- this.keyUserid = keyUserid;
- }
-
- public String getSignatureKeyUserid() {
- return signatureKeyUserid;
- }
-
- public void setSignatureKeyUserid(String signatureKeyUserid) {
- this.signatureKeyUserid = signatureKeyUserid;
- }
-
- public String getPassword() {
- return password;
- }
-
- public void setPassword(String password) {
- this.password = password;
- }
-
- public String getSignaturePassword() {
- return signaturePassword;
- }
-
- public void setSignaturePassword(String signaturePassword) {
- this.signaturePassword = signaturePassword;
- }
-
- public String getKeyFileName() {
- return keyFileName;
- }
-
- public void setKeyFileName(String keyFileName) {
- this.keyFileName = keyFileName;
- }
-
- public String getSignatureKeyFileName() {
- return signatureKeyFileName;
- }
-
- public void setSignatureKeyFileName(String signatureKeyFileName) {
- this.signatureKeyFileName = signatureKeyFileName;
- }
-
- public String getSignatureKeyRing() {
- return signatureKeyRing;
- }
-
- public void setSignatureKeyRing(String signatureKeyRing) {
- this.signatureKeyRing = signatureKeyRing;
- }
-
- public Boolean getArmored() {
- return armored;
- }
-
- public void setArmored(Boolean armored) {
- this.armored = armored;
- }
-
- public Boolean getIntegrity() {
- return integrity;
- }
-
- public void setIntegrity(Boolean integrity) {
- this.integrity = integrity;
- }
-
- public String getProvider() {
- return provider;
- }
-
- public void setProvider(String provider) {
- this.provider = provider;
- }
-
- public Integer getAlgorithm() {
- return algorithm;
- }
-
- public void setAlgorithm(Integer algorithm) {
- this.algorithm = algorithm;
- }
-
- public Integer getCompressionAlgorithm() {
- return compressionAlgorithm;
- }
-
- public void setCompressionAlgorithm(Integer compressionAlgorithm) {
- this.compressionAlgorithm = compressionAlgorithm;
- }
-
- public Integer getHashAlgorithm() {
- return hashAlgorithm;
- }
-
- public void setHashAlgorithm(Integer hashAlgorithm) {
- this.hashAlgorithm = hashAlgorithm;
- }
-
- public String getSignatureVerificationOption() {
- return signatureVerificationOption;
- }
-
- public void setSignatureVerificationOption(
- String signatureVerificationOption) {
- this.signatureVerificationOption = signatureVerificationOption;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-crypto/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-crypto/src/main/resources/META-INF/spring.factories b/components/camel-crypto/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 5b0c343..0000000
--- a/components/camel-crypto/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.crypto.springboot.DigitalSignatureComponentAutoConfiguration,\
-org.apache.camel.converter.crypto.springboot.CryptoDataFormatAutoConfiguration,\
-org.apache.camel.converter.crypto.springboot.PGPDataFormatAutoConfiguration
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.java b/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.java
deleted file mode 100644
index 7f3ad94..0000000
--- a/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatAutoConfiguration.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.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.csv.CsvDataFormat;
-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(CsvDataFormatConfiguration.class)
-public class CsvDataFormatAutoConfiguration {
-
- @Bean(name = "csv-dataformat")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CsvDataFormat.class)
- public CsvDataFormat configureCsvDataFormat(CamelContext camelContext,
- CsvDataFormatConfiguration configuration) throws Exception {
- CsvDataFormat dataformat = new CsvDataFormat();
- 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/67633827/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatConfiguration.java b/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatConfiguration.java
deleted file mode 100644
index 705275f..0000000
--- a/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/springboot/CsvDataFormatConfiguration.java
+++ /dev/null
@@ -1,310 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF 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.csv.springboot;
-
-import java.util.List;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Camel CSV data format support
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.dataformat.csv")
-public class CsvDataFormatConfiguration {
-
- /**
- * The reference format to use it will be updated with the other format
- * options the default value is CSVFormat.DEFAULT
- */
- private String formatRef;
- /**
- * The name of the format to use the default value is CSVFormat.DEFAULT
- */
- private String formatName;
- /**
- * Disables the comment marker of the reference format.
- */
- private Boolean commentMarkerDisabled = false;
- /**
- * Sets the comment marker of the reference format.
- */
- private String commentMarker;
- /**
- * Sets the delimiter to use. The default value is (comma)
- */
- private String delimiter;
- /**
- * Use for disabling using escape character
- */
- private Boolean escapeDisabled = false;
- /**
- * Sets the escape character to use
- */
- private String escape;
- /**
- * Use for disabling headers
- */
- private Boolean headerDisabled = false;
- /**
- * To configure the CSV headers
- */
- private List<String> header;
- /**
- * Whether to allow missing column names.
- */
- private Boolean allowMissingColumnNames = false;
- /**
- * Whether to ignore empty lines.
- */
- private Boolean ignoreEmptyLines = false;
- /**
- * Whether to ignore surrounding spaces
- */
- private Boolean ignoreSurroundingSpaces = false;
- /**
- * Used to disable null strings
- */
- private Boolean nullStringDisabled = false;
- /**
- * Sets the null string
- */
- private String nullString;
- /**
- * Used to disable quotes
- */
- private Boolean quoteDisabled = false;
- /**
- * Sets the quote which by default is
- */
- private String quote;
- /**
- * Used for disabling record separator
- */
- private String recordSeparatorDisabled;
- /**
- * Sets the record separator (aka new line) which by default is \r\n (CRLF)
- */
- private String recordSeparator;
- /**
- * Whether to skip the header record in the output
- */
- private Boolean skipHeaderRecord = false;
- /**
- * Sets the quote mode
- */
- private String quoteMode;
- /**
- * Whether the unmarshalling should produce an iterator that reads the lines
- * on the fly or if all the lines must be read at one.
- */
- private Boolean lazyLoad = false;
- /**
- * Whether the unmarshalling should produce maps for the lines values
- * instead of lists. It requires to have header (either defined or
- * collected).
- */
- private Boolean useMaps = false;
- /**
- * Refers to a custom CsvRecordConverter to lookup from the registry to use.
- */
- private String recordConverterRef;
-
- public String getFormatRef() {
- return formatRef;
- }
-
- public void setFormatRef(String formatRef) {
- this.formatRef = formatRef;
- }
-
- public String getFormatName() {
- return formatName;
- }
-
- public void setFormatName(String formatName) {
- this.formatName = formatName;
- }
-
- public Boolean getCommentMarkerDisabled() {
- return commentMarkerDisabled;
- }
-
- public void setCommentMarkerDisabled(Boolean commentMarkerDisabled) {
- this.commentMarkerDisabled = commentMarkerDisabled;
- }
-
- public String getCommentMarker() {
- return commentMarker;
- }
-
- public void setCommentMarker(String commentMarker) {
- this.commentMarker = commentMarker;
- }
-
- public String getDelimiter() {
- return delimiter;
- }
-
- public void setDelimiter(String delimiter) {
- this.delimiter = delimiter;
- }
-
- public Boolean getEscapeDisabled() {
- return escapeDisabled;
- }
-
- public void setEscapeDisabled(Boolean escapeDisabled) {
- this.escapeDisabled = escapeDisabled;
- }
-
- public String getEscape() {
- return escape;
- }
-
- public void setEscape(String escape) {
- this.escape = escape;
- }
-
- public Boolean getHeaderDisabled() {
- return headerDisabled;
- }
-
- public void setHeaderDisabled(Boolean headerDisabled) {
- this.headerDisabled = headerDisabled;
- }
-
- public List<String> getHeader() {
- return header;
- }
-
- public void setHeader(List<String> header) {
- this.header = header;
- }
-
- public Boolean getAllowMissingColumnNames() {
- return allowMissingColumnNames;
- }
-
- public void setAllowMissingColumnNames(Boolean allowMissingColumnNames) {
- this.allowMissingColumnNames = allowMissingColumnNames;
- }
-
- public Boolean getIgnoreEmptyLines() {
- return ignoreEmptyLines;
- }
-
- public void setIgnoreEmptyLines(Boolean ignoreEmptyLines) {
- this.ignoreEmptyLines = ignoreEmptyLines;
- }
-
- public Boolean getIgnoreSurroundingSpaces() {
- return ignoreSurroundingSpaces;
- }
-
- public void setIgnoreSurroundingSpaces(Boolean ignoreSurroundingSpaces) {
- this.ignoreSurroundingSpaces = ignoreSurroundingSpaces;
- }
-
- public Boolean getNullStringDisabled() {
- return nullStringDisabled;
- }
-
- public void setNullStringDisabled(Boolean nullStringDisabled) {
- this.nullStringDisabled = nullStringDisabled;
- }
-
- public String getNullString() {
- return nullString;
- }
-
- public void setNullString(String nullString) {
- this.nullString = nullString;
- }
-
- public Boolean getQuoteDisabled() {
- return quoteDisabled;
- }
-
- public void setQuoteDisabled(Boolean quoteDisabled) {
- this.quoteDisabled = quoteDisabled;
- }
-
- public String getQuote() {
- return quote;
- }
-
- public void setQuote(String quote) {
- this.quote = quote;
- }
-
- public String getRecordSeparatorDisabled() {
- return recordSeparatorDisabled;
- }
-
- public void setRecordSeparatorDisabled(String recordSeparatorDisabled) {
- this.recordSeparatorDisabled = recordSeparatorDisabled;
- }
-
- public String getRecordSeparator() {
- return recordSeparator;
- }
-
- public void setRecordSeparator(String recordSeparator) {
- this.recordSeparator = recordSeparator;
- }
-
- public Boolean getSkipHeaderRecord() {
- return skipHeaderRecord;
- }
-
- public void setSkipHeaderRecord(Boolean skipHeaderRecord) {
- this.skipHeaderRecord = skipHeaderRecord;
- }
-
- public String getQuoteMode() {
- return quoteMode;
- }
-
- public void setQuoteMode(String quoteMode) {
- this.quoteMode = quoteMode;
- }
-
- public Boolean getLazyLoad() {
- return lazyLoad;
- }
-
- public void setLazyLoad(Boolean lazyLoad) {
- this.lazyLoad = lazyLoad;
- }
-
- public Boolean getUseMaps() {
- return useMaps;
- }
-
- public void setUseMaps(Boolean useMaps) {
- this.useMaps = useMaps;
- }
-
- public String getRecordConverterRef() {
- return recordConverterRef;
- }
-
- public void setRecordConverterRef(String recordConverterRef) {
- this.recordConverterRef = recordConverterRef;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-csv/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-csv/src/main/resources/META-INF/spring.factories b/components/camel-csv/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3003079..0000000
--- a/components/camel-csv/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.dataformat.csv.springboot.CsvDataFormatAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
deleted file mode 100644
index 52ada16..0000000
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cxf.jaxrs.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.cxf.jaxrs.CxfRsComponent;
-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(CxfRsComponentConfiguration.class)
-public class CxfRsComponentAutoConfiguration {
-
- @Bean(name = "cxfrs-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CxfRsComponent.class)
- public CxfRsComponent configureCxfRsComponent(CamelContext camelContext,
- CxfRsComponentConfiguration configuration) throws Exception {
- CxfRsComponent component = new CxfRsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
deleted file mode 100644
index f517a0e..0000000
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cxf.jaxrs.springboot;
-
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The cxfrs component is used for JAX-RS REST services using Apache CXF.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cxfrs")
-public class CxfRsComponentConfiguration {
-
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
deleted file mode 100644
index 21f5c1e..0000000
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cxf.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.cxf.CxfComponent;
-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(CxfComponentConfiguration.class)
-public class CxfComponentAutoConfiguration {
-
- @Bean(name = "cxf-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(CxfComponent.class)
- public CxfComponent configureCxfComponent(CamelContext camelContext,
- CxfComponentConfiguration configuration) throws Exception {
- CxfComponent component = new CxfComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
deleted file mode 100644
index b98b695..0000000
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.cxf.springboot;
-
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The cxf component is used for SOAP WebServices using Apache CXF.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.cxf")
-public class CxfComponentConfiguration {
-
- /**
- * This option controls whether the CXF component when running in PAYLOAD
- * mode will DOM parse the incoming messages into DOM Elements or keep the
- * payload as a javax.xml.transform.Source object that would allow streaming
- * in some cases.
- */
- private Boolean allowStreaming;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public Boolean getAllowStreaming() {
- return allowStreaming;
- }
-
- public void setAllowStreaming(Boolean allowStreaming) {
- this.allowStreaming = allowStreaming;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-cxf/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/resources/META-INF/spring.factories b/components/camel-cxf/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9ddb944..0000000
--- a/components/camel-cxf/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.cxf.springboot.CxfComponentAutoConfiguration,\
-org.apache.camel.component.cxf.jaxrs.springboot.CxfRsComponentAutoConfiguration
-
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
deleted file mode 100644
index 03c9496..0000000
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.disruptor.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.disruptor.DisruptorComponent;
-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(DisruptorComponentConfiguration.class)
-public class DisruptorComponentAutoConfiguration {
-
- @Bean(name = "disruptor-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DisruptorComponent.class)
- public DisruptorComponent configureDisruptorComponent(
- CamelContext camelContext,
- DisruptorComponentConfiguration configuration) throws Exception {
- DisruptorComponent component = new DisruptorComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
deleted file mode 100644
index 4e9e813..0000000
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.disruptor.springboot;
-
-import org.apache.camel.component.disruptor.DisruptorProducerType;
-import org.apache.camel.component.disruptor.DisruptorWaitStrategy;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.boot.context.properties.DeprecatedConfigurationProperty;
-
-/**
- * The disruptor component provides asynchronous SEDA behavior using LMAX
- * Disruptor.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.disruptor")
-public class DisruptorComponentConfiguration {
-
- /**
- * To configure the default number of concurrent consumers
- */
- private Integer defaultConcurrentConsumers;
- /**
- * To configure the default value for multiple consumers
- */
- private Boolean defaultMultipleConsumers;
- /**
- * To configure the default value for DisruptorProducerType The default
- * value is Multi.
- */
- private DisruptorProducerType defaultProducerType;
- /**
- * To configure the default value for DisruptorWaitStrategy The default
- * value is Blocking.
- */
- private DisruptorWaitStrategy defaultWaitStrategy;
- /**
- * To configure the default value for block when full The default value is
- * true.
- */
- private Boolean defaultBlockWhenFull;
- /**
- * To configure the ring buffer size
- */
- @Deprecated
- private Integer queueSize;
- /**
- * To configure the ring buffer size
- */
- private Integer bufferSize;
-
- public Integer getDefaultConcurrentConsumers() {
- return defaultConcurrentConsumers;
- }
-
- public void setDefaultConcurrentConsumers(Integer defaultConcurrentConsumers) {
- this.defaultConcurrentConsumers = defaultConcurrentConsumers;
- }
-
- public Boolean getDefaultMultipleConsumers() {
- return defaultMultipleConsumers;
- }
-
- public void setDefaultMultipleConsumers(Boolean defaultMultipleConsumers) {
- this.defaultMultipleConsumers = defaultMultipleConsumers;
- }
-
- public DisruptorProducerType getDefaultProducerType() {
- return defaultProducerType;
- }
-
- public void setDefaultProducerType(DisruptorProducerType defaultProducerType) {
- this.defaultProducerType = defaultProducerType;
- }
-
- public DisruptorWaitStrategy getDefaultWaitStrategy() {
- return defaultWaitStrategy;
- }
-
- public void setDefaultWaitStrategy(DisruptorWaitStrategy defaultWaitStrategy) {
- this.defaultWaitStrategy = defaultWaitStrategy;
- }
-
- public Boolean getDefaultBlockWhenFull() {
- return defaultBlockWhenFull;
- }
-
- public void setDefaultBlockWhenFull(Boolean defaultBlockWhenFull) {
- this.defaultBlockWhenFull = defaultBlockWhenFull;
- }
-
- @Deprecated
- @DeprecatedConfigurationProperty
- public Integer getQueueSize() {
- return queueSize;
- }
-
- @Deprecated
- public void setQueueSize(Integer queueSize) {
- this.queueSize = queueSize;
- }
-
- public Integer getBufferSize() {
- return bufferSize;
- }
-
- public void setBufferSize(Integer bufferSize) {
- this.bufferSize = bufferSize;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
deleted file mode 100644
index 44a630e..0000000
--- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.disruptor.vm.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.disruptor.vm.DisruptorVmComponent;
-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(DisruptorVmComponentConfiguration.class)
-public class DisruptorVmComponentAutoConfiguration {
-
- @Bean(name = "disruptor-vm-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(DisruptorVmComponent.class)
- public DisruptorVmComponent configureDisruptorVmComponent(
- CamelContext camelContext,
- DisruptorVmComponentConfiguration configuration) throws Exception {
- DisruptorVmComponent component = new DisruptorVmComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file