http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java deleted file mode 100644 index 986acc9..0000000 --- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentConfiguration.java +++ /dev/null @@ -1,124 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.disruptor.vm.springboot; - -import org.apache.camel.component.disruptor.DisruptorProducerType; -import org.apache.camel.component.disruptor.DisruptorWaitStrategy; -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.DeprecatedConfigurationProperty; - -/** - * The disruptor component provides asynchronous SEDA behavior using LMAX - * Disruptor. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.disruptor-vm") -public class DisruptorVmComponentConfiguration { - - /** - * To configure the default number of concurrent consumers - */ - private Integer defaultConcurrentConsumers; - /** - * To configure the default value for multiple consumers - */ - private Boolean defaultMultipleConsumers; - /** - * To configure the default value for DisruptorProducerType The default - * value is Multi. - */ - private DisruptorProducerType defaultProducerType; - /** - * To configure the default value for DisruptorWaitStrategy The default - * value is Blocking. - */ - private DisruptorWaitStrategy defaultWaitStrategy; - /** - * To configure the default value for block when full The default value is - * true. - */ - private Boolean defaultBlockWhenFull; - /** - * To configure the ring buffer size - */ - @Deprecated - private Integer queueSize; - /** - * To configure the ring buffer size - */ - private Integer bufferSize; - - public Integer getDefaultConcurrentConsumers() { - return defaultConcurrentConsumers; - } - - public void setDefaultConcurrentConsumers(Integer defaultConcurrentConsumers) { - this.defaultConcurrentConsumers = defaultConcurrentConsumers; - } - - public Boolean getDefaultMultipleConsumers() { - return defaultMultipleConsumers; - } - - public void setDefaultMultipleConsumers(Boolean defaultMultipleConsumers) { - this.defaultMultipleConsumers = defaultMultipleConsumers; - } - - public DisruptorProducerType getDefaultProducerType() { - return defaultProducerType; - } - - public void setDefaultProducerType(DisruptorProducerType defaultProducerType) { - this.defaultProducerType = defaultProducerType; - } - - public DisruptorWaitStrategy getDefaultWaitStrategy() { - return defaultWaitStrategy; - } - - public void setDefaultWaitStrategy(DisruptorWaitStrategy defaultWaitStrategy) { - this.defaultWaitStrategy = defaultWaitStrategy; - } - - public Boolean getDefaultBlockWhenFull() { - return defaultBlockWhenFull; - } - - public void setDefaultBlockWhenFull(Boolean defaultBlockWhenFull) { - this.defaultBlockWhenFull = defaultBlockWhenFull; - } - - @Deprecated - @DeprecatedConfigurationProperty - public Integer getQueueSize() { - return queueSize; - } - - @Deprecated - public void setQueueSize(Integer queueSize) { - this.queueSize = queueSize; - } - - public Integer getBufferSize() { - return bufferSize; - } - - public void setBufferSize(Integer bufferSize) { - this.bufferSize = bufferSize; - } -} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-disruptor/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-disruptor/src/main/resources/META-INF/spring.factories b/components/camel-disruptor/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 7ab3ca3..0000000 --- a/components/camel-disruptor/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,21 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.disruptor.springboot.DisruptorComponentAutoConfiguration,\ -org.apache.camel.component.disruptor.vm.springboot.DisruptorVmComponentAutoConfiguration - http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java deleted file mode 100644 index e38632b..0000000 --- a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentAutoConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.docker.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.docker.DockerComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(DockerComponentConfiguration.class) -public class DockerComponentAutoConfiguration { - - @Bean(name = "docker-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(DockerComponent.class) - public DockerComponent configureDockerComponent(CamelContext camelContext, - DockerComponentConfiguration configuration) throws Exception { - DockerComponent component = new DockerComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java b/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java deleted file mode 100644 index 8bd7748..0000000 --- a/components/camel-docker/src/main/java/org/apache/camel/component/docker/springboot/DockerComponentConfiguration.java +++ /dev/null @@ -1,225 +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.docker.springboot; - -import java.util.Map; -import org.apache.camel.component.docker.DockerConfiguration; -import org.apache.camel.component.docker.DockerOperation; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The docker component is used for managing Docker containers. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.docker") -public class DockerComponentConfiguration { - - /** - * To use the shared docker configuration. Properties of the shared - * configuration can also be set individually. - */ - private DockerConfiguration configuration; - /** - * Docker host - */ - private String host; - /** - * Docker port - */ - private Integer port; - /** - * User name to authenticate with - */ - private String username; - /** - * Password to authenticate with - */ - private String password; - /** - * Email address associated with the user - */ - private String email; - /** - * Server address for docker registry. - */ - private String serverAddress; - /** - * Request timeout for response (in seconds) - */ - private Integer requestTimeout; - /** - * Use HTTPS communication - */ - private Boolean secure; - /** - * Location containing the SSL certificate chain - */ - private String certPath; - /** - * Maximum total connections - */ - private Integer maxTotalConnections; - /** - * Maximum route connections - */ - private Integer maxPerRouteConnections; - /** - * Whether to use logging filter - */ - private Boolean loggingFilter; - /** - * Whether to follow redirect filter - */ - private Boolean followRedirectFilter; - /** - * Additional configuration parameters as key/value pairs - */ - private Map<String, Object> parameters; - /** - * Which operation to use - */ - private DockerOperation operation; - - public DockerConfiguration getConfiguration() { - return configuration; - } - - public void setConfiguration(DockerConfiguration configuration) { - this.configuration = configuration; - } - - public String getHost() { - return host; - } - - public void setHost(String host) { - this.host = host; - } - - public Integer getPort() { - return port; - } - - public void setPort(Integer 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 getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getServerAddress() { - return serverAddress; - } - - public void setServerAddress(String serverAddress) { - this.serverAddress = serverAddress; - } - - public Integer getRequestTimeout() { - return requestTimeout; - } - - public void setRequestTimeout(Integer requestTimeout) { - this.requestTimeout = requestTimeout; - } - - public Boolean getSecure() { - return secure; - } - - public void setSecure(Boolean secure) { - this.secure = secure; - } - - public String getCertPath() { - return certPath; - } - - public void setCertPath(String certPath) { - this.certPath = certPath; - } - - public Integer getMaxTotalConnections() { - return maxTotalConnections; - } - - public void setMaxTotalConnections(Integer maxTotalConnections) { - this.maxTotalConnections = maxTotalConnections; - } - - public Integer getMaxPerRouteConnections() { - return maxPerRouteConnections; - } - - public void setMaxPerRouteConnections(Integer maxPerRouteConnections) { - this.maxPerRouteConnections = maxPerRouteConnections; - } - - public Boolean getLoggingFilter() { - return loggingFilter; - } - - public void setLoggingFilter(Boolean loggingFilter) { - this.loggingFilter = loggingFilter; - } - - public Boolean getFollowRedirectFilter() { - return followRedirectFilter; - } - - public void setFollowRedirectFilter(Boolean followRedirectFilter) { - this.followRedirectFilter = followRedirectFilter; - } - - public Map<String, Object> getParameters() { - return parameters; - } - - public void setParameters(Map<String, Object> parameters) { - this.parameters = parameters; - } - - public DockerOperation getOperation() { - return operation; - } - - public void setOperation(DockerOperation operation) { - this.operation = operation; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-docker/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-docker/src/main/resources/META-INF/spring.factories b/components/camel-docker/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 04d76c0..0000000 --- a/components/camel-docker/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.docker.springboot.DockerComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java deleted file mode 100644 index 24ddc95..0000000 --- a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentAutoConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.ejb.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.ejb.EjbComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(EjbComponentConfiguration.class) -public class EjbComponentAutoConfiguration { - - @Bean(name = "ejb-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(EjbComponent.class) - public EjbComponent configureEjbComponent(CamelContext camelContext, - EjbComponentConfiguration configuration) throws Exception { - EjbComponent component = new EjbComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java b/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.java deleted file mode 100644 index 3ff10d9..0000000 --- a/components/camel-ejb/src/main/java/org/apache/camel/component/ejb/springboot/EjbComponentConfiguration.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.ejb.springboot; - -import java.util.Properties; -import javax.naming.Context; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The ejb component is for invoking EJB Java beans from Camel. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.ejb") -public class EjbComponentConfiguration { - - /** - * The Context to use for looking up the EJBs - */ - private Context context; - /** - * Properties for creating javax.naming.Context if a context has not been - * configured. - */ - private Properties properties; - - public Context getContext() { - return context; - } - - public void setContext(Context context) { - this.context = context; - } - - public Properties getProperties() { - return properties; - } - - public void setProperties(Properties properties) { - this.properties = properties; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ejb/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-ejb/src/main/resources/META-INF/spring.factories b/components/camel-ejb/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 807a34b..0000000 --- a/components/camel-ejb/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.ejb.springboot.EjbComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.java deleted file mode 100644 index 3688285..0000000 --- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentAutoConfiguration.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.elasticsearch.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.elasticsearch.ElasticsearchComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(ElasticsearchComponentConfiguration.class) -public class ElasticsearchComponentAutoConfiguration { - - @Bean(name = "elasticsearch-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(ElasticsearchComponent.class) - public ElasticsearchComponent configureElasticsearchComponent( - CamelContext camelContext, - ElasticsearchComponentConfiguration configuration) throws Exception { - ElasticsearchComponent component = new ElasticsearchComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java deleted file mode 100644 index c375745..0000000 --- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.elasticsearch.springboot; - -import org.elasticsearch.client.Client; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The elasticsearch component is used for interfacing with ElasticSearch - * server. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.elasticsearch") -public class ElasticsearchComponentConfiguration { - - /** - * To use an existing configured Elasticsearch client instead of creating a - * client per endpoint. - */ - private Client client; - - public Client getClient() { - return client; - } - - public void setClient(Client client) { - this.client = client; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories b/components/camel-elasticsearch/src/main/resources/META-INF/spring.factories deleted file mode 100644 index a952c37..0000000 --- a/components/camel-elasticsearch/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.elasticsearch.springboot.ElasticsearchComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java deleted file mode 100644 index bccf07f..0000000 --- a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentAutoConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.elsql.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.elsql.ElsqlComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(ElsqlComponentConfiguration.class) -public class ElsqlComponentAutoConfiguration { - - @Bean(name = "elsql-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(ElsqlComponent.class) - public ElsqlComponent configureElsqlComponent(CamelContext camelContext, - ElsqlComponentConfiguration configuration) throws Exception { - ElsqlComponent component = new ElsqlComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java b/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java deleted file mode 100644 index c36b95e..0000000 --- a/components/camel-elsql/src/main/java/org/apache/camel/component/elsql/springboot/ElsqlComponentConfiguration.java +++ /dev/null @@ -1,86 +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.elsql.springboot; - -import javax.sql.DataSource; -import com.opengamma.elsql.ElSqlConfig; -import org.apache.camel.component.elsql.ElSqlDatabaseVendor; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The elsql component is an extension to the existing SQL Component that uses - * ElSql to define the SQL queries. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.elsql") -public class ElsqlComponentConfiguration { - - /** - * To use a vendor specific com.opengamma.elsql.ElSqlConfig - */ - private ElSqlDatabaseVendor databaseVendor; - /** - * Sets the DataSource to use to communicate with the database. - */ - private DataSource dataSource; - /** - * To use a specific configured ElSqlConfig. It may be better to use the - * databaseVendor option instead. - */ - private ElSqlConfig elSqlConfig; - /** - * The resource file which contains the elsql SQL statements to use. You can - * specify multiple resources separated by comma. The resources are loaded - * on the classpath by default you can prefix with file: to load from file - * system. Notice you can set this option on the component and then you do - * not have to configure this on the endpoint. - */ - private String resourceUri; - - public ElSqlDatabaseVendor getDatabaseVendor() { - return databaseVendor; - } - - public void setDatabaseVendor(ElSqlDatabaseVendor databaseVendor) { - this.databaseVendor = databaseVendor; - } - - public DataSource getDataSource() { - return dataSource; - } - - public void setDataSource(DataSource dataSource) { - this.dataSource = dataSource; - } - - public ElSqlConfig getElSqlConfig() { - return elSqlConfig; - } - - public void setElSqlConfig(ElSqlConfig elSqlConfig) { - this.elSqlConfig = elSqlConfig; - } - - public String getResourceUri() { - return resourceUri; - } - - public void setResourceUri(String resourceUri) { - this.resourceUri = resourceUri; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-elsql/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-elsql/src/main/resources/META-INF/spring.factories b/components/camel-elsql/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 3b79893..0000000 --- a/components/camel-elsql/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.elsql.springboot.ElsqlComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.java deleted file mode 100644 index bc35252..0000000 --- a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentAutoConfiguration.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.eventadmin.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.eventadmin.EventAdminComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(EventAdminComponentConfiguration.class) -public class EventAdminComponentAutoConfiguration { - - @Bean(name = "eventadmin-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(EventAdminComponent.class) - public EventAdminComponent configureEventAdminComponent( - CamelContext camelContext, - EventAdminComponentConfiguration configuration) throws Exception { - EventAdminComponent component = new EventAdminComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java b/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.java deleted file mode 100644 index 245c8e5..0000000 --- a/components/camel-eventadmin/src/main/java/org/apache/camel/component/eventadmin/springboot/EventAdminComponentConfiguration.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.eventadmin.springboot; - -import org.osgi.framework.BundleContext; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The eventadmin component can be used in an OSGi environment to receive OSGi - * EventAdmin events and process them. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.eventadmin") -public class EventAdminComponentConfiguration { - - /** - * The OSGi BundleContext is automatic injected by Camel - */ - private BundleContext bundleContext; - - public BundleContext getBundleContext() { - return bundleContext; - } - - public void setBundleContext(BundleContext bundleContext) { - this.bundleContext = bundleContext; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-eventadmin/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-eventadmin/src/main/resources/META-INF/spring.factories b/components/camel-eventadmin/src/main/resources/META-INF/spring.factories deleted file mode 100644 index d6c2057..0000000 --- a/components/camel-eventadmin/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.eventadmin.springboot.EventAdminComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.java deleted file mode 100644 index 989a2bc..0000000 --- a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentAutoConfiguration.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.facebook.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.facebook.FacebookComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(FacebookComponentConfiguration.class) -public class FacebookComponentAutoConfiguration { - - @Bean(name = "facebook-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(FacebookComponent.class) - public FacebookComponent configureFacebookComponent( - CamelContext camelContext, - FacebookComponentConfiguration configuration) throws Exception { - FacebookComponent component = new FacebookComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java b/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java deleted file mode 100644 index 8bfdb79..0000000 --- a/components/camel-facebook/src/main/java/org/apache/camel/component/facebook/springboot/FacebookComponentConfiguration.java +++ /dev/null @@ -1,370 +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.facebook.springboot; - -import org.apache.camel.component.facebook.config.FacebookConfiguration; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The Facebook component provides access to all of the Facebook APIs accessible - * using Facebook4J. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.facebook") -public class FacebookComponentConfiguration { - - /** - * To use the shared configuration. Properties of the shared configuration - * can also be set individually. - */ - private FacebookConfiguration configuration; - /** - * The user access token - */ - private String oAuthAccessToken; - /** - * OAuth access token URL - */ - private String oAuthAccessTokenURL; - /** - * The application Id - */ - private String oAuthAppId; - /** - * The application Secret - */ - private String oAuthAppSecret; - /** - * OAuth authorization URL - */ - private String oAuthAuthorizationURL; - /** - * Facebook4J API client URL - */ - private String clientURL; - /** - * Facebook4J client API version - */ - private String clientVersion; - /** - * Enables deubg output. Effective only with the embedded logger - */ - private Boolean debugEnabled; - /** - * Use Facebook GZIP encoding - */ - private Boolean gzipEnabled; - /** - * Http connection timeout in milliseconds - */ - private Integer httpConnectionTimeout; - /** - * HTTP maximum connections per route - */ - private Integer httpDefaultMaxPerRoute; - /** - * HTTP maximum total connections - */ - private Integer httpMaxTotalConnections; - /** - * HTTP proxy server host name - */ - private String httpProxyHost; - /** - * HTTP proxy server password - */ - private String httpProxyPassword; - /** - * HTTP proxy server port - */ - private Integer httpProxyPort; - /** - * HTTP proxy server user name - */ - private String httpProxyUser; - /** - * Http read timeout in milliseconds - */ - private Integer httpReadTimeout; - /** - * Number of HTTP retries - */ - private Integer httpRetryCount; - /** - * HTTP retry interval in seconds - */ - private Integer httpRetryIntervalSeconds; - /** - * HTTP streaming read timeout in milliseconds - */ - private Integer httpStreamingReadTimeout; - /** - * If set to true raw JSON forms will be stored in DataObjectFactory - */ - private Boolean jsonStoreEnabled; - /** - * If set to true Facebook4J mbean will be registerd - */ - private Boolean mbeanEnabled; - /** - * Default OAuth permissions. Comma separated permission names. See - * https://developers.facebook.com/docs/reference/login/permissions for the - * detail - */ - private String oAuthPermissions; - /** - * Prettify JSON debug output if set to true - */ - private Boolean prettyDebugEnabled; - /** - * API base URL - */ - private String restBaseURL; - /** - * Use SSL - */ - private Boolean useSSL; - /** - * Video API base URL - */ - private String videoBaseURL; - - public FacebookConfiguration getConfiguration() { - return configuration; - } - - public void setConfiguration(FacebookConfiguration configuration) { - this.configuration = configuration; - } - - public String getOAuthAccessToken() { - return oAuthAccessToken; - } - - public void setOAuthAccessToken(String oAuthAccessToken) { - this.oAuthAccessToken = oAuthAccessToken; - } - - public String getOAuthAccessTokenURL() { - return oAuthAccessTokenURL; - } - - public void setOAuthAccessTokenURL(String oAuthAccessTokenURL) { - this.oAuthAccessTokenURL = oAuthAccessTokenURL; - } - - public String getOAuthAppId() { - return oAuthAppId; - } - - public void setOAuthAppId(String oAuthAppId) { - this.oAuthAppId = oAuthAppId; - } - - public String getOAuthAppSecret() { - return oAuthAppSecret; - } - - public void setOAuthAppSecret(String oAuthAppSecret) { - this.oAuthAppSecret = oAuthAppSecret; - } - - public String getOAuthAuthorizationURL() { - return oAuthAuthorizationURL; - } - - public void setOAuthAuthorizationURL(String oAuthAuthorizationURL) { - this.oAuthAuthorizationURL = oAuthAuthorizationURL; - } - - public String getClientURL() { - return clientURL; - } - - public void setClientURL(String clientURL) { - this.clientURL = clientURL; - } - - public String getClientVersion() { - return clientVersion; - } - - public void setClientVersion(String clientVersion) { - this.clientVersion = clientVersion; - } - - public Boolean getDebugEnabled() { - return debugEnabled; - } - - public void setDebugEnabled(Boolean debugEnabled) { - this.debugEnabled = debugEnabled; - } - - public Boolean getGzipEnabled() { - return gzipEnabled; - } - - public void setGzipEnabled(Boolean gzipEnabled) { - this.gzipEnabled = gzipEnabled; - } - - public Integer getHttpConnectionTimeout() { - return httpConnectionTimeout; - } - - public void setHttpConnectionTimeout(Integer httpConnectionTimeout) { - this.httpConnectionTimeout = httpConnectionTimeout; - } - - public Integer getHttpDefaultMaxPerRoute() { - return httpDefaultMaxPerRoute; - } - - public void setHttpDefaultMaxPerRoute(Integer httpDefaultMaxPerRoute) { - this.httpDefaultMaxPerRoute = httpDefaultMaxPerRoute; - } - - public Integer getHttpMaxTotalConnections() { - return httpMaxTotalConnections; - } - - public void setHttpMaxTotalConnections(Integer httpMaxTotalConnections) { - this.httpMaxTotalConnections = httpMaxTotalConnections; - } - - public String getHttpProxyHost() { - return httpProxyHost; - } - - public void setHttpProxyHost(String httpProxyHost) { - this.httpProxyHost = httpProxyHost; - } - - public String getHttpProxyPassword() { - return httpProxyPassword; - } - - public void setHttpProxyPassword(String httpProxyPassword) { - this.httpProxyPassword = httpProxyPassword; - } - - public Integer getHttpProxyPort() { - return httpProxyPort; - } - - public void setHttpProxyPort(Integer httpProxyPort) { - this.httpProxyPort = httpProxyPort; - } - - public String getHttpProxyUser() { - return httpProxyUser; - } - - public void setHttpProxyUser(String httpProxyUser) { - this.httpProxyUser = httpProxyUser; - } - - public Integer getHttpReadTimeout() { - return httpReadTimeout; - } - - public void setHttpReadTimeout(Integer httpReadTimeout) { - this.httpReadTimeout = httpReadTimeout; - } - - public Integer getHttpRetryCount() { - return httpRetryCount; - } - - public void setHttpRetryCount(Integer httpRetryCount) { - this.httpRetryCount = httpRetryCount; - } - - public Integer getHttpRetryIntervalSeconds() { - return httpRetryIntervalSeconds; - } - - public void setHttpRetryIntervalSeconds(Integer httpRetryIntervalSeconds) { - this.httpRetryIntervalSeconds = httpRetryIntervalSeconds; - } - - public Integer getHttpStreamingReadTimeout() { - return httpStreamingReadTimeout; - } - - public void setHttpStreamingReadTimeout(Integer httpStreamingReadTimeout) { - this.httpStreamingReadTimeout = httpStreamingReadTimeout; - } - - public Boolean getJsonStoreEnabled() { - return jsonStoreEnabled; - } - - public void setJsonStoreEnabled(Boolean jsonStoreEnabled) { - this.jsonStoreEnabled = jsonStoreEnabled; - } - - public Boolean getMbeanEnabled() { - return mbeanEnabled; - } - - public void setMbeanEnabled(Boolean mbeanEnabled) { - this.mbeanEnabled = mbeanEnabled; - } - - public String getOAuthPermissions() { - return oAuthPermissions; - } - - public void setOAuthPermissions(String oAuthPermissions) { - this.oAuthPermissions = oAuthPermissions; - } - - public Boolean getPrettyDebugEnabled() { - return prettyDebugEnabled; - } - - public void setPrettyDebugEnabled(Boolean prettyDebugEnabled) { - this.prettyDebugEnabled = prettyDebugEnabled; - } - - public String getRestBaseURL() { - return restBaseURL; - } - - public void setRestBaseURL(String restBaseURL) { - this.restBaseURL = restBaseURL; - } - - public Boolean getUseSSL() { - return useSSL; - } - - public void setUseSSL(Boolean useSSL) { - this.useSSL = useSSL; - } - - public String getVideoBaseURL() { - return videoBaseURL; - } - - public void setVideoBaseURL(String videoBaseURL) { - this.videoBaseURL = videoBaseURL; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-facebook/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-facebook/src/main/resources/META-INF/spring.factories b/components/camel-facebook/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 49cf4f2..0000000 --- a/components/camel-facebook/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.facebook.springboot.FacebookComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-flatpack/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java b/components/camel-flatpack/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java deleted file mode 100644 index ed63e2f..0000000 --- a/components/camel-flatpack/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatAutoConfiguration.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.dataformat.flatpack.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.CamelContextAware; -import org.apache.camel.dataformat.flatpack.FlatpackDataFormat; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(FlatpackDataFormatConfiguration.class) -public class FlatpackDataFormatAutoConfiguration { - - @Bean(name = "flatpack-dataformat") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(FlatpackDataFormat.class) - public FlatpackDataFormat configureFlatpackDataFormat( - CamelContext camelContext, - FlatpackDataFormatConfiguration configuration) throws Exception { - FlatpackDataFormat dataformat = new FlatpackDataFormat(); - if (dataformat instanceof CamelContextAware) { - ((CamelContextAware) dataformat).setCamelContext(camelContext); - } - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), dataformat, parameters); - return dataformat; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-flatpack/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatConfiguration.java b/components/camel-flatpack/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatConfiguration.java deleted file mode 100644 index e31437b..0000000 --- a/components/camel-flatpack/src/main/java/org/apache/camel/dataformat/flatpack/springboot/FlatpackDataFormatConfiguration.java +++ /dev/null @@ -1,129 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.dataformat.flatpack.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Camel FlatPack support - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.dataformat.flatpack") -public class FlatpackDataFormatConfiguration { - - /** - * References to a custom parser factory to lookup in the registry - */ - private String parserFactoryRef; - /** - * The flatpack pzmap configuration file. Can be omitted in simpler - * situations but its preferred to use the pzmap. - */ - private String definition; - /** - * Delimited or fixed. Is by default false = delimited - */ - private Boolean fixed = false; - /** - * Whether the first line is ignored for delimited files (for the column - * headers). Is by default true. - */ - private Boolean ignoreFirstRecord = true; - /** - * If the text is qualified with a char such as " - */ - private String textQualifier; - /** - * The delimiter char (could be ; or similar) - */ - private String delimiter; - /** - * Allows for lines to be shorter than expected and ignores the extra - * characters - */ - private Boolean allowShortLines = false; - /** - * Allows for lines to be longer than expected and ignores the extra - * characters. - */ - private Boolean ignoreExtraColumns = false; - - public String getParserFactoryRef() { - return parserFactoryRef; - } - - public void setParserFactoryRef(String parserFactoryRef) { - this.parserFactoryRef = parserFactoryRef; - } - - public String getDefinition() { - return definition; - } - - public void setDefinition(String definition) { - this.definition = definition; - } - - public Boolean getFixed() { - return fixed; - } - - public void setFixed(Boolean fixed) { - this.fixed = fixed; - } - - public Boolean getIgnoreFirstRecord() { - return ignoreFirstRecord; - } - - public void setIgnoreFirstRecord(Boolean ignoreFirstRecord) { - this.ignoreFirstRecord = ignoreFirstRecord; - } - - public String getTextQualifier() { - return textQualifier; - } - - public void setTextQualifier(String textQualifier) { - this.textQualifier = textQualifier; - } - - public String getDelimiter() { - return delimiter; - } - - public void setDelimiter(String delimiter) { - this.delimiter = delimiter; - } - - public Boolean getAllowShortLines() { - return allowShortLines; - } - - public void setAllowShortLines(Boolean allowShortLines) { - this.allowShortLines = allowShortLines; - } - - public Boolean getIgnoreExtraColumns() { - return ignoreExtraColumns; - } - - public void setIgnoreExtraColumns(Boolean ignoreExtraColumns) { - this.ignoreExtraColumns = ignoreExtraColumns; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-flatpack/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/main/resources/META-INF/spring.factories b/components/camel-flatpack/src/main/resources/META-INF/spring.factories deleted file mode 100644 index c72aa75..0000000 --- a/components/camel-flatpack/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.dataformat.flatpack.springboot.FlatpackDataFormatAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java deleted file mode 100644 index d1470be..0000000 --- a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentAutoConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.flink.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.flink.FlinkComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(FlinkComponentConfiguration.class) -public class FlinkComponentAutoConfiguration { - - @Bean(name = "flink-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(FlinkComponent.class) - public FlinkComponent configureFlinkComponent(CamelContext camelContext, - FlinkComponentConfiguration configuration) throws Exception { - FlinkComponent component = new FlinkComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java b/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java deleted file mode 100644 index 6e25062..0000000 --- a/components/camel-flink/src/main/java/org/apache/camel/component/flink/springboot/FlinkComponentConfiguration.java +++ /dev/null @@ -1,81 +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.flink.springboot; - -import org.apache.camel.component.flink.DataSetCallback; -import org.apache.camel.component.flink.DataStreamCallback; -import org.apache.flink.api.java.DataSet; -import org.apache.flink.streaming.api.datastream.DataStream; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The flink component can be used to send DataSet jobs to Apache Flink cluster. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.flink") -public class FlinkComponentConfiguration { - - /** - * DataSet to compute against. - */ - private DataSet dataSet; - /** - * DataStream to compute against. - */ - private DataStream dataStream; - /** - * Function performing action against a DataSet. - */ - private DataSetCallback dataSetCallback; - /** - * Function performing action against a DataStream. - */ - private DataStreamCallback dataStreamCallback; - - public DataSet getDataSet() { - return dataSet; - } - - public void setDataSet(DataSet dataSet) { - this.dataSet = dataSet; - } - - public DataStream getDataStream() { - return dataStream; - } - - public void setDataStream(DataStream dataStream) { - this.dataStream = dataStream; - } - - public DataSetCallback getDataSetCallback() { - return dataSetCallback; - } - - public void setDataSetCallback(DataSetCallback dataSetCallback) { - this.dataSetCallback = dataSetCallback; - } - - public DataStreamCallback getDataStreamCallback() { - return dataStreamCallback; - } - - public void setDataStreamCallback(DataStreamCallback dataStreamCallback) { - this.dataStreamCallback = dataStreamCallback; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-flink/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-flink/src/main/resources/META-INF/spring.factories b/components/camel-flink/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 12d3fd7..0000000 --- a/components/camel-flink/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.flink.springboot.FlinkComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.java deleted file mode 100644 index d7f98b3..0000000 --- a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentAutoConfiguration.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.freemarker.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.freemarker.FreemarkerComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(FreemarkerComponentConfiguration.class) -public class FreemarkerComponentAutoConfiguration { - - @Bean(name = "freemarker-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(FreemarkerComponent.class) - public FreemarkerComponent configureFreemarkerComponent( - CamelContext camelContext, - FreemarkerComponentConfiguration configuration) throws Exception { - FreemarkerComponent component = new FreemarkerComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java b/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.java deleted file mode 100644 index a03cf42..0000000 --- a/components/camel-freemarker/src/main/java/org/apache/camel/component/freemarker/springboot/FreemarkerComponentConfiguration.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.freemarker.springboot; - -import freemarker.template.Configuration; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Transforms the message using a FreeMarker template. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.freemarker") -public class FreemarkerComponentConfiguration { - - /** - * To use an existing freemarker.template.Configuration instance as the - * configuration. - */ - private Configuration configuration; - - public Configuration getConfiguration() { - return configuration; - } - - public void setConfiguration(Configuration configuration) { - this.configuration = configuration; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-freemarker/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-freemarker/src/main/resources/META-INF/spring.factories b/components/camel-freemarker/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 90978d0..0000000 --- a/components/camel-freemarker/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.freemarker.springboot.FreemarkerComponentAutoConfiguration