http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentConfiguration.java deleted file mode 100644 index 4ecf778..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.ddb.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-ddb component is used for storing and retrieving data from Amazon's - * DynamoDB service. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-ddb") -public class DdbComponentConfiguration { -} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java deleted file mode 100644 index 4311f4e..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.ddbstream.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.ddbstream.DdbStreamComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(DdbStreamComponentConfiguration.class) -public class DdbStreamComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(DdbStreamComponent.class) - public DdbStreamComponent configureComponent(CamelContext camelContext, - DdbStreamComponentConfiguration configuration) throws Exception { - DdbStreamComponent component = new DdbStreamComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentConfiguration.java deleted file mode 100644 index 44cf331..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentConfiguration.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.ddbstream.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-ddbstream component is used for working with Amazon DynamoDB Streams. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-ddbstream") -public class DdbStreamComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java deleted file mode 100644 index a216c78..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.ec2.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.ec2.EC2Component; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(EC2ComponentConfiguration.class) -public class EC2ComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(EC2Component.class) - public EC2Component configureComponent(CamelContext camelContext, - EC2ComponentConfiguration configuration) throws Exception { - EC2Component component = new EC2Component(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentConfiguration.java deleted file mode 100644 index 21d11b2..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentConfiguration.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.ec2.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-ec2 is used for managing Amazon EC2 instances. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-ec2") -public class EC2ComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java deleted file mode 100644 index 2abe28b..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.kinesis.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.kinesis.KinesisComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(KinesisComponentConfiguration.class) -public class KinesisComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(KinesisComponent.class) - public KinesisComponent configureComponent(CamelContext camelContext, - KinesisComponentConfiguration configuration) throws Exception { - KinesisComponent component = new KinesisComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentConfiguration.java deleted file mode 100644 index abaf68e..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.kinesis.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-kinesis component is for consuming records from Amazon Kinesis - * Streams. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-kinesis") -public class KinesisComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java deleted file mode 100644 index 53507b3..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.s3.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.s3.S3Component; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(S3ComponentConfiguration.class) -public class S3ComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(S3Component.class) - public S3Component configureComponent(CamelContext camelContext, - S3ComponentConfiguration configuration) throws Exception { - S3Component component = new S3Component(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java deleted file mode 100644 index 8e96dba..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.s3.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-s3 component is used for storing and retrieving objecct from Amazon - * S3 Storage Service. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-s3") -public class S3ComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java deleted file mode 100644 index e96e0d0..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.sdb.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.sdb.SdbComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SdbComponentConfiguration.class) -public class SdbComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SdbComponent.class) - public SdbComponent configureComponent(CamelContext camelContext, - SdbComponentConfiguration configuration) throws Exception { - SdbComponent component = new SdbComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentConfiguration.java deleted file mode 100644 index 4460c24..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.sdb.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-sdb component is for storing and retrieving data from/to Amazon's SDB - * service. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-sdb") -public class SdbComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java deleted file mode 100644 index 26029b5..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.ses.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.ses.SesComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SesComponentConfiguration.class) -public class SesComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SesComponent.class) - public SesComponent configureComponent(CamelContext camelContext, - SesComponentConfiguration configuration) throws Exception { - SesComponent component = new SesComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentConfiguration.java deleted file mode 100644 index afbb20f..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentConfiguration.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.ses.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-ses component is used for sending emails with Amazon's SES service. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-ses") -public class SesComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java deleted file mode 100644 index a9d2ad1..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.sns.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.sns.SnsComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SnsComponentConfiguration.class) -public class SnsComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SnsComponent.class) - public SnsComponent configureComponent(CamelContext camelContext, - SnsComponentConfiguration configuration) throws Exception { - SnsComponent component = new SnsComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java deleted file mode 100644 index 31cf3cd..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.sns.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-sns component is used for sending messages to an Amazon Simple - * Notification Topic. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-sns") -public class SnsComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java deleted file mode 100644 index d6e2644..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.sqs.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.sqs.SqsComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SqsComponentConfiguration.class) -public class SqsComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SqsComponent.class) - public SqsComponent configureComponent(CamelContext camelContext, - SqsComponentConfiguration configuration) throws Exception { - SqsComponent component = new SqsComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentConfiguration.java deleted file mode 100644 index 9cf8d88..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.sqs.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-sqs component is used for sending and receiving messages to Amazon's - * SQS service. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-sqs") -public class SqsComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java deleted file mode 100644 index 12b3134..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.swf.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.aws.swf.SWFComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(SWFComponentConfiguration.class) -public class SWFComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(SWFComponent.class) - public SWFComponent configureComponent(CamelContext camelContext, - SWFComponentConfiguration configuration) throws Exception { - SWFComponent component = new SWFComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentConfiguration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentConfiguration.java deleted file mode 100644 index 1a6b70e..0000000 --- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.aws.swf.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The aws-swf component is used for managing workflows from Amazon Simple - * Workflow. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.aws-swf") -public class SWFComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-aws/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/resources/META-INF/spring.factories b/components/camel-aws/src/main/resources/META-INF/spring.factories deleted file mode 100644 index a02ce85..0000000 --- a/components/camel-aws/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.aws.swf.springboot.SWFComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java b/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java deleted file mode 100644 index 69eb85d..0000000 --- a/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.bean.validator.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.bean.validator.BeanValidatorComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(BeanValidatorComponentConfiguration.class) -public class BeanValidatorComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(BeanValidatorComponent.class) - public BeanValidatorComponent configureComponent(CamelContext camelContext, - BeanValidatorComponentConfiguration configuration) throws Exception { - BeanValidatorComponent component = new BeanValidatorComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentConfiguration.java b/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentConfiguration.java deleted file mode 100644 index ac9cb97..0000000 --- a/components/camel-bean-validator/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.bean.validator.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The Validator component performs bean validation of the message body using - * the Java Bean Validation API. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.bean-validator") -public class BeanValidatorComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-bean-validator/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-bean-validator/src/main/resources/META-INF/spring.factories b/components/camel-bean-validator/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 3658c6c..0000000 --- a/components/camel-bean-validator/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.bean.validator.springboot.BeanValidatorComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java deleted file mode 100644 index 6b6297e..0000000 --- a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.beanstalk.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.beanstalk.BeanstalkComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(BeanstalkComponentConfiguration.class) -public class BeanstalkComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(BeanstalkComponent.class) - public BeanstalkComponent configureComponent(CamelContext camelContext, - BeanstalkComponentConfiguration configuration) throws Exception { - BeanstalkComponent component = new BeanstalkComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java b/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java deleted file mode 100644 index c5adda4..0000000 --- a/components/camel-beanstalk/src/main/java/org/apache/camel/component/beanstalk/springboot/BeanstalkComponentConfiguration.java +++ /dev/null @@ -1,46 +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.beanstalk.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.component.beanstalk.ConnectionSettingsFactory; - -/** - * The beanstalk component is used for job retrieval and post-processing of - * Beanstalk jobs. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.beanstalk") -public class BeanstalkComponentConfiguration { - - /** - * Custom ConnectionSettingsFactory. Specify which ConnectionSettingsFactory - * to use to make connections to Beanstalkd. Especially useful for unit - * testing without beanstalkd daemon (you can mock ConnectionSettings) - */ - private ConnectionSettingsFactory connectionSettingsFactory; - - public ConnectionSettingsFactory getConnectionSettingsFactory() { - return connectionSettingsFactory; - } - - public void setConnectionSettingsFactory( - ConnectionSettingsFactory connectionSettingsFactory) { - this.connectionSettingsFactory = connectionSettingsFactory; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-beanstalk/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-beanstalk/src/main/resources/META-INF/spring.factories b/components/camel-beanstalk/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 9d05330..0000000 --- a/components/camel-beanstalk/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.beanstalk.springboot.BeanstalkComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java deleted file mode 100644 index a5540ed..0000000 --- a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.box.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.box.BoxComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(BoxComponentConfiguration.class) -public class BoxComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(BoxComponent.class) - public BoxComponent configureComponent(CamelContext camelContext, - BoxComponentConfiguration configuration) throws Exception { - BoxComponent component = new BoxComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java b/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.java deleted file mode 100644 index ff0bbaa..0000000 --- a/components/camel-box/src/main/java/org/apache/camel/component/box/springboot/BoxComponentConfiguration.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.box.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.component.box.BoxConfiguration; - -/** - * For uploading downloading and managing files folders groups collaborations - * etc on box DOT com. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.box") -public class BoxComponentConfiguration { - - /** - * To use the shared configuration - */ - private BoxConfiguration configuration; - - public BoxConfiguration getConfiguration() { - return configuration; - } - - public void setConfiguration(BoxConfiguration configuration) { - this.configuration = configuration; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-box/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-box/src/main/resources/META-INF/spring.factories b/components/camel-box/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 1cecc33..0000000 --- a/components/camel-box/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.box.springboot.BoxComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java deleted file mode 100644 index febed50..0000000 --- a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.braintree.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.braintree.BraintreeComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(BraintreeComponentConfiguration.class) -public class BraintreeComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(BraintreeComponent.class) - public BraintreeComponent configureComponent(CamelContext camelContext, - BraintreeComponentConfiguration configuration) throws Exception { - BraintreeComponent component = new BraintreeComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java b/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.java deleted file mode 100644 index fbf4cb5..0000000 --- a/components/camel-braintree/src/main/java/org/apache/camel/component/braintree/springboot/BraintreeComponentConfiguration.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.braintree.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.component.braintree.BraintreeConfiguration; - -/** - * The braintree component is used for integrating with the Braintree Payment - * System. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.braintree") -public class BraintreeComponentConfiguration { - - /** - * To use the shared configuration - */ - private BraintreeConfiguration configuration; - - public BraintreeConfiguration getConfiguration() { - return configuration; - } - - public void setConfiguration(BraintreeConfiguration configuration) { - this.configuration = configuration; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-braintree/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-braintree/src/main/resources/META-INF/spring.factories b/components/camel-braintree/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 00066a8..0000000 --- a/components/camel-braintree/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.braintree.springboot.BraintreeComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java deleted file mode 100644 index c867216..0000000 --- a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.cache.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.cache.CacheComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(CacheComponentConfiguration.class) -public class CacheComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CacheComponent.class) - public CacheComponent configureComponent(CamelContext camelContext, - CacheComponentConfiguration configuration) throws Exception { - CacheComponent component = new CacheComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java b/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java deleted file mode 100644 index 01f927c..0000000 --- a/components/camel-cache/src/main/java/org/apache/camel/component/cache/springboot/CacheComponentConfiguration.java +++ /dev/null @@ -1,70 +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.cache.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.component.cache.CacheManagerFactory; -import org.apache.camel.component.cache.CacheConfiguration; - -/** - * The cache component enables you to perform caching operations using EHCache - * as the Cache Implementation. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.cache") -public class CacheComponentConfiguration { - - /** - * To use the given CacheManagerFactory for creating the CacheManager. By - * default the DefaultCacheManagerFactory is used. - */ - private CacheManagerFactory cacheManagerFactory; - /** - * Sets the Cache configuration - */ - private CacheConfiguration configuration; - /** - * Sets the location of the ehcache.xml file to load from classpath or file - * system. By default the file is loaded from classpath:ehcache.xml - */ - private String configurationFile; - - public CacheManagerFactory getCacheManagerFactory() { - return cacheManagerFactory; - } - - public void setCacheManagerFactory(CacheManagerFactory cacheManagerFactory) { - this.cacheManagerFactory = cacheManagerFactory; - } - - public CacheConfiguration getConfiguration() { - return configuration; - } - - public void setConfiguration(CacheConfiguration configuration) { - this.configuration = configuration; - } - - public String getConfigurationFile() { - return configurationFile; - } - - public void setConfigurationFile(String configurationFile) { - this.configurationFile = configurationFile; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cache/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-cache/src/main/resources/META-INF/spring.factories b/components/camel-cache/src/main/resources/META-INF/spring.factories deleted file mode 100644 index f9df793..0000000 --- a/components/camel-cache/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.cache.springboot.CacheComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java b/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java deleted file mode 100644 index 1d76a01..0000000 --- a/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.cassandra.springboot; - -import org.springframework.context.annotation.Configuration; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.component.cassandra.CassandraComponent; -import org.apache.camel.CamelContext; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.context.annotation.Bean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(CassandraComponentConfiguration.class) -public class CassandraComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CassandraComponent.class) - public CassandraComponent configureComponent(CamelContext camelContext, - CassandraComponentConfiguration configuration) throws Exception { - CassandraComponent component = new CassandraComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentConfiguration.java b/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentConfiguration.java deleted file mode 100644 index 81408c5..0000000 --- a/components/camel-cassandraql/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentConfiguration.java +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.cassandra.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The cql component aims at integrating Cassandra 2.0 using the CQL3 API (not - * the Thrift API). - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.cql") -public class CassandraComponentConfiguration { -} \ No newline at end of file
