CAMEL-10186: Executed the new generator plugin on all components
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/00f86ec6 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/00f86ec6 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/00f86ec6 Branch: refs/heads/master Commit: 00f86ec6e0e63ffdb862216e8b53b9a2a8f52100 Parents: 688e7ac Author: Nicola Ferraro <[email protected]> Authored: Tue Nov 8 12:13:34 2016 +0100 Committer: Nicola Ferraro <[email protected]> Committed: Tue Nov 8 13:50:18 2016 +0100 ---------------------------------------------------------------------- .../AsteriskComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../AtmosComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../AtomComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../CwComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../DdbComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../DdbStreamComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../EC2ComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../KinesisComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../S3ComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../SdbComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../SesComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../SnsComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../SqsComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../SWFComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 39 ++++++++++++++++++ ...BeanValidatorComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../BonitaComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../CassandraComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ ...ronicleEngineComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../ChunkComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../CMComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../CMISComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../CoAPComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../ConsulComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ ...lifiedContextComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../CouchDbComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../DnsComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../DozerComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../DrillComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../DropboxComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../EhcacheComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../EtcdComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../ExecComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../FlatpackComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 4 +- .../FopComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../FtpComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../FtpsComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../SftpComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 23 +++++++++++ .../GeoCoderComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../GitComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../GitHubComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../GoraComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../grape/springboot/GrapeEndpoint.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../HipchatComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../InfinispanComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../InfluxDbComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../IrcComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../IronMQComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../JavaSpaceComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../JBPMComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../JCacheComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../JcrComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../JingComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../JIRAComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../JMXComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../KratiComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../KubernetesComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../LdapComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../MllpComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../GridFsComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../MongoDbComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../MvelComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 4 +- .../NatsComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../OptaPlannerComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../PdfComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../PgEventComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../PrinterComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../RabbitMQComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../RmiComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../RssComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 4 +- .../NetWeaverComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../SchematronComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../SipComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../SnmpComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../SolrComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ ...ngIntegrationComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../SpringLdapComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../RedisComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ ...ingWebserviceComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../StAXComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../StreamComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ ...tringTemplateComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../WeatherComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ .../XmlRpcComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 4 +- .../XmppComponentAutoConfiguration.java | 43 ++++++++++++++++++++ .../main/resources/META-INF/spring.factories | 19 +++++++++ 156 files changed, 4940 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java b/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java new file mode 100644 index 0000000..f13bbae --- /dev/null +++ b/components-starter/camel-asterisk-starter/src/main/java/org/apache/camel/component/asterisk/springboot/AsteriskComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.asterisk.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.asterisk.AsteriskComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class AsteriskComponentAutoConfiguration { + + @Bean(name = "asterisk-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(AsteriskComponent.class) + public AsteriskComponent configureAsteriskComponent( + CamelContext camelContext) throws Exception { + AsteriskComponent component = new AsteriskComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-asterisk-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-asterisk-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-asterisk-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..40dd6e5 --- /dev/null +++ b/components-starter/camel-asterisk-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.asterisk.springboot.AsteriskComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java b/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java new file mode 100644 index 0000000..bd47bd8 --- /dev/null +++ b/components-starter/camel-atmos-starter/src/main/java/org/apache/camel/component/atmos/springboot/AtmosComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.atmos.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.atmos.AtmosComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class AtmosComponentAutoConfiguration { + + @Bean(name = "atmos-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(AtmosComponent.class) + public AtmosComponent configureAtmosComponent(CamelContext camelContext) + throws Exception { + AtmosComponent component = new AtmosComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-atmos-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-atmos-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-atmos-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..011ad91 --- /dev/null +++ b/components-starter/camel-atmos-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.atmos.springboot.AtmosComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java b/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java new file mode 100644 index 0000000..23cb18b --- /dev/null +++ b/components-starter/camel-atom-starter/src/main/java/org/apache/camel/component/atom/springboot/AtomComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.atom.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.atom.AtomComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class AtomComponentAutoConfiguration { + + @Bean(name = "atom-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(AtomComponent.class) + public AtomComponent configureAtomComponent(CamelContext camelContext) + throws Exception { + AtomComponent component = new AtomComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-atom-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-atom-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-atom-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..eca75c4 --- /dev/null +++ b/components-starter/camel-atom-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.atom.springboot.AtomComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java new file mode 100644 index 0000000..a394f1b --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/cw/springboot/CwComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.cw.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.aws.cw.CwComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class CwComponentAutoConfiguration { + + @Bean(name = "aws-cw-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(CwComponent.class) + public CwComponent configureCwComponent(CamelContext camelContext) + throws Exception { + CwComponent component = new CwComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java new file mode 100644 index 0000000..3170bb7 --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddb/springboot/DdbComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.ddb.DdbComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class DdbComponentAutoConfiguration { + + @Bean(name = "aws-ddb-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(DdbComponent.class) + public DdbComponent configureDdbComponent(CamelContext camelContext) + throws Exception { + DdbComponent component = new DdbComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java new file mode 100644 index 0000000..ce6fbdd --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ddbstream/springboot/DdbStreamComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.ddbstream.DdbStreamComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class DdbStreamComponentAutoConfiguration { + + @Bean(name = "aws-ddbstream-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(DdbStreamComponent.class) + public DdbStreamComponent configureDdbStreamComponent( + CamelContext camelContext) throws Exception { + DdbStreamComponent component = new DdbStreamComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java new file mode 100644 index 0000000..f76d76c --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ec2/springboot/EC2ComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.ec2.EC2Component; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class EC2ComponentAutoConfiguration { + + @Bean(name = "aws-ec2-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(EC2Component.class) + public EC2Component configureEC2Component(CamelContext camelContext) + throws Exception { + EC2Component component = new EC2Component(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java new file mode 100644 index 0000000..6854c83 --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/kinesis/springboot/KinesisComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.kinesis.KinesisComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class KinesisComponentAutoConfiguration { + + @Bean(name = "aws-kinesis-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(KinesisComponent.class) + public KinesisComponent configureKinesisComponent(CamelContext camelContext) + throws Exception { + KinesisComponent component = new KinesisComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java new file mode 100644 index 0000000..d5b14ba --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.s3.S3Component; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class S3ComponentAutoConfiguration { + + @Bean(name = "aws-s3-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(S3Component.class) + public S3Component configureS3Component(CamelContext camelContext) + throws Exception { + S3Component component = new S3Component(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java new file mode 100644 index 0000000..d88fdee --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sdb/springboot/SdbComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.sdb.SdbComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class SdbComponentAutoConfiguration { + + @Bean(name = "aws-sdb-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(SdbComponent.class) + public SdbComponent configureSdbComponent(CamelContext camelContext) + throws Exception { + SdbComponent component = new SdbComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java new file mode 100644 index 0000000..b10856e --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/ses/springboot/SesComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.ses.SesComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class SesComponentAutoConfiguration { + + @Bean(name = "aws-ses-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(SesComponent.class) + public SesComponent configureSesComponent(CamelContext camelContext) + throws Exception { + SesComponent component = new SesComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java new file mode 100644 index 0000000..653fdfa --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.sns.SnsComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class SnsComponentAutoConfiguration { + + @Bean(name = "aws-sns-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(SnsComponent.class) + public SnsComponent configureSnsComponent(CamelContext camelContext) + throws Exception { + SnsComponent component = new SnsComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java new file mode 100644 index 0000000..9533f62 --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/sqs/springboot/SqsComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.sqs.SqsComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class SqsComponentAutoConfiguration { + + @Bean(name = "aws-sqs-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(SqsComponent.class) + public SqsComponent configureSqsComponent(CamelContext camelContext) + throws Exception { + SqsComponent component = new SqsComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java new file mode 100644 index 0000000..46463ac --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/java/org/apache/camel/component/aws/swf/springboot/SWFComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.aws.swf.SWFComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class SWFComponentAutoConfiguration { + + @Bean(name = "aws-swf-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(SWFComponent.class) + public SWFComponent configureSWFComponent(CamelContext camelContext) + throws Exception { + SWFComponent component = new SWFComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-aws-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-aws-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-aws-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..729f3b3 --- /dev/null +++ b/components-starter/camel-aws-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,39 @@ +# +# 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,\ +org.apache.camel.component.aws.ses.springboot.SesComponentAutoConfiguration,\ +org.apache.camel.component.aws.sns.springboot.SnsComponentAutoConfiguration,\ +org.apache.camel.component.aws.sdb.springboot.SdbComponentAutoConfiguration,\ +org.apache.camel.component.aws.kinesis.springboot.KinesisComponentAutoConfiguration,\ +org.apache.camel.component.aws.s3.springboot.S3ComponentAutoConfiguration,\ +org.apache.camel.component.aws.ddbstream.springboot.DdbStreamComponentAutoConfiguration,\ +org.apache.camel.component.aws.sqs.springboot.SqsComponentAutoConfiguration,\ +org.apache.camel.component.aws.ec2.springboot.EC2ComponentAutoConfiguration,\ +org.apache.camel.component.aws.cw.springboot.CwComponentAutoConfiguration,\ +org.apache.camel.component.aws.ddb.springboot.DdbComponentAutoConfiguration + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java b/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java new file mode 100644 index 0000000..fd4ac67 --- /dev/null +++ b/components-starter/camel-bean-validator-starter/src/main/java/org/apache/camel/component/bean/validator/springboot/BeanValidatorComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.bean.validator.BeanValidatorComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class BeanValidatorComponentAutoConfiguration { + + @Bean(name = "bean-validator-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(BeanValidatorComponent.class) + public BeanValidatorComponent configureBeanValidatorComponent( + CamelContext camelContext) throws Exception { + BeanValidatorComponent component = new BeanValidatorComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-bean-validator-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-bean-validator-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-bean-validator-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..3658c6c --- /dev/null +++ b/components-starter/camel-bean-validator-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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/00f86ec6/components-starter/camel-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java b/components-starter/camel-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java new file mode 100644 index 0000000..24d75c1 --- /dev/null +++ b/components-starter/camel-bonita-starter/src/main/java/org/apache/camel/component/bonita/springboot/BonitaComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.bonita.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.bonita.BonitaComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class BonitaComponentAutoConfiguration { + + @Bean(name = "bonita-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(BonitaComponent.class) + public BonitaComponent configureBonitaComponent(CamelContext camelContext) + throws Exception { + BonitaComponent component = new BonitaComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-bonita-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-bonita-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-bonita-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..5e56af0 --- /dev/null +++ b/components-starter/camel-bonita-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.bonita.springboot.BonitaComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java b/components-starter/camel-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java new file mode 100644 index 0000000..097c2ad --- /dev/null +++ b/components-starter/camel-cassandraql-starter/src/main/java/org/apache/camel/component/cassandra/springboot/CassandraComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.apache.camel.CamelContext; +import org.apache.camel.component.cassandra.CassandraComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class CassandraComponentAutoConfiguration { + + @Bean(name = "cql-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(CassandraComponent.class) + public CassandraComponent configureCassandraComponent( + CamelContext camelContext) throws Exception { + CassandraComponent component = new CassandraComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-cassandraql-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-cassandraql-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-cassandraql-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..ff39091 --- /dev/null +++ b/components-starter/camel-cassandraql-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.cassandra.springboot.CassandraComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java b/components-starter/camel-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java new file mode 100644 index 0000000..f454949 --- /dev/null +++ b/components-starter/camel-chronicle-starter/src/main/java/org/apache/camel/component/chronicle/engine/springboot/ChronicleEngineComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.chronicle.engine.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.chronicle.engine.ChronicleEngineComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class ChronicleEngineComponentAutoConfiguration { + + @Bean(name = "chronicle-engine-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(ChronicleEngineComponent.class) + public ChronicleEngineComponent configureChronicleEngineComponent( + CamelContext camelContext) throws Exception { + ChronicleEngineComponent component = new ChronicleEngineComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-chronicle-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-chronicle-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-chronicle-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..d08ec98 --- /dev/null +++ b/components-starter/camel-chronicle-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.chronicle.engine.springboot.ChronicleEngineComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java b/components-starter/camel-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java new file mode 100644 index 0000000..e16b320 --- /dev/null +++ b/components-starter/camel-chunk-starter/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.chunk.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.chunk.ChunkComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class ChunkComponentAutoConfiguration { + + @Bean(name = "chunk-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(ChunkComponent.class) + public ChunkComponent configureChunkComponent(CamelContext camelContext) + throws Exception { + ChunkComponent component = new ChunkComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-chunk-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-chunk-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-chunk-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..0bb0704 --- /dev/null +++ b/components-starter/camel-chunk-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.chunk.springboot.ChunkComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java b/components-starter/camel-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java new file mode 100644 index 0000000..e9499ec --- /dev/null +++ b/components-starter/camel-cm-sms-starter/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.cm.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.cm.CMComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class CMComponentAutoConfiguration { + + @Bean(name = "cm-sms-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(CMComponent.class) + public CMComponent configureCMComponent(CamelContext camelContext) + throws Exception { + CMComponent component = new CMComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-cm-sms-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-cm-sms-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-cm-sms-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..53fe560 --- /dev/null +++ b/components-starter/camel-cm-sms-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.cm.springboot.CMComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java b/components-starter/camel-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java new file mode 100644 index 0000000..d76e5f7 --- /dev/null +++ b/components-starter/camel-cmis-starter/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.cmis.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.component.cmis.CMISComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class CMISComponentAutoConfiguration { + + @Bean(name = "cmis-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(CMISComponent.class) + public CMISComponent configureCMISComponent(CamelContext camelContext) + throws Exception { + CMISComponent component = new CMISComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-cmis-starter/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components-starter/camel-cmis-starter/src/main/resources/META-INF/spring.factories b/components-starter/camel-cmis-starter/src/main/resources/META-INF/spring.factories new file mode 100644 index 0000000..56d8aca --- /dev/null +++ b/components-starter/camel-cmis-starter/src/main/resources/META-INF/spring.factories @@ -0,0 +1,19 @@ +# +# 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.cmis.springboot.CMISComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/00f86ec6/components-starter/camel-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java b/components-starter/camel-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java new file mode 100644 index 0000000..e958022 --- /dev/null +++ b/components-starter/camel-coap-starter/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java @@ -0,0 +1,43 @@ +/** + * 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.coap.springboot; + +import org.apache.camel.CamelContext; +import org.apache.camel.coap.CoAPComponent; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Configuration +@ConditionalOnBean(type = "org.apache.camel.springboot.CamelAutoConfiguration") +public class CoAPComponentAutoConfiguration { + + @Bean(name = "coap-component") + @ConditionalOnClass(CamelContext.class) + @ConditionalOnMissingBean(CoAPComponent.class) + public CoAPComponent configureCoAPComponent(CamelContext camelContext) + throws Exception { + CoAPComponent component = new CoAPComponent(); + component.setCamelContext(camelContext); + return component; + } +} \ No newline at end of file
