You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/08/15 08:29:10 UTC
[53/74] [abbrv] camel git commit: CAMEL-10222: Deleted spring-boot
configuration from main projects
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
deleted file mode 100644
index a971286..0000000
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/springboot/SalesforceComponentConfiguration.java
+++ /dev/null
@@ -1,716 +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.salesforce.springboot;
-
-import java.util.Map;
-import java.util.Set;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import org.apache.camel.component.salesforce.SalesforceEndpointConfig;
-import org.apache.camel.component.salesforce.SalesforceHttpClient;
-import org.apache.camel.component.salesforce.SalesforceLoginConfig;
-import org.apache.camel.component.salesforce.api.dto.analytics.reports.ReportMetadata;
-import org.apache.camel.component.salesforce.api.dto.bulk.ContentType;
-import org.apache.camel.component.salesforce.internal.PayloadFormat;
-import org.apache.camel.component.salesforce.internal.dto.NotifyForFieldsEnum;
-import org.apache.camel.component.salesforce.internal.dto.NotifyForOperationsEnum;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The salesforce component is used for integrating Camel with the massive
- * Salesforce API.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.salesforce")
-public class SalesforceComponentConfiguration {
-
- /**
- * To use the shared SalesforceLoginConfig as login configuration.
- * Properties of the shared configuration can also be set individually.
- */
- private SalesforceLoginConfig loginConfig;
- /**
- * To use the shared SalesforceEndpointConfig as configuration. Properties
- * of the shared configuration can also be set individually.
- */
- private SalesforceEndpointConfig config;
- /**
- * Used for configuring HTTP client properties as key/value pairs
- */
- private Map<String, Object> httpClientProperties;
- /**
- * To configure security using SSLContextParameters
- */
- private SSLContextParameters sslContextParameters;
- /**
- * To configure HTTP proxy host
- */
- private String httpProxyHost;
- /**
- * To configure HTTP proxy port
- */
- private Integer httpProxyPort;
- /**
- * To configure HTTP proxy username
- */
- private String httpProxyUsername;
- /**
- * To configure HTTP proxy password
- */
- private String httpProxyPassword;
- /**
- * Enable for Socks4 proxy false by default
- */
- private Boolean isHttpProxySocks4;
- /**
- * Enable for TLS connections true by default
- */
- private Boolean isHttpProxySecure;
- /**
- * HTTP proxy included addresses
- */
- private Set<String> httpProxyIncludedAddresses;
- /**
- * HTTP proxy excluded addresses
- */
- private Set<String> httpProxyExcludedAddresses;
- /**
- * HTTP proxy authentication URI
- */
- private String httpProxyAuthUri;
- /**
- * HTTP proxy authentication realm
- */
- private String httpProxyRealm;
- /**
- * Use HTTP proxy Digest authentication false by default
- */
- private Boolean httpProxyUseDigestAuth;
- /**
- * Package names to scan for DTO classes (multiple packages can be separated
- * by comma).
- */
- private String[] packages;
- /**
- * Salesforce login URL defaults to https://login.salesforce.com
- */
- private String loginUrl;
- /**
- * Salesforce connected application Consumer Key
- */
- private String clientId;
- /**
- * Salesforce connected application Consumer Secret
- */
- private String clientSecret;
- /**
- * Salesforce account user name
- */
- private String userName;
- /**
- * Salesforce account password
- */
- private String password;
- /**
- * Flag to enable/disable lazy OAuth default is false. When enabled OAuth
- * token retrieval or generation is not done until the first API call
- */
- private Boolean lazyLogin;
- /**
- * Payload format to use for Salesforce API calls either JSON or XML
- * defaults to JSON
- */
- private PayloadFormat format;
- /**
- * Salesforce API version defaults to
- * SalesforceEndpointConfig.DEFAULT_VERSION
- */
- private String apiVersion;
- /**
- * SObject name if required or supported by API
- */
- private String sObjectName;
- /**
- * SObject ID if required by API
- */
- private String sObjectId;
- /**
- * SObject fields to retrieve
- */
- private String sObjectFields;
- /**
- * SObject external ID field name
- */
- private String sObjectIdName;
- /**
- * SObject external ID field value
- */
- private String sObjectIdValue;
- /**
- * SObject blob field name
- */
- private String sObjectBlobFieldName;
- /**
- * Fully qualified SObject class name usually generated using
- * camel-salesforce-maven-plugin
- */
- private String sObjectClass;
- /**
- * Salesforce SOQL query string
- */
- private String sObjectQuery;
- /**
- * Salesforce SOSL search string
- */
- private String sObjectSearch;
- /**
- * APEX method name
- */
- private String apexMethod;
- /**
- * APEX method URL
- */
- private String apexUrl;
- /**
- * Query params for APEX method
- */
- private Map<String, Object> apexQueryParams;
- /**
- * Bulk API content type one of XML CSV ZIP_XML ZIP_CSV
- */
- private ContentType contentType;
- /**
- * Bulk API Job ID
- */
- private String jobId;
- /**
- * Bulk API Batch ID
- */
- private String batchId;
- /**
- * Bulk API Result ID
- */
- private String resultId;
- /**
- * Whether to update an existing Push Topic when using the Streaming API
- * defaults to false
- */
- private Boolean updateTopic;
- /**
- * Notify for fields options are ALL REFERENCED SELECT WHERE
- */
- private NotifyForFieldsEnum notifyForFields;
- /**
- * Notify for operations options are ALL CREATE EXTENDED UPDATE (API version
- * 29.0)
- */
- private NotifyForOperationsEnum notifyForOperations;
- /**
- * Notify for create operation defaults to false (API version = 29.0)
- */
- private Boolean notifyForOperationCreate;
- /**
- * Notify for update operation defaults to false (API version = 29.0)
- */
- private Boolean notifyForOperationUpdate;
- /**
- * Notify for delete operation defaults to false (API version = 29.0)
- */
- private Boolean notifyForOperationDelete;
- /**
- * Notify for un-delete operation defaults to false (API version = 29.0)
- */
- private Boolean notifyForOperationUndelete;
- /**
- * Salesforce1 Analytics report Id
- */
- private String reportId;
- /**
- * Include details in Salesforce1 Analytics report defaults to false.
- */
- private Boolean includeDetails;
- /**
- * Salesforce1 Analytics report metadata for filtering
- */
- private ReportMetadata reportMetadata;
- /**
- * Salesforce1 Analytics report execution instance ID
- */
- private String instanceId;
- /**
- * Custom Jetty Http Client to use to connect to Salesforce.
- */
- private SalesforceHttpClient httpClient;
- /**
- * Custom Jackson ObjectMapper to use when serializing/deserializing
- * Salesforce objects.
- */
- private ObjectMapper objectMapper;
- /**
- * Default replayId setting if no value is found in link initialReplayIdMap
- */
- private Integer defaultReplayId;
- /**
- * Replay IDs to start from per channel name.
- */
- private Map<String, Integer> initialReplayIdMap;
-
- public SalesforceLoginConfig getLoginConfig() {
- return loginConfig;
- }
-
- public void setLoginConfig(SalesforceLoginConfig loginConfig) {
- this.loginConfig = loginConfig;
- }
-
- public SalesforceEndpointConfig getConfig() {
- return config;
- }
-
- public void setConfig(SalesforceEndpointConfig config) {
- this.config = config;
- }
-
- public Map<String, Object> getHttpClientProperties() {
- return httpClientProperties;
- }
-
- public void setHttpClientProperties(Map<String, Object> httpClientProperties) {
- this.httpClientProperties = httpClientProperties;
- }
-
- public SSLContextParameters getSslContextParameters() {
- return sslContextParameters;
- }
-
- public void setSslContextParameters(
- SSLContextParameters sslContextParameters) {
- this.sslContextParameters = sslContextParameters;
- }
-
- public String getHttpProxyHost() {
- return httpProxyHost;
- }
-
- public void setHttpProxyHost(String httpProxyHost) {
- this.httpProxyHost = httpProxyHost;
- }
-
- public Integer getHttpProxyPort() {
- return httpProxyPort;
- }
-
- public void setHttpProxyPort(Integer httpProxyPort) {
- this.httpProxyPort = httpProxyPort;
- }
-
- public String getHttpProxyUsername() {
- return httpProxyUsername;
- }
-
- public void setHttpProxyUsername(String httpProxyUsername) {
- this.httpProxyUsername = httpProxyUsername;
- }
-
- public String getHttpProxyPassword() {
- return httpProxyPassword;
- }
-
- public void setHttpProxyPassword(String httpProxyPassword) {
- this.httpProxyPassword = httpProxyPassword;
- }
-
- public Boolean getIsHttpProxySocks4() {
- return isHttpProxySocks4;
- }
-
- public void setIsHttpProxySocks4(Boolean isHttpProxySocks4) {
- this.isHttpProxySocks4 = isHttpProxySocks4;
- }
-
- public Boolean getIsHttpProxySecure() {
- return isHttpProxySecure;
- }
-
- public void setIsHttpProxySecure(Boolean isHttpProxySecure) {
- this.isHttpProxySecure = isHttpProxySecure;
- }
-
- public Set<String> getHttpProxyIncludedAddresses() {
- return httpProxyIncludedAddresses;
- }
-
- public void setHttpProxyIncludedAddresses(
- Set<String> httpProxyIncludedAddresses) {
- this.httpProxyIncludedAddresses = httpProxyIncludedAddresses;
- }
-
- public Set<String> getHttpProxyExcludedAddresses() {
- return httpProxyExcludedAddresses;
- }
-
- public void setHttpProxyExcludedAddresses(
- Set<String> httpProxyExcludedAddresses) {
- this.httpProxyExcludedAddresses = httpProxyExcludedAddresses;
- }
-
- public String getHttpProxyAuthUri() {
- return httpProxyAuthUri;
- }
-
- public void setHttpProxyAuthUri(String httpProxyAuthUri) {
- this.httpProxyAuthUri = httpProxyAuthUri;
- }
-
- public String getHttpProxyRealm() {
- return httpProxyRealm;
- }
-
- public void setHttpProxyRealm(String httpProxyRealm) {
- this.httpProxyRealm = httpProxyRealm;
- }
-
- public Boolean getHttpProxyUseDigestAuth() {
- return httpProxyUseDigestAuth;
- }
-
- public void setHttpProxyUseDigestAuth(Boolean httpProxyUseDigestAuth) {
- this.httpProxyUseDigestAuth = httpProxyUseDigestAuth;
- }
-
- public String[] getPackages() {
- return packages;
- }
-
- public void setPackages(String[] packages) {
- this.packages = packages;
- }
-
- public String getLoginUrl() {
- return loginUrl;
- }
-
- public void setLoginUrl(String loginUrl) {
- this.loginUrl = loginUrl;
- }
-
- public String getClientId() {
- return clientId;
- }
-
- public void setClientId(String clientId) {
- this.clientId = clientId;
- }
-
- public String getClientSecret() {
- return clientSecret;
- }
-
- public void setClientSecret(String clientSecret) {
- this.clientSecret = clientSecret;
- }
-
- 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 Boolean getLazyLogin() {
- return lazyLogin;
- }
-
- public void setLazyLogin(Boolean lazyLogin) {
- this.lazyLogin = lazyLogin;
- }
-
- public PayloadFormat getFormat() {
- return format;
- }
-
- public void setFormat(PayloadFormat format) {
- this.format = format;
- }
-
- public String getApiVersion() {
- return apiVersion;
- }
-
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
- }
-
- public String getSObjectName() {
- return sObjectName;
- }
-
- public void setSObjectName(String sObjectName) {
- this.sObjectName = sObjectName;
- }
-
- public String getSObjectId() {
- return sObjectId;
- }
-
- public void setSObjectId(String sObjectId) {
- this.sObjectId = sObjectId;
- }
-
- public String getSObjectFields() {
- return sObjectFields;
- }
-
- public void setSObjectFields(String sObjectFields) {
- this.sObjectFields = sObjectFields;
- }
-
- public String getSObjectIdName() {
- return sObjectIdName;
- }
-
- public void setSObjectIdName(String sObjectIdName) {
- this.sObjectIdName = sObjectIdName;
- }
-
- public String getSObjectIdValue() {
- return sObjectIdValue;
- }
-
- public void setSObjectIdValue(String sObjectIdValue) {
- this.sObjectIdValue = sObjectIdValue;
- }
-
- public String getSObjectBlobFieldName() {
- return sObjectBlobFieldName;
- }
-
- public void setSObjectBlobFieldName(String sObjectBlobFieldName) {
- this.sObjectBlobFieldName = sObjectBlobFieldName;
- }
-
- public String getSObjectClass() {
- return sObjectClass;
- }
-
- public void setSObjectClass(String sObjectClass) {
- this.sObjectClass = sObjectClass;
- }
-
- public String getSObjectQuery() {
- return sObjectQuery;
- }
-
- public void setSObjectQuery(String sObjectQuery) {
- this.sObjectQuery = sObjectQuery;
- }
-
- public String getSObjectSearch() {
- return sObjectSearch;
- }
-
- public void setSObjectSearch(String sObjectSearch) {
- this.sObjectSearch = sObjectSearch;
- }
-
- public String getApexMethod() {
- return apexMethod;
- }
-
- public void setApexMethod(String apexMethod) {
- this.apexMethod = apexMethod;
- }
-
- public String getApexUrl() {
- return apexUrl;
- }
-
- public void setApexUrl(String apexUrl) {
- this.apexUrl = apexUrl;
- }
-
- public Map<String, Object> getApexQueryParams() {
- return apexQueryParams;
- }
-
- public void setApexQueryParams(Map<String, Object> apexQueryParams) {
- this.apexQueryParams = apexQueryParams;
- }
-
- public ContentType getContentType() {
- return contentType;
- }
-
- public void setContentType(ContentType contentType) {
- this.contentType = contentType;
- }
-
- public String getJobId() {
- return jobId;
- }
-
- public void setJobId(String jobId) {
- this.jobId = jobId;
- }
-
- public String getBatchId() {
- return batchId;
- }
-
- public void setBatchId(String batchId) {
- this.batchId = batchId;
- }
-
- public String getResultId() {
- return resultId;
- }
-
- public void setResultId(String resultId) {
- this.resultId = resultId;
- }
-
- public Boolean getUpdateTopic() {
- return updateTopic;
- }
-
- public void setUpdateTopic(Boolean updateTopic) {
- this.updateTopic = updateTopic;
- }
-
- public NotifyForFieldsEnum getNotifyForFields() {
- return notifyForFields;
- }
-
- public void setNotifyForFields(NotifyForFieldsEnum notifyForFields) {
- this.notifyForFields = notifyForFields;
- }
-
- public NotifyForOperationsEnum getNotifyForOperations() {
- return notifyForOperations;
- }
-
- public void setNotifyForOperations(
- NotifyForOperationsEnum notifyForOperations) {
- this.notifyForOperations = notifyForOperations;
- }
-
- public Boolean getNotifyForOperationCreate() {
- return notifyForOperationCreate;
- }
-
- public void setNotifyForOperationCreate(Boolean notifyForOperationCreate) {
- this.notifyForOperationCreate = notifyForOperationCreate;
- }
-
- public Boolean getNotifyForOperationUpdate() {
- return notifyForOperationUpdate;
- }
-
- public void setNotifyForOperationUpdate(Boolean notifyForOperationUpdate) {
- this.notifyForOperationUpdate = notifyForOperationUpdate;
- }
-
- public Boolean getNotifyForOperationDelete() {
- return notifyForOperationDelete;
- }
-
- public void setNotifyForOperationDelete(Boolean notifyForOperationDelete) {
- this.notifyForOperationDelete = notifyForOperationDelete;
- }
-
- public Boolean getNotifyForOperationUndelete() {
- return notifyForOperationUndelete;
- }
-
- public void setNotifyForOperationUndelete(Boolean notifyForOperationUndelete) {
- this.notifyForOperationUndelete = notifyForOperationUndelete;
- }
-
- public String getReportId() {
- return reportId;
- }
-
- public void setReportId(String reportId) {
- this.reportId = reportId;
- }
-
- public Boolean getIncludeDetails() {
- return includeDetails;
- }
-
- public void setIncludeDetails(Boolean includeDetails) {
- this.includeDetails = includeDetails;
- }
-
- public ReportMetadata getReportMetadata() {
- return reportMetadata;
- }
-
- public void setReportMetadata(ReportMetadata reportMetadata) {
- this.reportMetadata = reportMetadata;
- }
-
- public String getInstanceId() {
- return instanceId;
- }
-
- public void setInstanceId(String instanceId) {
- this.instanceId = instanceId;
- }
-
- public SalesforceHttpClient getHttpClient() {
- return httpClient;
- }
-
- public void setHttpClient(SalesforceHttpClient httpClient) {
- this.httpClient = httpClient;
- }
-
- public ObjectMapper getObjectMapper() {
- return objectMapper;
- }
-
- public void setObjectMapper(ObjectMapper objectMapper) {
- this.objectMapper = objectMapper;
- }
-
- public Integer getDefaultReplayId() {
- return defaultReplayId;
- }
-
- public void setDefaultReplayId(Integer defaultReplayId) {
- this.defaultReplayId = defaultReplayId;
- }
-
- public Map<String, Integer> getInitialReplayIdMap() {
- return initialReplayIdMap;
- }
-
- public void setInitialReplayIdMap(Map<String, Integer> initialReplayIdMap) {
- this.initialReplayIdMap = initialReplayIdMap;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories b/components/camel-salesforce/camel-salesforce-component/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 19e534b..0000000
--- a/components/camel-salesforce/camel-salesforce-component/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.salesforce.springboot.SalesforceComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.java
deleted file mode 100644
index c52467f..0000000
--- a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentAutoConfiguration.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.xquery.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.xquery.XQueryComponent;
-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(XQueryComponentConfiguration.class)
-public class XQueryComponentAutoConfiguration {
-
- @Bean(name = "xquery-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(XQueryComponent.class)
- public XQueryComponent configureXQueryComponent(CamelContext camelContext,
- XQueryComponentConfiguration configuration) throws Exception {
- XQueryComponent component = new XQueryComponent();
- 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-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.java
deleted file mode 100644
index 8731955..0000000
--- a/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/springboot/XQueryComponentConfiguration.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.xquery.springboot;
-
-import net.sf.saxon.lib.ModuleURIResolver;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * Transforms the message using a XQuery template using Saxon.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.xquery")
-public class XQueryComponentConfiguration {
-
- /**
- * To use the custom ModuleURIResolver
- */
- private ModuleURIResolver moduleURIResolver;
-
- public ModuleURIResolver getModuleURIResolver() {
- return moduleURIResolver;
- }
-
- public void setModuleURIResolver(ModuleURIResolver moduleURIResolver) {
- this.moduleURIResolver = moduleURIResolver;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-saxon/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java
deleted file mode 100644
index b0eac0c..0000000
--- a/components/camel-saxon/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.language.xquery.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.language.xquery.XQueryLanguage;
-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(XQueryLanguageConfiguration.class)
-public class XQueryLanguageAutoConfiguration {
-
- @Bean(name = "xquery-language")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(XQueryLanguage.class)
- public XQueryLanguage configureXQueryLanguage(CamelContext camelContext,
- XQueryLanguageConfiguration configuration) throws Exception {
- XQueryLanguage language = new XQueryLanguage();
- if (language instanceof CamelContextAware) {
- ((CamelContextAware) language).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), language, parameters);
- return language;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-saxon/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java b/components/camel-saxon/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
deleted file mode 100644
index d45e4c4..0000000
--- a/components/camel-saxon/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.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.language.xquery.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * For XQuery expressions and predicates
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.language.xquery")
-public class XQueryLanguageConfiguration {
-
- /**
- * Sets the class name of the result type (type from output) The default
- * result type is NodeSet
- */
- private String type;
- /**
- * Whether to trim the value to remove leading and trailing whitespaces and
- * line breaks
- */
- private Boolean trim = true;
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public Boolean getTrim() {
- return trim;
- }
-
- public void setTrim(Boolean trim) {
- this.trim = trim;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-saxon/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/main/resources/META-INF/spring.factories b/components/camel-saxon/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 06c7916..0000000
--- a/components/camel-saxon/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.xquery.springboot.XQueryComponentAutoConfiguration,\
-org.apache.camel.language.xquery.springboot.XQueryLanguageAutoConfiguration
-
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.java b/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.java
deleted file mode 100644
index 7462a2e..0000000
--- a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageAutoConfiguration.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.builder.script.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.builder.script.JavaScriptLanguage;
-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(JavaScriptLanguageConfiguration.class)
-public class JavaScriptLanguageAutoConfiguration {
-
- @Bean(name = "javaScript-language")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(JavaScriptLanguage.class)
- public JavaScriptLanguage configureJavaScriptLanguage(
- CamelContext camelContext,
- JavaScriptLanguageConfiguration configuration) throws Exception {
- JavaScriptLanguage language = new JavaScriptLanguage();
- if (language instanceof CamelContextAware) {
- ((CamelContextAware) language).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), language, parameters);
- return language;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageConfiguration.java b/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageConfiguration.java
deleted file mode 100644
index d7be77d..0000000
--- a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/JavaScriptLanguageConfiguration.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.builder.script.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * For JavaScript expressions and predicates
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.language.javascript")
-public class JavaScriptLanguageConfiguration {
-
- /**
- * Whether to trim the value to remove leading and trailing whitespaces and
- * line breaks
- */
- private Boolean trim = true;
-
- public Boolean getTrim() {
- return trim;
- }
-
- public void setTrim(Boolean trim) {
- this.trim = trim;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java b/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java
deleted file mode 100644
index e5c520ed..0000000
--- a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.script.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.builder.script.PhpLanguage;
-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(PhpLanguageConfiguration.class)
-public class PhpLanguageAutoConfiguration {
-
- @Bean(name = "php-language")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(PhpLanguage.class)
- public PhpLanguage configurePhpLanguage(CamelContext camelContext,
- PhpLanguageConfiguration configuration) throws Exception {
- PhpLanguage language = new PhpLanguage();
- if (language instanceof CamelContextAware) {
- ((CamelContextAware) language).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), language, parameters);
- return language;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageConfiguration.java b/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageConfiguration.java
deleted file mode 100644
index 0bdee8e..0000000
--- a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PhpLanguageConfiguration.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.builder.script.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * For PHP expressions and predicates
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.language.php")
-public class PhpLanguageConfiguration {
-
- /**
- * Whether to trim the value to remove leading and trailing whitespaces and
- * line breaks
- */
- private Boolean trim = true;
-
- public Boolean getTrim() {
- return trim;
- }
-
- public void setTrim(Boolean trim) {
- this.trim = trim;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java b/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java
deleted file mode 100644
index afe86e4..0000000
--- a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.script.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.builder.script.PythonLanguage;
-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(PythonLanguageConfiguration.class)
-public class PythonLanguageAutoConfiguration {
-
- @Bean(name = "python-language")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(PythonLanguage.class)
- public PythonLanguage configurePythonLanguage(CamelContext camelContext,
- PythonLanguageConfiguration configuration) throws Exception {
- PythonLanguage language = new PythonLanguage();
- if (language instanceof CamelContextAware) {
- ((CamelContextAware) language).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), language, parameters);
- return language;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageConfiguration.java b/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageConfiguration.java
deleted file mode 100644
index 1b0f256..0000000
--- a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/PythonLanguageConfiguration.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.builder.script.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * For Python expressions and predicates
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.language.python")
-public class PythonLanguageConfiguration {
-
- /**
- * Whether to trim the value to remove leading and trailing whitespaces and
- * line breaks
- */
- private Boolean trim = true;
-
- public Boolean getTrim() {
- return trim;
- }
-
- public void setTrim(Boolean trim) {
- this.trim = trim;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java b/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java
deleted file mode 100644
index ce868a9..0000000
--- a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.script.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.CamelContextAware;
-import org.apache.camel.builder.script.RubyLanguage;
-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(RubyLanguageConfiguration.class)
-public class RubyLanguageAutoConfiguration {
-
- @Bean(name = "ruby-language")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(RubyLanguage.class)
- public RubyLanguage configureRubyLanguage(CamelContext camelContext,
- RubyLanguageConfiguration configuration) throws Exception {
- RubyLanguage language = new RubyLanguage();
- if (language instanceof CamelContextAware) {
- ((CamelContextAware) language).setCamelContext(camelContext);
- }
- Map<String, Object> parameters = new HashMap<>();
- IntrospectionSupport.getProperties(configuration, parameters, null,
- false);
- IntrospectionSupport.setProperties(camelContext,
- camelContext.getTypeConverter(), language, parameters);
- return language;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageConfiguration.java b/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageConfiguration.java
deleted file mode 100644
index 865fb78..0000000
--- a/components/camel-script/src/main/java/org/apache/camel/builder/script/springboot/RubyLanguageConfiguration.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.builder.script.springboot;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * For Ruby expressions and predicates
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.language.ruby")
-public class RubyLanguageConfiguration {
-
- /**
- * Whether to trim the value to remove leading and trailing whitespaces and
- * line breaks
- */
- private Boolean trim = true;
-
- public Boolean getTrim() {
- return trim;
- }
-
- public void setTrim(Boolean trim) {
- this.trim = trim;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-script/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-script/src/main/resources/META-INF/spring.factories b/components/camel-script/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 9aa0768..0000000
--- a/components/camel-script/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,25 +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.builder.script.springboot.JavaScriptLanguageAutoConfiguration,\
-org.apache.camel.builder.script.springboot.PythonLanguageAutoConfiguration,\
-org.apache.camel.builder.script.springboot.PhpLanguageAutoConfiguration,\
-org.apache.camel.builder.script.springboot.RubyLanguageAutoConfiguration
-
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.java
deleted file mode 100644
index 606e188..0000000
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentAutoConfiguration.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.servlet.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.servlet.ServletComponent;
-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(ServletComponentConfiguration.class)
-public class ServletComponentAutoConfiguration {
-
- @Bean(name = "servlet-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(ServletComponent.class)
- public ServletComponent configureServletComponent(
- CamelContext camelContext,
- ServletComponentConfiguration configuration) throws Exception {
- ServletComponent component = new ServletComponent();
- 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-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
deleted file mode 100644
index 24fcebe..0000000
--- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/springboot/ServletComponentConfiguration.java
+++ /dev/null
@@ -1,127 +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.servlet.springboot;
-
-import org.apache.camel.component.servlet.HttpRegistry;
-import org.apache.camel.http.common.HttpBinding;
-import org.apache.camel.http.common.HttpConfiguration;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * To use a HTTP Servlet as entry for Camel routes when running in a servlet
- * container.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.servlet")
-public class ServletComponentConfiguration {
-
- /**
- * Default name of servlet to use. The default name is CamelServlet.
- */
- private String servletName;
- /**
- * To use a custom org.apache.camel.component.servlet.HttpRegistry.
- */
- private HttpRegistry httpRegistry;
- /**
- * Whether to automatic bind multipart/form-data as attachments on the Camel
- * Exchange. This is turn off by default as this may require servet specific
- * configuration to enable this when using Servlet's.
- */
- private Boolean attachmentMultipartBinding;
- /**
- * To use a custom HttpBinding to control the mapping between Camel message
- * and HttpClient.
- */
- private HttpBinding httpBinding;
- /**
- * To use the shared HttpConfiguration as base configuration.
- */
- private HttpConfiguration httpConfiguration;
- /**
- * Whether to allow java serialization when a request uses
- * context-type=application/x-java-serialized-object This is by default
- * turned off. If you enable this then be aware that Java will deserialize
- * the incoming data from the request to Java and that can be a potential
- * security risk.
- */
- private Boolean allowJavaSerializedObject;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
-
- public String getServletName() {
- return servletName;
- }
-
- public void setServletName(String servletName) {
- this.servletName = servletName;
- }
-
- public HttpRegistry getHttpRegistry() {
- return httpRegistry;
- }
-
- public void setHttpRegistry(HttpRegistry httpRegistry) {
- this.httpRegistry = httpRegistry;
- }
-
- public Boolean getAttachmentMultipartBinding() {
- return attachmentMultipartBinding;
- }
-
- public void setAttachmentMultipartBinding(Boolean attachmentMultipartBinding) {
- this.attachmentMultipartBinding = attachmentMultipartBinding;
- }
-
- public HttpBinding getHttpBinding() {
- return httpBinding;
- }
-
- public void setHttpBinding(HttpBinding httpBinding) {
- this.httpBinding = httpBinding;
- }
-
- public HttpConfiguration getHttpConfiguration() {
- return httpConfiguration;
- }
-
- public void setHttpConfiguration(HttpConfiguration httpConfiguration) {
- this.httpConfiguration = httpConfiguration;
- }
-
- public Boolean getAllowJavaSerializedObject() {
- return allowJavaSerializedObject;
- }
-
- public void setAllowJavaSerializedObject(Boolean allowJavaSerializedObject) {
- this.allowJavaSerializedObject = allowJavaSerializedObject;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-servlet/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/main/resources/META-INF/spring.factories b/components/camel-servlet/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 878459a..0000000
--- a/components/camel-servlet/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
-org.apache.camel.component.servlet.springboot.ServletComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.java
deleted file mode 100644
index e236e8e..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentAutoConfiguration.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.sjms.batch.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.sjms.batch.SjmsBatchComponent;
-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(SjmsBatchComponentConfiguration.class)
-public class SjmsBatchComponentAutoConfiguration {
-
- @Bean(name = "sjms-batch-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SjmsBatchComponent.class)
- public SjmsBatchComponent configureSjmsBatchComponent(
- CamelContext camelContext,
- SjmsBatchComponentConfiguration configuration) throws Exception {
- SjmsBatchComponent component = new SjmsBatchComponent();
- 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-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
deleted file mode 100644
index b611055..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/batch/springboot/SjmsBatchComponentConfiguration.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.batch.springboot;
-
-import javax.jms.ConnectionFactory;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The sjms-batch component is a specialized for highly performant transactional
- * batch consumption from a JMS queue.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sjms-batch")
-public class SjmsBatchComponentConfiguration {
-
- /**
- * A ConnectionFactory is required to enable the SjmsBatchComponent.
- */
- private ConnectionFactory connectionFactory;
-
- public ConnectionFactory getConnectionFactory() {
- return connectionFactory;
- }
-
- public void setConnectionFactory(ConnectionFactory connectionFactory) {
- this.connectionFactory = connectionFactory;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.java
deleted file mode 100644
index 5683591..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentAutoConfiguration.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.sjms.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.sjms.SjmsComponent;
-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(SjmsComponentConfiguration.class)
-public class SjmsComponentAutoConfiguration {
-
- @Bean(name = "sjms-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SjmsComponent.class)
- public SjmsComponent configureSjmsComponent(CamelContext camelContext,
- SjmsComponentConfiguration configuration) throws Exception {
- SjmsComponent component = new SjmsComponent();
- 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-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
deleted file mode 100644
index b45174d..0000000
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/springboot/SjmsComponentConfiguration.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.sjms.springboot;
-
-import javax.jms.ConnectionFactory;
-import org.apache.camel.component.sjms.TransactionCommitStrategy;
-import org.apache.camel.component.sjms.jms.ConnectionResource;
-import org.apache.camel.component.sjms.jms.DestinationCreationStrategy;
-import org.apache.camel.component.sjms.jms.JmsKeyFormatStrategy;
-import org.apache.camel.component.sjms.jms.MessageCreatedStrategy;
-import org.apache.camel.component.sjms.taskmanager.TimedTaskManager;
-import org.apache.camel.spi.HeaderFilterStrategy;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-/**
- * The sjms component (simple jms) allows messages to be sent to (or consumed
- * from) a JMS Queue or Topic.
- *
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@ConfigurationProperties(prefix = "camel.component.sjms")
-public class SjmsComponentConfiguration {
-
- /**
- * A ConnectionFactory is required to enable the SjmsComponent. It can be
- * set directly or set set as part of a ConnectionResource.
- */
- private ConnectionFactory connectionFactory;
- /**
- * To use a custom HeaderFilterStrategy to filter header to and from Camel
- * message.
- */
- private HeaderFilterStrategy headerFilterStrategy;
- /**
- * A ConnectionResource is an interface that allows for customization and
- * container control of the ConnectionFactory. See Plugable Connection
- * Resource Management for further details.
- */
- private ConnectionResource connectionResource;
- /**
- * The maximum number of connections available to endpoints started under
- * this component
- */
- private Integer connectionCount;
- /**
- * Pluggable strategy for encoding and decoding JMS keys so they can be
- * compliant with the JMS specification. Camel provides one implementation
- * out of the box: default. The default strategy will safely marshal dots
- * and hyphens (. and -). Can be used for JMS brokers which do not care
- * whether JMS header keys contain illegal characters. You can provide your
- * own implementation of the
- * org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it using
- * the notation.
- */
- private JmsKeyFormatStrategy jmsKeyFormatStrategy;
- /**
- * To configure which kind of commit strategy to use. Camel provides two
- * implementations out of the box default and batch.
- */
- private TransactionCommitStrategy transactionCommitStrategy;
- /**
- * To use a custom DestinationCreationStrategy.
- */
- private DestinationCreationStrategy destinationCreationStrategy;
- /**
- * To use a custom TimedTaskManager
- */
- private TimedTaskManager timedTaskManager;
- /**
- * To use the given MessageCreatedStrategy which are invoked when Camel
- * creates new instances of javax.jms.Message objects when Camel is sending
- * a JMS message.
- */
- private MessageCreatedStrategy messageCreatedStrategy;
-
- public ConnectionFactory getConnectionFactory() {
- return connectionFactory;
- }
-
- public void setConnectionFactory(ConnectionFactory connectionFactory) {
- this.connectionFactory = connectionFactory;
- }
-
- public HeaderFilterStrategy getHeaderFilterStrategy() {
- return headerFilterStrategy;
- }
-
- public void setHeaderFilterStrategy(
- HeaderFilterStrategy headerFilterStrategy) {
- this.headerFilterStrategy = headerFilterStrategy;
- }
-
- public ConnectionResource getConnectionResource() {
- return connectionResource;
- }
-
- public void setConnectionResource(ConnectionResource connectionResource) {
- this.connectionResource = connectionResource;
- }
-
- public Integer getConnectionCount() {
- return connectionCount;
- }
-
- public void setConnectionCount(Integer connectionCount) {
- this.connectionCount = connectionCount;
- }
-
- public JmsKeyFormatStrategy getJmsKeyFormatStrategy() {
- return jmsKeyFormatStrategy;
- }
-
- public void setJmsKeyFormatStrategy(
- JmsKeyFormatStrategy jmsKeyFormatStrategy) {
- this.jmsKeyFormatStrategy = jmsKeyFormatStrategy;
- }
-
- public TransactionCommitStrategy getTransactionCommitStrategy() {
- return transactionCommitStrategy;
- }
-
- public void setTransactionCommitStrategy(
- TransactionCommitStrategy transactionCommitStrategy) {
- this.transactionCommitStrategy = transactionCommitStrategy;
- }
-
- public DestinationCreationStrategy getDestinationCreationStrategy() {
- return destinationCreationStrategy;
- }
-
- public void setDestinationCreationStrategy(
- DestinationCreationStrategy destinationCreationStrategy) {
- this.destinationCreationStrategy = destinationCreationStrategy;
- }
-
- public TimedTaskManager getTimedTaskManager() {
- return timedTaskManager;
- }
-
- public void setTimedTaskManager(TimedTaskManager timedTaskManager) {
- this.timedTaskManager = timedTaskManager;
- }
-
- public MessageCreatedStrategy getMessageCreatedStrategy() {
- return messageCreatedStrategy;
- }
-
- public void setMessageCreatedStrategy(
- MessageCreatedStrategy messageCreatedStrategy) {
- this.messageCreatedStrategy = messageCreatedStrategy;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-sjms/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/resources/META-INF/spring.factories b/components/camel-sjms/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 7fe9139..0000000
--- a/components/camel-sjms/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.sjms.springboot.SjmsComponentAutoConfiguration,\
-org.apache.camel.component.sjms.batch.springboot.SjmsBatchComponentAutoConfiguration
-
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.java
deleted file mode 100644
index 7b891ba..0000000
--- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/springboot/SlackComponentAutoConfiguration.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.slack.springboot;
-
-import java.util.HashMap;
-import java.util.Map;
-import org.apache.camel.CamelContext;
-import org.apache.camel.component.slack.SlackComponent;
-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(SlackComponentConfiguration.class)
-public class SlackComponentAutoConfiguration {
-
- @Bean(name = "slack-component")
- @ConditionalOnClass(CamelContext.class)
- @ConditionalOnMissingBean(SlackComponent.class)
- public SlackComponent configureSlackComponent(CamelContext camelContext,
- SlackComponentConfiguration configuration) throws Exception {
- SlackComponent component = new SlackComponent();
- 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