http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cassandraql/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-cassandraql/src/main/resources/META-INF/spring.factories b/components/camel-cassandraql/src/main/resources/META-INF/spring.factories deleted file mode 100644 index ff39091..0000000 --- a/components/camel-cassandraql/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.cassandra.springboot.CassandraComponentAutoConfiguration
http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java b/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.java deleted file mode 100644 index 3c855f2..0000000 --- a/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentAutoConfiguration.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.chunk.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.chunk.ChunkComponent; -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(ChunkComponentConfiguration.class) -public class ChunkComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(ChunkComponent.class) - public ChunkComponent configureComponent(CamelContext camelContext, - ChunkComponentConfiguration configuration) throws Exception { - ChunkComponent component = new ChunkComponent(); - 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-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentConfiguration.java b/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentConfiguration.java deleted file mode 100644 index 52af25b..0000000 --- a/components/camel-chunk/src/main/java/org/apache/camel/component/chunk/springboot/ChunkComponentConfiguration.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.chunk.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Transforms the message using a Chunk template. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.chunk") -public class ChunkComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-chunk/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-chunk/src/main/resources/META-INF/spring.factories b/components/camel-chunk/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 0bb0704..0000000 --- a/components/camel-chunk/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.chunk.springboot.ChunkComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.java deleted file mode 100644 index 630ad0a..0000000 --- a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentAutoConfiguration.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.cm.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.cm.CMComponent; -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(CMComponentConfiguration.class) -public class CMComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CMComponent.class) - public CMComponent configureComponent(CamelContext camelContext, - CMComponentConfiguration configuration) throws Exception { - CMComponent component = new CMComponent(); - 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-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentConfiguration.java b/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentConfiguration.java deleted file mode 100644 index 0dcfd07..0000000 --- a/components/camel-cm-sms/src/main/java/org/apache/camel/component/cm/springboot/CMComponentConfiguration.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.cm.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Camel CM SMS Gateway Component - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.cm-sms") -public class CMComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cm-sms/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-cm-sms/src/main/resources/META-INF/spring.factories b/components/camel-cm-sms/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 53fe560..0000000 --- a/components/camel-cm-sms/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.cm.springboot.CMComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java b/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.java deleted file mode 100644 index fae2b23..0000000 --- a/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentAutoConfiguration.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.cmis.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.cmis.CMISComponent; -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(CMISComponentConfiguration.class) -public class CMISComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CMISComponent.class) - public CMISComponent configureComponent(CamelContext camelContext, - CMISComponentConfiguration configuration) throws Exception { - CMISComponent component = new CMISComponent(); - 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-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentConfiguration.java b/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentConfiguration.java deleted file mode 100644 index 182978e..0000000 --- a/components/camel-cmis/src/main/java/org/apache/camel/component/cmis/springboot/CMISComponentConfiguration.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.cmis.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The cmis component uses the Apache Chemistry client API and allows you to - * add/read nodes to/from a CMIS compliant content repositories. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.cmis") -public class CMISComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cmis/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-cmis/src/main/resources/META-INF/spring.factories b/components/camel-cmis/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 56d8aca..0000000 --- a/components/camel-cmis/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.cmis.springboot.CMISComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java b/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.java deleted file mode 100644 index 3a08a74..0000000 --- a/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentAutoConfiguration.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.coap.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.coap.CoAPComponent; -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(CoAPComponentConfiguration.class) -public class CoAPComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CoAPComponent.class) - public CoAPComponent configureComponent(CamelContext camelContext, - CoAPComponentConfiguration configuration) throws Exception { - CoAPComponent component = new CoAPComponent(); - 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-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentConfiguration.java b/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentConfiguration.java deleted file mode 100644 index b6942e0..0000000 --- a/components/camel-coap/src/main/java/org/apache/camel/coap/springboot/CoAPComponentConfiguration.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.coap.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The coap component is used for sending and receiving messages from COAP - * capable devices. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.coap") -public class CoAPComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-coap/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-coap/src/main/resources/META-INF/spring.factories b/components/camel-coap/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 82beb02..0000000 --- a/components/camel-coap/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.coap.springboot.CoAPComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.java deleted file mode 100644 index 772565d..0000000 --- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentAutoConfiguration.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.cometd.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.cometd.CometdComponent; -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(CometdComponentConfiguration.class) -public class CometdComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CometdComponent.class) - public CometdComponent configureComponent(CamelContext camelContext, - CometdComponentConfiguration configuration) throws Exception { - CometdComponent component = new CometdComponent(); - 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-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java b/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java deleted file mode 100644 index 4cf997b..0000000 --- a/components/camel-cometd/src/main/java/org/apache/camel/component/cometd/springboot/CometdComponentConfiguration.java +++ /dev/null @@ -1,108 +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.cometd.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.cometd.bayeux.server.SecurityPolicy; -import java.util.List; -import org.cometd.bayeux.server.BayeuxServer.Extension; -import org.apache.camel.util.jsse.SSLContextParameters; - -/** - * The cometd component is a transport for working with the Jetty implementation - * of the cometd/bayeux protocol. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.cometds") -public class CometdComponentConfiguration { - - /** - * The password for the keystore when using SSL. - */ - private String sslKeyPassword; - /** - * The password when using SSL. - */ - private String sslPassword; - /** - * The path to the keystore. - */ - private String sslKeystore; - /** - * To use a custom configured SecurityPolicy to control authorization - */ - private SecurityPolicy securityPolicy; - /** - * To use a list of custom BayeuxServer.Extension that allows modifying - * incoming and outgoing requests. - */ - private List<org.cometd.bayeux.server.BayeuxServer.Extension> extensions; - /** - * To configure security using SSLContextParameters - */ - private SSLContextParameters sslContextParameters; - - public String getSslKeyPassword() { - return sslKeyPassword; - } - - public void setSslKeyPassword(String sslKeyPassword) { - this.sslKeyPassword = sslKeyPassword; - } - - public String getSslPassword() { - return sslPassword; - } - - public void setSslPassword(String sslPassword) { - this.sslPassword = sslPassword; - } - - public String getSslKeystore() { - return sslKeystore; - } - - public void setSslKeystore(String sslKeystore) { - this.sslKeystore = sslKeystore; - } - - public SecurityPolicy getSecurityPolicy() { - return securityPolicy; - } - - public void setSecurityPolicy(SecurityPolicy securityPolicy) { - this.securityPolicy = securityPolicy; - } - - public List<Extension> getExtensions() { - return extensions; - } - - public void setExtensions(List<Extension> extensions) { - this.extensions = extensions; - } - - public SSLContextParameters getSslContextParameters() { - return sslContextParameters; - } - - public void setSslContextParameters( - SSLContextParameters sslContextParameters) { - this.sslContextParameters = sslContextParameters; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cometd/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-cometd/src/main/resources/META-INF/spring.factories b/components/camel-cometd/src/main/resources/META-INF/spring.factories deleted file mode 100644 index b2c7883..0000000 --- a/components/camel-cometd/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.cometd.springboot.CometdComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java b/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.java deleted file mode 100644 index 79b85a5..0000000 --- a/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentAutoConfiguration.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.consul.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.consul.ConsulComponent; -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(ConsulComponentConfiguration.class) -public class ConsulComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(ConsulComponent.class) - public ConsulComponent configureComponent(CamelContext camelContext, - ConsulComponentConfiguration configuration) throws Exception { - ConsulComponent component = new ConsulComponent(); - 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-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentConfiguration.java b/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentConfiguration.java deleted file mode 100644 index 34b3150..0000000 --- a/components/camel-consul/src/main/java/org/apache/camel/component/consul/springboot/ConsulComponentConfiguration.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.consul.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Camel Consul support - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.consul") -public class ConsulComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-consul/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-consul/src/main/resources/META-INF/spring.factories b/components/camel-consul/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 85286f6..0000000 --- a/components/camel-consul/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.consul.springboot.ConsulComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java b/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java deleted file mode 100644 index f3b817e..0000000 --- a/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentAutoConfiguration.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.context.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.context.QualifiedContextComponent; -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(QualifiedContextComponentConfiguration.class) -public class QualifiedContextComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(QualifiedContextComponent.class) - public QualifiedContextComponent configureComponent( - CamelContext camelContext, - QualifiedContextComponentConfiguration configuration) - throws Exception { - QualifiedContextComponent component = new QualifiedContextComponent(); - 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-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentConfiguration.java b/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentConfiguration.java deleted file mode 100644 index 82bab81..0000000 --- a/components/camel-context/src/main/java/org/apache/camel/component/context/springboot/QualifiedContextComponentConfiguration.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.context.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The context component allows to send/receive messages between Camel routes in - * a black box way. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.context") -public class QualifiedContextComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-context/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-context/src/main/resources/META-INF/spring.factories b/components/camel-context/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 8ab5468..0000000 --- a/components/camel-context/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.context.springboot.QualifiedContextComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java b/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.java deleted file mode 100644 index 63efa12..0000000 --- a/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentAutoConfiguration.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.couchdb.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.couchdb.CouchDbComponent; -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(CouchDbComponentConfiguration.class) -public class CouchDbComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CouchDbComponent.class) - public CouchDbComponent configureComponent(CamelContext camelContext, - CouchDbComponentConfiguration configuration) throws Exception { - CouchDbComponent component = new CouchDbComponent(); - 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-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentConfiguration.java b/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentConfiguration.java deleted file mode 100644 index 9d8916b..0000000 --- a/components/camel-couchdb/src/main/java/org/apache/camel/component/couchdb/springboot/CouchDbComponentConfiguration.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.couchdb.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * The couchdb component is used for integrate with CouchDB databases. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.couchdb") -public class CouchDbComponentConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-couchdb/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-couchdb/src/main/resources/META-INF/spring.factories b/components/camel-couchdb/src/main/resources/META-INF/spring.factories deleted file mode 100644 index eda969c..0000000 --- a/components/camel-couchdb/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.couchdb.springboot.CouchDbComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java deleted file mode 100644 index 8c6bd42..0000000 --- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentAutoConfiguration.java +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.crypto.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.crypto.DigitalSignatureComponent; -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(DigitalSignatureComponentConfiguration.class) -public class DigitalSignatureComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(DigitalSignatureComponent.class) - public DigitalSignatureComponent configureComponent( - CamelContext camelContext, - DigitalSignatureComponentConfiguration configuration) - throws Exception { - DigitalSignatureComponent component = new DigitalSignatureComponent(); - 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-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java b/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.java deleted file mode 100644 index 6f5c02d..0000000 --- a/components/camel-crypto/src/main/java/org/apache/camel/component/crypto/springboot/DigitalSignatureComponentConfiguration.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.crypto.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.component.crypto.DigitalSignatureConfiguration; - -/** - * The crypto component is used for signing and verifying exchanges using the - * Signature Service of the Java Cryptographic Extension (JCE). - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.crypto") -public class DigitalSignatureComponentConfiguration { - - /** - * To use the shared DigitalSignatureConfiguration as configuration - */ - private DigitalSignatureConfiguration configuration; - - public DigitalSignatureConfiguration getConfiguration() { - return configuration; - } - - public void setConfiguration(DigitalSignatureConfiguration configuration) { - this.configuration = configuration; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-crypto/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-crypto/src/main/resources/META-INF/spring.factories b/components/camel-crypto/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 7fd3d83..0000000 --- a/components/camel-crypto/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.crypto.springboot.DigitalSignatureComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.java deleted file mode 100644 index 92e8128..0000000 --- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentAutoConfiguration.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.cxf.jaxrs.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.cxf.jaxrs.CxfRsComponent; -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(CxfRsComponentConfiguration.class) -public class CxfRsComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CxfRsComponent.class) - public CxfRsComponent configureComponent(CamelContext camelContext, - CxfRsComponentConfiguration configuration) throws Exception { - CxfRsComponent component = new CxfRsComponent(); - 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-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java deleted file mode 100644 index 62c494f..0000000 --- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/springboot/CxfRsComponentConfiguration.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.cxf.jaxrs.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.spi.HeaderFilterStrategy; - -/** - * The cxfrs component is used for JAX-RS REST services using Apache CXF. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.cxfrs") -public class CxfRsComponentConfiguration { - - /** - * To use a custom HeaderFilterStrategy to filter header to and from Camel - * message. - */ - private HeaderFilterStrategy headerFilterStrategy; - - public HeaderFilterStrategy getHeaderFilterStrategy() { - return headerFilterStrategy; - } - - public void setHeaderFilterStrategy( - HeaderFilterStrategy headerFilterStrategy) { - this.headerFilterStrategy = headerFilterStrategy; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.java deleted file mode 100644 index 4a69480..0000000 --- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentAutoConfiguration.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.cxf.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.cxf.CxfComponent; -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(CxfComponentConfiguration.class) -public class CxfComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(CxfComponent.class) - public CxfComponent configureComponent(CamelContext camelContext, - CxfComponentConfiguration configuration) throws Exception { - CxfComponent component = new CxfComponent(); - 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-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java deleted file mode 100644 index c863627..0000000 --- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/springboot/CxfComponentConfiguration.java +++ /dev/null @@ -1,59 +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.cxf.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.spi.HeaderFilterStrategy; - -/** - * The cxf component is used for SOAP WebServices using Apache CXF. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.cxf") -public class CxfComponentConfiguration { - - /** - * This option controls whether the CXF component when running in PAYLOAD - * mode will DOM parse the incoming messages into DOM Elements or keep the - * payload as a javax.xml.transform.Source object that would allow streaming - * in some cases. - */ - private Boolean allowStreaming; - /** - * To use a custom HeaderFilterStrategy to filter header to and from Camel - * message. - */ - private HeaderFilterStrategy headerFilterStrategy; - - public Boolean getAllowStreaming() { - return allowStreaming; - } - - public void setAllowStreaming(Boolean allowStreaming) { - this.allowStreaming = allowStreaming; - } - - public HeaderFilterStrategy getHeaderFilterStrategy() { - return headerFilterStrategy; - } - - public void setHeaderFilterStrategy( - HeaderFilterStrategy headerFilterStrategy) { - this.headerFilterStrategy = headerFilterStrategy; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-cxf/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/main/resources/META-INF/spring.factories b/components/camel-cxf/src/main/resources/META-INF/spring.factories deleted file mode 100644 index e72480d..0000000 --- a/components/camel-cxf/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.cxf.jaxrs.springboot.CxfRsComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.java deleted file mode 100644 index 2ebcf6a..0000000 --- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentAutoConfiguration.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.disruptor.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.disruptor.DisruptorComponent; -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(DisruptorComponentConfiguration.class) -public class DisruptorComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(DisruptorComponent.class) - public DisruptorComponent configureComponent(CamelContext camelContext, - DisruptorComponentConfiguration configuration) throws Exception { - DisruptorComponent component = new DisruptorComponent(); - 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-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java deleted file mode 100644 index 048f835..0000000 --- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/springboot/DisruptorComponentConfiguration.java +++ /dev/null @@ -1,120 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.disruptor.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.apache.camel.component.disruptor.DisruptorProducerType; -import org.apache.camel.component.disruptor.DisruptorWaitStrategy; - -/** - * The disruptor component provides asynchronous SEDA behavior using LMAX - * Disruptor. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.disruptor") -public class DisruptorComponentConfiguration { - - /** - * To configure the default number of concurrent consumers - */ - private int defaultConcurrentConsumers; - /** - * To configure the default value for multiple consumers - */ - private boolean defaultMultipleConsumers; - /** - * To configure the default value for DisruptorProducerType The default - * value is Multi. - */ - private DisruptorProducerType defaultProducerType; - /** - * To configure the default value for DisruptorWaitStrategy The default - * value is Blocking. - */ - private DisruptorWaitStrategy defaultWaitStrategy; - /** - * To configure the default value for block when full The default value is - * true. - */ - private boolean defaultBlockWhenFull; - /** - * To configure the ring buffer size - */ - @Deprecated - private int queueSize; - /** - * To configure the ring buffer size - */ - private int bufferSize; - - public int getDefaultConcurrentConsumers() { - return defaultConcurrentConsumers; - } - - public void setDefaultConcurrentConsumers(int defaultConcurrentConsumers) { - this.defaultConcurrentConsumers = defaultConcurrentConsumers; - } - - public boolean isDefaultMultipleConsumers() { - return defaultMultipleConsumers; - } - - public void setDefaultMultipleConsumers(boolean defaultMultipleConsumers) { - this.defaultMultipleConsumers = defaultMultipleConsumers; - } - - public DisruptorProducerType getDefaultProducerType() { - return defaultProducerType; - } - - public void setDefaultProducerType(DisruptorProducerType defaultProducerType) { - this.defaultProducerType = defaultProducerType; - } - - public DisruptorWaitStrategy getDefaultWaitStrategy() { - return defaultWaitStrategy; - } - - public void setDefaultWaitStrategy(DisruptorWaitStrategy defaultWaitStrategy) { - this.defaultWaitStrategy = defaultWaitStrategy; - } - - public boolean isDefaultBlockWhenFull() { - return defaultBlockWhenFull; - } - - public void setDefaultBlockWhenFull(boolean defaultBlockWhenFull) { - this.defaultBlockWhenFull = defaultBlockWhenFull; - } - - public int getQueueSize() { - return queueSize; - } - - public void setQueueSize(int queueSize) { - this.queueSize = queueSize; - } - - public int getBufferSize() { - return bufferSize; - } - - public void setBufferSize(int bufferSize) { - this.bufferSize = bufferSize; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/4f1d8a86/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.java deleted file mode 100644 index e3f36cd..0000000 --- a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/vm/springboot/DisruptorVmComponentAutoConfiguration.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.disruptor.vm.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.disruptor.vm.DisruptorVmComponent; -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(DisruptorVmComponentConfiguration.class) -public class DisruptorVmComponentAutoConfiguration { - - @Bean - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(DisruptorVmComponent.class) - public DisruptorVmComponent configureComponent(CamelContext camelContext, - DisruptorVmComponentConfiguration configuration) throws Exception { - DisruptorVmComponent component = new DisruptorVmComponent(); - 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