You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/06/08 09:33:53 UTC
[04/34] camel git commit: Revert "Experiment with generating
spring-boot auto configuration for the Camel components."
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-servlet/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/resources/META-INF/spring.factories b/components/camel-servlet/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 878459a..0000000
--- a/components/camel-servlet/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.servlet.springboot.ServletComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java b/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
deleted file mode 100644
index 29183ee..0000000
--- a/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sip.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sip.SipComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SipComponentConfiguration.class)
-public class SipComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SipComponent.class)
- public SipComponent configureComponent(CamelContext camelContext,
- SipComponentConfiguration configuration) throws Exception {
- SipComponent component = new SipComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentConfiguration.java b/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentConfiguration.java
deleted file mode 100644
index da2f0a1..0000000
--- a/components/camel-sip/src/main/java/org/apache/camel/component/sip/springboot/SipComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sip.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * To send and receive messages using the SIP protocol (used in telco and
- * mobile).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sips")
-public class SipComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sip/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sip/src/main/resources/META-INF/spring.factories b/components/camel-sip/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 375f7ad..0000000
--- a/components/camel-sip/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.sip.springboot.SipComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
deleted file mode 100644
index b90c08d..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.batch.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sjms.batch.SjmsBatchComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SjmsBatchComponentConfiguration.class)
-public class SjmsBatchComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SjmsBatchComponent.class)
- public SjmsBatchComponent configureComponent(CamelContext camelContext,
- SjmsBatchComponentConfiguration configuration) throws Exception {
- SjmsBatchComponent component = new SjmsBatchComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
deleted file mode 100644
index 2fc9821..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.batch.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.jms.ConnectionFactory;
-
-/**
- * The sjms-batch component is a specialized for highly performant transactional
- * batch consumption from a JMS queue.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sjms-batch")
-public class SjmsBatchComponentConfiguration {
-
- /**
- * A ConnectionFactory is required to enable the SjmsBatchComponent.
- */
- private ConnectionFactory connectionFactory;
-
- public ConnectionFactory getConnectionFactory() {
- return connectionFactory;
- }
-
- public void setConnectionFactory(ConnectionFactory connectionFactory) {
- this.connectionFactory = connectionFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
deleted file mode 100644
index ac6d50a..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sjms.SjmsComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SjmsComponentConfiguration.class)
-public class SjmsComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SjmsComponent.class)
- public SjmsComponent configureComponent(CamelContext camelContext,
- SjmsComponentConfiguration configuration) throws Exception {
- SjmsComponent component = new SjmsComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
deleted file mode 100644
index af45c48..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import javax.jms.ConnectionFactory;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.apache.camel.component.sjms.jms.ConnectionResource;
-import org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy;
-import org.apache.camel.component.sjms.TransactionCommitStrategy;
-import org.apache.camel.component.sjms.jms.DestinationCreationStrategy;
-import org.apache.camel.component.sjms.taskmanager.TimedTaskManager;
-import org.apache.camel.component.sjms.jms.MessageCreatedStrategy;
-
-/**
- * The sjms component (simple jms) allows messages to be sent to (or consumed
- * from) a JMS Queue or Topic.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sjms")
-public class SjmsComponentConfiguration {
-
- /**
- * A ConnectionFactory is required to enable the SjmsComponent. It can be
- * set directly or set set as part of a ConnectionResource.
- */
- private ConnectionFactory connectionFactory;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
- /**
- * A ConnectionResource is an interface that allows for customization and
- * container control of the ConnectionFactory. See Plugable Connection
- * Resource Management for further details.
- */
- private ConnectionResource connectionResource;
- /**
- * The maximum number of connections available to endpoints started under
- * this component
- */
- private Integer connectionCount;
- /**
- * Pluggable strategy for encoding and decoding JMS keys so they can be
- * compliant with the JMS specification. Camel provides one implementation
- * out of the box: default. The default strategy will safely marshal dots
- * and hyphens (. and -). Can be used for JMS brokers which do not care
- * whether JMS header keys contain illegal characters. You can provide your
- * own implementation of the
- * org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it using
- * the notation.
- */
- private JmsKeyFormatStrategy jmsKeyFormatStrategy;
- /**
- * To configure which kind of commit strategy to use. Camel provides two
- * implementations out of the box default and batch.
- */
- private TransactionCommitStrategy transactionCommitStrategy;
- /**
- * To use a custom DestinationCreationStrategy.
- */
- private DestinationCreationStrategy destinationCreationStrategy;
- /**
- * To use a custom TimedTaskManager
- */
- private TimedTaskManager timedTaskManager;
- /**
- * To use the given MessageCreatedStrategy which are invoked when Camel
- * creates new instances of javax.jms.Message objects when Camel is sending
- * a JMS message.
- */
- private MessageCreatedStrategy messageCreatedStrategy;
-
- public ConnectionFactory getConnectionFactory() {
- return connectionFactory;
- }
-
- public void setConnectionFactory(ConnectionFactory connectionFactory) {
- this.connectionFactory = connectionFactory;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-
- public ConnectionResource getConnectionResource() {
- return connectionResource;
- }
-
- public void setConnectionResource(ConnectionResource connectionResource) {
- this.connectionResource = connectionResource;
- }
-
- public Integer getConnectionCount() {
- return connectionCount;
- }
-
- public void setConnectionCount(Integer connectionCount) {
- this.connectionCount = connectionCount;
- }
-
- public JmsKeyFormatStrategy getJmsKeyFormatStrategy() {
- return jmsKeyFormatStrategy;
- }
-
- public void setJmsKeyFormatStrategy(
- JmsKeyFormatStrategy jmsKeyFormatStrategy) {
- this.jmsKeyFormatStrategy = jmsKeyFormatStrategy;
- }
-
- public TransactionCommitStrategy getTransactionCommitStrategy() {
- return transactionCommitStrategy;
- }
-
- public void setTransactionCommitStrategy(
- TransactionCommitStrategy transactionCommitStrategy) {
- this.transactionCommitStrategy = transactionCommitStrategy;
- }
-
- public DestinationCreationStrategy getDestinationCreationStrategy() {
- return destinationCreationStrategy;
- }
-
- public void setDestinationCreationStrategy(
- DestinationCreationStrategy destinationCreationStrategy) {
- this.destinationCreationStrategy = destinationCreationStrategy;
- }
-
- public TimedTaskManager getTimedTaskManager() {
- return timedTaskManager;
- }
-
- public void setTimedTaskManager(TimedTaskManager timedTaskManager) {
- this.timedTaskManager = timedTaskManager;
- }
-
- public MessageCreatedStrategy getMessageCreatedStrategy() {
- return messageCreatedStrategy;
- }
-
- public void setMessageCreatedStrategy(
- MessageCreatedStrategy messageCreatedStrategy) {
- this.messageCreatedStrategy = messageCreatedStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sjms/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/resources/META-INF/spring.factories b/components/camel-sjms/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index a65a16e..0000000
--- a/components/camel-sjms/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.sjms.batch.springboot.SjmsBatchComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
deleted file mode 100644
index 5a95d5a..0000000
--- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.slack.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.slack.SlackComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SlackComponentConfiguration.class)
-public class SlackComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SlackComponent.class)
- public SlackComponent configureComponent(CamelContext camelContext,
- SlackComponentConfiguration configuration) throws Exception {
- SlackComponent component = new SlackComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
deleted file mode 100644
index 59ceb03..0000000
--- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentConfiguration.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.slack.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The slack component allows you to send messages to Slack.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.slack")
-public class SlackComponentConfiguration {
-
- /**
- * The incoming webhook URL
- */
- private String webhookUrl;
-
- public String getWebhookUrl() {
- return webhookUrl;
- }
-
- public void setWebhookUrl(String webhookUrl) {
- this.webhookUrl = webhookUrl;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-slack/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/resources/META-INF/spring.factories b/components/camel-slack/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 3be2452..0000000
--- a/components/camel-slack/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.slack.springboot.SlackComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
deleted file mode 100644
index 79890c3..0000000
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.smpp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.smpp.SmppComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SmppComponentConfiguration.class)
-public class SmppComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SmppComponent.class)
- public SmppComponent configureComponent(CamelContext camelContext,
- SmppComponentConfiguration configuration) throws Exception {
- SmppComponent component = new SmppComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
deleted file mode 100644
index 5042b30..0000000
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/springboot/SmppComponentConfiguration.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.smpp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.smpp.SmppConfiguration;
-
-/**
- * To send and receive SMS using a SMSC (Short Message Service Center).
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.smpps")
-public class SmppComponentConfiguration {
-
- /**
- * To use the shared SmppConfiguration as configuration.
- */
- private SmppConfiguration configuration;
-
- public SmppConfiguration getConfiguration() {
- return configuration;
- }
-
- public void setConfiguration(SmppConfiguration configuration) {
- this.configuration = configuration;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-smpp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/resources/META-INF/spring.factories b/components/camel-smpp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index e3c2d51..0000000
--- a/components/camel-smpp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.smpp.springboot.SmppComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java b/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
deleted file mode 100644
index 40068ed..0000000
--- a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.snmp.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.snmp.SnmpComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SnmpComponentConfiguration.class)
-public class SnmpComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SnmpComponent.class)
- public SnmpComponent configureComponent(CamelContext camelContext,
- SnmpComponentConfiguration configuration) throws Exception {
- SnmpComponent component = new SnmpComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentConfiguration.java b/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentConfiguration.java
deleted file mode 100644
index 54be1eb..0000000
--- a/components/camel-snmp/src/main/java/org/apache/camel/component/snmp/springboot/SnmpComponentConfiguration.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.snmp.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The snmp component gives you the ability to poll SNMP capable devices or
- * receiving traps.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.snmp")
-public class SnmpComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-snmp/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-snmp/src/main/resources/META-INF/spring.factories b/components/camel-snmp/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6225a47..0000000
--- a/components/camel-snmp/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.snmp.springboot.SnmpComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java b/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
deleted file mode 100644
index fde814a..0000000
--- a/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.solr.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.solr.SolrComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SolrComponentConfiguration.class)
-public class SolrComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SolrComponent.class)
- public SolrComponent configureComponent(CamelContext camelContext,
- SolrComponentConfiguration configuration) throws Exception {
- SolrComponent component = new SolrComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java b/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java
deleted file mode 100644
index 1a3b6a1..0000000
--- a/components/camel-solr/src/main/java/org/apache/camel/component/solr/springboot/SolrComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.solr.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The solr component allows you to interface with an Apache Lucene Solr server.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.solrs")
-public class SolrComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-solr/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-solr/src/main/resources/META-INF/spring.factories b/components/camel-solr/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 6b4fc9c..0000000
--- a/components/camel-solr/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.solr.springboot.SolrComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
deleted file mode 100644
index a97c7ff..0000000
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sparkrest.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.sparkrest.SparkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SparkComponentConfiguration.class)
-public class SparkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SparkComponent.class)
- public SparkComponent configureComponent(CamelContext camelContext,
- SparkComponentConfiguration configuration) throws Exception {
- SparkComponent component = new SparkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
deleted file mode 100644
index b7ce2ca..0000000
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sparkrest.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.sparkrest.SparkConfiguration;
-import org.apache.camel.component.sparkrest.SparkBinding;
-
-/**
- * The spark-rest component is used for hosting REST services which has been
- * defined using Camel rest-dsl.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spark-rest")
-public class SparkComponentConfiguration {
-
- /**
- * Port number. Will by default use 4567
- */
- private int port;
- /**
- * Set the IP address that Spark should listen on. If not called the default
- * address is '0.0.0.0'.
- */
- private String ipAddress;
- /**
- * Minimum number of threads in Spark thread-pool (shared globally)
- */
- private int minThreads;
- /**
- * Maximum number of threads in Spark thread-pool (shared globally)
- */
- private int maxThreads;
- /**
- * Thread idle timeout in millis where threads that has been idle for a
- * longer period will be terminated from the thread pool
- */
- private int timeOutMillis;
- /**
- * Configures connection to be secure to use the keystore file
- */
- private String keystoreFile;
- /**
- * Configures connection to be secure to use the keystore password
- */
- private String keystorePassword;
- /**
- * Configures connection to be secure to use the truststore file
- */
- private String truststoreFile;
- /**
- * Configures connection to be secure to use the truststore password
- */
- private String truststorePassword;
- /**
- * To use the shared SparkConfiguration
- */
- private SparkConfiguration sparkConfiguration;
- /**
- * To use a custom SparkBinding to map to/from Camel message.
- */
- private SparkBinding sparkBinding;
-
- public int getPort() {
- return port;
- }
-
- public void setPort(int port) {
- this.port = port;
- }
-
- public String getIpAddress() {
- return ipAddress;
- }
-
- public void setIpAddress(String ipAddress) {
- this.ipAddress = ipAddress;
- }
-
- public int getMinThreads() {
- return minThreads;
- }
-
- public void setMinThreads(int minThreads) {
- this.minThreads = minThreads;
- }
-
- public int getMaxThreads() {
- return maxThreads;
- }
-
- public void setMaxThreads(int maxThreads) {
- this.maxThreads = maxThreads;
- }
-
- public int getTimeOutMillis() {
- return timeOutMillis;
- }
-
- public void setTimeOutMillis(int timeOutMillis) {
- this.timeOutMillis = timeOutMillis;
- }
-
- public String getKeystoreFile() {
- return keystoreFile;
- }
-
- public void setKeystoreFile(String keystoreFile) {
- this.keystoreFile = keystoreFile;
- }
-
- public String getKeystorePassword() {
- return keystorePassword;
- }
-
- public void setKeystorePassword(String keystorePassword) {
- this.keystorePassword = keystorePassword;
- }
-
- public String getTruststoreFile() {
- return truststoreFile;
- }
-
- public void setTruststoreFile(String truststoreFile) {
- this.truststoreFile = truststoreFile;
- }
-
- public String getTruststorePassword() {
- return truststorePassword;
- }
-
- public void setTruststorePassword(String truststorePassword) {
- this.truststorePassword = truststorePassword;
- }
-
- public SparkConfiguration getSparkConfiguration() {
- return sparkConfiguration;
- }
-
- public void setSparkConfiguration(SparkConfiguration sparkConfiguration) {
- this.sparkConfiguration = sparkConfiguration;
- }
-
- public SparkBinding getSparkBinding() {
- return sparkBinding;
- }
-
- public void setSparkBinding(SparkBinding sparkBinding) {
- this.sparkBinding = sparkBinding;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/resources/META-INF/spring.factories b/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9f7f38a..0000000
--- a/components/camel-spark-rest/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.sparkrest.springboot.SparkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
deleted file mode 100644
index 6caa96d..0000000
--- a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spark.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.spark.SparkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SparkComponentConfiguration.class)
-public class SparkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SparkComponent.class)
- public SparkComponent configureComponent(CamelContext camelContext,
- SparkComponentConfiguration configuration) throws Exception {
- SparkComponent component = new SparkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java b/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
deleted file mode 100644
index 388ae57..0000000
--- a/components/camel-spark/src/main/java/org/apache/camel/component/spark/springboot/SparkComponentConfiguration.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spark.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.spark.api.java.JavaRDDLike;
-import org.apache.camel.component.spark.RddCallback;
-
-/**
- * The spark component can be used to send RDD or DataFrame jobs to Apache Spark
- * cluster.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spark")
-public class SparkComponentConfiguration {
-
- /**
- * RDD to compute against.
- */
- private JavaRDDLike rdd;
- /**
- * Function performing action against an RDD.
- */
- private RddCallback rddCallback;
-
- public JavaRDDLike getRdd() {
- return rdd;
- }
-
- public void setRdd(JavaRDDLike rdd) {
- this.rdd = rdd;
- }
-
- public RddCallback getRddCallback() {
- return rddCallback;
- }
-
- public void setRddCallback(RddCallback rddCallback) {
- this.rddCallback = rddCallback;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spark/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/resources/META-INF/spring.factories b/components/camel-spark/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 744a7bf..0000000
--- a/components/camel-spark/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.spark.springboot.SparkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
deleted file mode 100644
index d3c1935..0000000
--- a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.splunk.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.splunk.SplunkComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SplunkComponentConfiguration.class)
-public class SplunkComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SplunkComponent.class)
- public SplunkComponent configureComponent(CamelContext camelContext,
- SplunkComponentConfiguration configuration) throws Exception {
- SplunkComponent component = new SplunkComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java b/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
deleted file mode 100644
index dc660f9..0000000
--- a/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/springboot/SplunkComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.splunk.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.apache.camel.component.splunk.SplunkConfigurationFactory;
-
-/**
- * The splunk component allows to publish or search for events in Splunk.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.splunk")
-public class SplunkComponentConfiguration {
-
- /**
- * To use the SplunkConfigurationFactory
- */
- private SplunkConfigurationFactory splunkConfigurationFactory;
-
- public SplunkConfigurationFactory getSplunkConfigurationFactory() {
- return splunkConfigurationFactory;
- }
-
- public void setSplunkConfigurationFactory(
- SplunkConfigurationFactory splunkConfigurationFactory) {
- this.splunkConfigurationFactory = splunkConfigurationFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-splunk/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-splunk/src/main/resources/META-INF/spring.factories b/components/camel-splunk/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index f508243..0000000
--- a/components/camel-splunk/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.splunk.springboot.SplunkComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
deleted file mode 100644
index 9ade577..0000000
--- a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentAutoConfiguration.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.batch.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.spring.batch.SpringBatchComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SpringBatchComponentConfiguration.class)
-public class SpringBatchComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SpringBatchComponent.class)
- public SpringBatchComponent configureComponent(CamelContext camelContext,
- SpringBatchComponentConfiguration configuration) throws Exception {
- SpringBatchComponent component = new SpringBatchComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
deleted file mode 100644
index 25e8916..0000000
--- a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/springboot/SpringBatchComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.batch.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.batch.core.launch.JobLauncher;
-
-/**
- * The spring-batch component allows to send messages to Spring Batch for
- * further processing.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spring-batch")
-public class SpringBatchComponentConfiguration {
-
- /**
- * Explicitly specifies a JobLauncher to be used.
- */
- private JobLauncher jobLauncher;
-
- public JobLauncher getJobLauncher() {
- return jobLauncher;
- }
-
- public void setJobLauncher(JobLauncher jobLauncher) {
- this.jobLauncher = jobLauncher;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/resources/META-INF/spring.factories b/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index e3c5109..0000000
--- a/components/camel-spring-batch/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.spring.batch.springboot.SpringBatchComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java b/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
deleted file mode 100644
index feba5ba..0000000
--- a/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentAutoConfiguration.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.integration.springboot;
-
-import org.springframework.context.annotation.Configuration;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.component.spring.integration.SpringIntegrationComponent;
-import org.apache.camel.CamelContext;
-import org.apache.camel.util.IntrospectionSupport;
-import org.springframework.context.annotation.Bean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-
-/**
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Configuration
-@EnableConfigurationProperties(SpringIntegrationComponentConfiguration.class)
-public class SpringIntegrationComponentAutoConfiguration {
-
- @Bean
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SpringIntegrationComponent.class)
- public SpringIntegrationComponent configureComponent(
- CamelContext camelContext,
- SpringIntegrationComponentConfiguration configuration)
- throws Exception {
- SpringIntegrationComponent component = new SpringIntegrationComponent();
- component.setCamelContext(camelContext);
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), component, parameters);
- return component;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentConfiguration.java b/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentConfiguration.java
deleted file mode 100644
index dde592d..0000000
--- a/components/camel-spring-integration/src/main/java/org/apache/camel/component/spring/integration/springboot/SpringIntegrationComponentConfiguration.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.spring.integration.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Bridges Camel with Spring Integration.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.spring-integration")
-public class SpringIntegrationComponentConfiguration {
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-integration/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-spring-integration/src/main/resources/META-INF/spring.factories b/components/camel-spring-integration/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 4d8b206..0000000
--- a/components/camel-spring-integration/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.spring.integration.springboot.SpringIntegrationComponentAutoConfiguration