http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java b/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java deleted file mode 100644 index 09c0b42..0000000 --- a/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.springldap.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.springldap.SpringLdapComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SpringLdapComponentConfiguration.class) -public class SpringLdapComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SpringLdapComponent.class) - public SpringLdapComponent configureComponent(CamelContext camelContext, - SpringLdapComponentConfiguration configuration) throws Exception { - SpringLdapComponent component = new SpringLdapComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentConfiguration.java b/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentConfiguration.java deleted file mode 100644 index 04cfc30..0000000 --- a/components/camel-spring-ldap/src/main/java/org/apache/camel/component/springldap/springboot/SpringLdapComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.springldap.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The spring-ldap component allows you to perform searches in LDAP servers - * using filters as the message payload. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.spring-ldap") -public class SpringLdapComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ldap/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-spring-ldap/src/main/resources/META-INF/spring.factories b/components/camel-spring-ldap/src/main/resources/META-INF/spring.factories deleted file mode 100644 index da3ea68..0000000 --- a/components/camel-spring-ldap/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.springldap.springboot.SpringLdapComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java deleted file mode 100644 index 0cf0088..0000000 --- a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.redis.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.redis.RedisComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(RedisComponentConfiguration.class) -public class RedisComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(RedisComponent.class) - public RedisComponent configureComponent(CamelContext camelContext, - RedisComponentConfiguration configuration) throws Exception { - RedisComponent component = new RedisComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentConfiguration.java b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentConfiguration.java deleted file mode 100644 index 411dc4c..0000000 --- a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/springboot/RedisComponentConfiguration.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.redis.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The spring-redis component allows sending and receiving messages from Redis. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.spring-redis") -public class RedisComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-redis/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-spring-redis/src/main/resources/META-INF/spring.factories b/components/camel-spring-redis/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 155e9db..0000000 --- a/components/camel-spring-redis/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.redis.springboot.RedisComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java deleted file mode 100644 index a382cf0..0000000 --- a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentAutoConfiguration.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.spring.ws.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.spring.ws.SpringWebserviceComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SpringWebserviceComponentConfiguration.class) -public class SpringWebserviceComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SpringWebserviceComponent.class) - public SpringWebserviceComponent configureComponent( - CamelContext camelContext, - SpringWebserviceComponentConfiguration configuration) - throws Exception { - SpringWebserviceComponent component = new SpringWebserviceComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentConfiguration.java b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentConfiguration.java deleted file mode 100644 index dba550b..0000000 --- a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/springboot/SpringWebserviceComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.spring.ws.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The spring-ws component is used for SOAP WebServices using Spring - * WebServices. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.spring-ws") -public class SpringWebserviceComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring-ws/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-spring-ws/src/main/resources/META-INF/spring.factories b/components/camel-spring-ws/src/main/resources/META-INF/spring.factories deleted file mode 100644 index cf4fe19..0000000 --- a/components/camel-spring-ws/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.spring.ws.springboot.SpringWebserviceComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java deleted file mode 100644 index a017d5a..0000000 --- a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.event.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.event.EventComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(EventComponentConfiguration.class) -public class EventComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(EventComponent.class) - public EventComponent configureComponent(CamelContext camelContext, - EventComponentConfiguration configuration) throws Exception { - EventComponent component = new EventComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java b/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java deleted file mode 100644 index a2cc856..0000000 --- a/components/camel-spring/src/main/java/org/apache/camel/component/event/springboot/EventComponentConfiguration.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.event.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.context.ApplicationContext; - -/** - * The spring-event component allows to listen for Spring Application Events. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.spring-event") -public class EventComponentConfiguration { - - /** - * The Spring ApplicationContext - */ - private ApplicationContext applicationContext; - - public ApplicationContext getApplicationContext() { - return applicationContext; - } - - public void setApplicationContext(ApplicationContext applicationContext) { - this.applicationContext = applicationContext; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-spring/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-spring/src/main/resources/META-INF/spring.factories b/components/camel-spring/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 3b58cd1..0000000 --- a/components/camel-spring/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.event.springboot.EventComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java deleted file mode 100644 index 09ef1dd..0000000 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.sql.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.sql.SqlComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SqlComponentConfiguration.class) -public class SqlComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SqlComponent.class) - public SqlComponent configureComponent(CamelContext camelContext, - SqlComponentConfiguration configuration) throws Exception { - SqlComponent component = new SqlComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java deleted file mode 100644 index f127ffe..0000000 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/springboot/SqlComponentConfiguration.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.sql.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import javax.sql.DataSource; - -/** - * The sql component can be used to perform SQL query to a database. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.sql") -public class SqlComponentConfiguration { - - /** - * Sets the DataSource to use to communicate with the database. - */ - private DataSource dataSource; - /** - * Sets whether to use placeholder and replace all placeholder characters - * with sign in the SQL queries. This option is default true - */ - private boolean usePlaceholder; - - public DataSource getDataSource() { - return dataSource; - } - - public void setDataSource(DataSource dataSource) { - this.dataSource = dataSource; - } - - public boolean isUsePlaceholder() { - return usePlaceholder; - } - - public void setUsePlaceholder(boolean usePlaceholder) { - this.usePlaceholder = usePlaceholder; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java deleted file mode 100644 index 3bd59f3..0000000 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.sql.stored.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.sql.stored.SqlStoredComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SqlStoredComponentConfiguration.class) -public class SqlStoredComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SqlStoredComponent.class) - public SqlStoredComponent configureComponent(CamelContext camelContext, - SqlStoredComponentConfiguration configuration) throws Exception { - SqlStoredComponent component = new SqlStoredComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java deleted file mode 100644 index 470569f..0000000 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/springboot/SqlStoredComponentConfiguration.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.sql.stored.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import javax.sql.DataSource; - -/** - * Camel SQL support - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.sql-stored") -public class SqlStoredComponentConfiguration { - - /** - * Sets the DataSource to use to communicate with the database. - */ - private DataSource dataSource; - - public DataSource getDataSource() { - return dataSource; - } - - public void setDataSource(DataSource dataSource) { - this.dataSource = dataSource; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-sql/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-sql/src/main/resources/META-INF/spring.factories b/components/camel-sql/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 881053b..0000000 --- a/components/camel-sql/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.sql.stored.springboot.SqlStoredComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java deleted file mode 100644 index 3f16c47..0000000 --- a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.ssh.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.ssh.SshComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SshComponentConfiguration.class) -public class SshComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SshComponent.class) - public SshComponent configureComponent(CamelContext camelContext, - SshComponentConfiguration configuration) throws Exception { - SshComponent component = new SshComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java deleted file mode 100644 index 4afa893..0000000 --- a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/springboot/SshComponentConfiguration.java +++ /dev/null @@ -1,175 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.ssh.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.component.ssh.SshConfiguration; -import org.apache.sshd.common.KeyPairProvider; - -/** - * The ssh component enables access to SSH servers such that you can send an SSH - * command and process the response. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.ssh") -public class SshComponentConfiguration { - - /** - * To use the shared SSH configuration - */ - private SshConfiguration configuration; - /** - * Sets the hostname of the remote SSH server. - */ - private String host; - /** - * Sets the port number for the remote SSH server. - */ - private int port; - /** - * Sets the username to use in logging into the remote SSH server. - */ - private String username; - /** - * Sets the password to use in connecting to remote SSH server. Requires - * keyPairProvider to be set to null. - */ - private String password; - /** - * Sets the command string to send to the remote SSH server during every - * poll cycle. Only works with camel-ssh component being used as a consumer - * i.e. from(ssh://...). You may need to end your command with a newline and - * that must be URL encoded 0A - */ - private String pollCommand; - /** - * Sets the KeyPairProvider reference to use when connecting using - * Certificates to the remote SSH Server. - */ - private KeyPairProvider keyPairProvider; - /** - * Sets the key type to pass to the KeyPairProvider as part of - * authentication. KeyPairProvider.loadKey(...) will be passed this value. - * Defaults to ssh-rsa. - */ - private String keyType; - /** - * Sets the timeout in milliseconds to wait in establishing the remote SSH - * server connection. Defaults to 30000 milliseconds. - */ - private long timeout; - /** - * Sets the resource path of the certificate to use for Authentication. - */ - @Deprecated - private String certFilename; - /** - * Sets the resource path of the certificate to use for Authentication. Will - * use ResourceHelperKeyPairProvider to resolve file based certificate and - * depends on keyType setting. - */ - private String certResource; - - public SshConfiguration getConfiguration() { - return configuration; - } - - public void setConfiguration(SshConfiguration configuration) { - this.configuration = configuration; - } - - public String getHost() { - return host; - } - - public void setHost(String host) { - this.host = host; - } - - public int getPort() { - return port; - } - - public void setPort(int port) { - this.port = port; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getPollCommand() { - return pollCommand; - } - - public void setPollCommand(String pollCommand) { - this.pollCommand = pollCommand; - } - - public KeyPairProvider getKeyPairProvider() { - return keyPairProvider; - } - - public void setKeyPairProvider(KeyPairProvider keyPairProvider) { - this.keyPairProvider = keyPairProvider; - } - - public String getKeyType() { - return keyType; - } - - public void setKeyType(String keyType) { - this.keyType = keyType; - } - - public long getTimeout() { - return timeout; - } - - public void setTimeout(long timeout) { - this.timeout = timeout; - } - - public String getCertFilename() { - return certFilename; - } - - public void setCertFilename(String certFilename) { - this.certFilename = certFilename; - } - - public String getCertResource() { - return certResource; - } - - public void setCertResource(String certResource) { - this.certResource = certResource; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-ssh/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-ssh/src/main/resources/META-INF/spring.factories b/components/camel-ssh/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 67aa6d0..0000000 --- a/components/camel-ssh/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.ssh.springboot.SshComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java b/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java deleted file mode 100644 index 22e866b..0000000 --- a/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.stax.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.stax.StAXComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(StAXComponentConfiguration.class) -public class StAXComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(StAXComponent.class) - public StAXComponent configureComponent(CamelContext camelContext, - StAXComponentConfiguration configuration) throws Exception { - StAXComponent component = new StAXComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentConfiguration.java b/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentConfiguration.java deleted file mode 100644 index 2728c49..0000000 --- a/components/camel-stax/src/main/java/org/apache/camel/component/stax/springboot/StAXComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.stax.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The stax component allows messages to be process through a SAX - * ContentHandler. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.stax") -public class StAXComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stax/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-stax/src/main/resources/META-INF/spring.factories b/components/camel-stax/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 0e55e4f..0000000 --- a/components/camel-stax/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.stax.springboot.StAXComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java deleted file mode 100644 index 5f242d7..0000000 --- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.stomp.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.stomp.StompComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(StompComponentConfiguration.class) -public class StompComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(StompComponent.class) - public StompComponent configureComponent(CamelContext camelContext, - StompComponentConfiguration configuration) throws Exception { - StompComponent component = new StompComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java deleted file mode 100644 index 84e77c5..0000000 --- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/springboot/StompComponentConfiguration.java +++ /dev/null @@ -1,91 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.stomp.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.component.stomp.StompConfiguration; - -/** - * The stomp component is used for communicating with Stomp compliant message - * brokers. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.stomp") -public class StompComponentConfiguration { - - /** - * To use the shared stomp configuration - */ - private StompConfiguration configuration; - /** - * The URI of the Stomp broker to connect to - */ - private String brokerURL; - /** - * The username - */ - private String login; - /** - * The password - */ - private String passcode; - /** - * The virtual host - */ - private String host; - - public StompConfiguration getConfiguration() { - return configuration; - } - - public void setConfiguration(StompConfiguration configuration) { - this.configuration = configuration; - } - - public String getBrokerURL() { - return brokerURL; - } - - public void setBrokerURL(String brokerURL) { - this.brokerURL = brokerURL; - } - - public String getLogin() { - return login; - } - - public void setLogin(String login) { - this.login = login; - } - - public String getPasscode() { - return passcode; - } - - public void setPasscode(String passcode) { - this.passcode = passcode; - } - - public String getHost() { - return host; - } - - public void setHost(String host) { - this.host = host; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stomp/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-stomp/src/main/resources/META-INF/spring.factories b/components/camel-stomp/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 1f38a87..0000000 --- a/components/camel-stomp/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.stomp.springboot.StompComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java b/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java deleted file mode 100644 index 77f1df8..0000000 --- a/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.stream.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.stream.StreamComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(StreamComponentConfiguration.class) -public class StreamComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(StreamComponent.class) - public StreamComponent configureComponent(CamelContext camelContext, - StreamComponentConfiguration configuration) throws Exception { - StreamComponent component = new StreamComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentConfiguration.java b/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentConfiguration.java deleted file mode 100644 index e04c091..0000000 --- a/components/camel-stream/src/main/java/org/apache/camel/component/stream/springboot/StreamComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.stream.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The stream: component provides access to the system-in system-out and - * system-err streams as well as allowing streaming of file and URL. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.stream") -public class StreamComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-stream/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-stream/src/main/resources/META-INF/spring.factories b/components/camel-stream/src/main/resources/META-INF/spring.factories deleted file mode 100644 index ebc6117..0000000 --- a/components/camel-stream/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.stream.springboot.StreamComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java b/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java deleted file mode 100644 index 9cb7627..0000000 --- a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.telegram.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.telegram.TelegramComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(TelegramComponentConfiguration.class) -public class TelegramComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(TelegramComponent.class) - public TelegramComponent configureComponent(CamelContext camelContext, - TelegramComponentConfiguration configuration) throws Exception { - TelegramComponent component = new TelegramComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentConfiguration.java b/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentConfiguration.java deleted file mode 100644 index 7163305..0000000 --- a/components/camel-telegram/src/main/java/org/apache/camel/component/telegram/springboot/TelegramComponentConfiguration.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.telegram.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The Camel endpoint for a telegram bot. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.telegram") -public class TelegramComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-telegram/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-telegram/src/main/resources/META-INF/spring.factories b/components/camel-telegram/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 7e794e6..0000000 --- a/components/camel-telegram/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.telegram.springboot.TelegramComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java deleted file mode 100644 index e854561..0000000 --- a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.twitter.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.twitter.TwitterComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(TwitterComponentConfiguration.class) -public class TwitterComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(TwitterComponent.class) - public TwitterComponent configureComponent(CamelContext camelContext, - TwitterComponentConfiguration configuration) throws Exception { - TwitterComponent component = new TwitterComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java deleted file mode 100644 index 8ce5105..0000000 --- a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java +++ /dev/null @@ -1,126 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.twitter.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * This component integrates with Twitter to send tweets or search for tweets - * and more. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.twitter") -public class TwitterComponentConfiguration { - - /** - * The access token - */ - private String accessToken; - /** - * The access token secret - */ - private String accessTokenSecret; - /** - * The consumer key - */ - private String consumerKey; - /** - * The consumer secret - */ - private String consumerSecret; - /** - * The http proxy host which can be used for the camel-twitter. - */ - private String httpProxyHost; - /** - * The http proxy user which can be used for the camel-twitter. - */ - private String httpProxyUser; - /** - * The http proxy password which can be used for the camel-twitter. - */ - private String httpProxyPassword; - /** - * The http proxy port which can be used for the camel-twitter. - */ - private int httpProxyPort; - - public String getAccessToken() { - return accessToken; - } - - public void setAccessToken(String accessToken) { - this.accessToken = accessToken; - } - - public String getAccessTokenSecret() { - return accessTokenSecret; - } - - public void setAccessTokenSecret(String accessTokenSecret) { - this.accessTokenSecret = accessTokenSecret; - } - - public String getConsumerKey() { - return consumerKey; - } - - public void setConsumerKey(String consumerKey) { - this.consumerKey = consumerKey; - } - - public String getConsumerSecret() { - return consumerSecret; - } - - public void setConsumerSecret(String consumerSecret) { - this.consumerSecret = consumerSecret; - } - - public String getHttpProxyHost() { - return httpProxyHost; - } - - public void setHttpProxyHost(String httpProxyHost) { - this.httpProxyHost = httpProxyHost; - } - - public String getHttpProxyUser() { - return httpProxyUser; - } - - public void setHttpProxyUser(String httpProxyUser) { - this.httpProxyUser = httpProxyUser; - } - - public String getHttpProxyPassword() { - return httpProxyPassword; - } - - public void setHttpProxyPassword(String httpProxyPassword) { - this.httpProxyPassword = httpProxyPassword; - } - - public int getHttpProxyPort() { - return httpProxyPort; - } - - public void setHttpProxyPort(int httpProxyPort) { - this.httpProxyPort = httpProxyPort; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-twitter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-twitter/src/main/resources/META-INF/spring.factories b/components/camel-twitter/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 8694c3b..0000000 --- a/components/camel-twitter/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.twitter.springboot.TwitterComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java deleted file mode 100644 index ea53436..0000000 --- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/springboot/UndertowComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.undertow.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.undertow.UndertowComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(UndertowComponentConfiguration.class) -public class UndertowComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(UndertowComponent.class) - public UndertowComponent configureComponent(CamelContext camelContext, - UndertowComponentConfiguration configuration) throws Exception { - UndertowComponent component = new UndertowComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file