http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java b/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java deleted file mode 100644 index d5201b9..0000000 --- a/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/springboot/HdfsComponentConfiguration.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.hdfs.springboot; - -import javax.security.auth.login.Configuration; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * For reading/writing from/to an HDFS filesystem using Hadoop 1.x. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.hdfs") -public class HdfsComponentConfiguration { - - /** - * To use the given configuration for security with JAAS. - */ - private Configuration jAASConfiguration; - - public Configuration getJAASConfiguration() { - return jAASConfiguration; - } - - public void setJAASConfiguration(Configuration jAASConfiguration) { - this.jAASConfiguration = jAASConfiguration; - } -} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hdfs/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-hdfs/src/main/resources/META-INF/spring.factories b/components/camel-hdfs/src/main/resources/META-INF/spring.factories deleted file mode 100644 index ad3f96f..0000000 --- a/components/camel-hdfs/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.hdfs.springboot.HdfsComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java deleted file mode 100644 index 92a1fac..0000000 --- a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentAutoConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.hdfs2.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.hdfs2.HdfsComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(HdfsComponentConfiguration.class) -public class HdfsComponentAutoConfiguration { - - @Bean(name = "hdfs2-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(HdfsComponent.class) - public HdfsComponent configureHdfsComponent(CamelContext camelContext, - HdfsComponentConfiguration configuration) throws Exception { - HdfsComponent component = new HdfsComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java deleted file mode 100644 index cd63753..0000000 --- a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/springboot/HdfsComponentConfiguration.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.hdfs2.springboot; - -import javax.security.auth.login.Configuration; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * For reading/writing from/to an HDFS filesystem using Hadoop 2.x. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.hdfs2") -public class HdfsComponentConfiguration { - - /** - * To use the given configuration for security with JAAS. - */ - private Configuration jAASConfiguration; - - public Configuration getJAASConfiguration() { - return jAASConfiguration; - } - - public void setJAASConfiguration(Configuration jAASConfiguration) { - this.jAASConfiguration = jAASConfiguration; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hdfs2/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-hdfs2/src/main/resources/META-INF/spring.factories b/components/camel-hdfs2/src/main/resources/META-INF/spring.factories deleted file mode 100644 index a5b0dc9..0000000 --- a/components/camel-hdfs2/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.hdfs2.springboot.HdfsComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hessian/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hessian/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java b/components/camel-hessian/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java deleted file mode 100644 index 6243ba8..0000000 --- a/components/camel-hessian/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatAutoConfiguration.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.dataformat.hessian.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.CamelContextAware; -import org.apache.camel.dataformat.hessian.HessianDataFormat; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(HessianDataFormatConfiguration.class) -public class HessianDataFormatAutoConfiguration { - - @Bean(name = "hessian-dataformat") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(HessianDataFormat.class) - public HessianDataFormat configureHessianDataFormat( - CamelContext camelContext, - HessianDataFormatConfiguration configuration) throws Exception { - HessianDataFormat dataformat = new HessianDataFormat(); - if (dataformat instanceof CamelContextAware) { - ((CamelContextAware) dataformat).setCamelContext(camelContext); - } - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), dataformat, parameters); - return dataformat; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hessian/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hessian/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatConfiguration.java b/components/camel-hessian/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatConfiguration.java deleted file mode 100644 index 4a24215..0000000 --- a/components/camel-hessian/src/main/java/org/apache/camel/dataformat/hessian/springboot/HessianDataFormatConfiguration.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.dataformat.hessian.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Hessian serialization support - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.dataformat.hessian") -public class HessianDataFormatConfiguration { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hessian/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-hessian/src/main/resources/META-INF/spring.factories b/components/camel-hessian/src/main/resources/META-INF/spring.factories deleted file mode 100644 index a4c6969..0000000 --- a/components/camel-hessian/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.dataformat.hessian.springboot.HessianDataFormatAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java deleted file mode 100644 index b34409d..0000000 --- a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatAutoConfiguration.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.hl7.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.CamelContextAware; -import org.apache.camel.component.hl7.HL7DataFormat; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(HL7DataFormatConfiguration.class) -public class HL7DataFormatAutoConfiguration { - - @Bean(name = "hl7-dataformat") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(HL7DataFormat.class) - public HL7DataFormat configureHL7DataFormat(CamelContext camelContext, - HL7DataFormatConfiguration configuration) throws Exception { - HL7DataFormat dataformat = new HL7DataFormat(); - if (dataformat instanceof CamelContextAware) { - ((CamelContextAware) dataformat).setCamelContext(camelContext); - } - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), dataformat, parameters); - return dataformat; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatConfiguration.java b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatConfiguration.java deleted file mode 100644 index b2ac0fb..0000000 --- a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/HL7DataFormatConfiguration.java +++ /dev/null @@ -1,41 +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.hl7.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Camel HL7 support - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.dataformat.hl7") -public class HL7DataFormatConfiguration { - - /** - * Whether to validate the HL7 message Is by default true. - */ - private Boolean validate = true; - - public Boolean getValidate() { - return validate; - } - - public void setValidate(Boolean validate) { - this.validate = validate; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java deleted file mode 100644 index 8a7994f..0000000 --- a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageAutoConfiguration.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.hl7.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.CamelContextAware; -import org.apache.camel.component.hl7.TerserLanguage; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(TerserLanguageConfiguration.class) -public class TerserLanguageAutoConfiguration { - - @Bean(name = "terser-language") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(TerserLanguage.class) - public TerserLanguage configureTerserLanguage(CamelContext camelContext, - TerserLanguageConfiguration configuration) throws Exception { - TerserLanguage language = new TerserLanguage(); - if (language instanceof CamelContextAware) { - ((CamelContextAware) language).setCamelContext(camelContext); - } - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), language, parameters); - return language; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageConfiguration.java b/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageConfiguration.java deleted file mode 100644 index 8551aa9..0000000 --- a/components/camel-hl7/src/main/java/org/apache/camel/component/hl7/springboot/TerserLanguageConfiguration.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.hl7.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * For HL7 terser expressions and predicates - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.language.terser") -public class TerserLanguageConfiguration { - - /** - * Whether to trim the value to remove leading and trailing whitespaces and - * line breaks - */ - private Boolean trim = true; - - public Boolean getTrim() { - return trim; - } - - public void setTrim(Boolean trim) { - this.trim = trim; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-hl7/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-hl7/src/main/resources/META-INF/spring.factories b/components/camel-hl7/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 4904bc2..0000000 --- a/components/camel-hl7/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,21 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.apache.camel.component.hl7.springboot.HL7DataFormatAutoConfiguration,\ -org.apache.camel.component.hl7.springboot.TerserLanguageAutoConfiguration - http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java deleted file mode 100644 index b90977e..0000000 --- a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentAutoConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.http.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.http.HttpComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(HttpComponentConfiguration.class) -public class HttpComponentAutoConfiguration { - - @Bean(name = {"http-component", "https-component"}) - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(HttpComponent.class) - public HttpComponent configureHttpComponent(CamelContext camelContext, - HttpComponentConfiguration configuration) throws Exception { - HttpComponent component = new HttpComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java b/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java deleted file mode 100644 index 20714b3..0000000 --- a/components/camel-http/src/main/java/org/apache/camel/component/http/springboot/HttpComponentConfiguration.java +++ /dev/null @@ -1,116 +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.http.springboot; - -import org.apache.camel.component.http.HttpClientConfigurer; -import org.apache.camel.http.common.HttpBinding; -import org.apache.camel.http.common.HttpConfiguration; -import org.apache.camel.spi.HeaderFilterStrategy; -import org.apache.commons.httpclient.HttpConnectionManager; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * For calling out to external HTTP servers using Apache HTTP Client 3.x. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.http") -public class HttpComponentConfiguration { - - /** - * To use the custom HttpClientConfigurer to perform configuration of the - * HttpClient that will be used. - */ - private HttpClientConfigurer httpClientConfigurer; - /** - * To use a custom HttpConnectionManager to manage connections - */ - private HttpConnectionManager httpConnectionManager; - /** - * To use a custom HttpBinding to control the mapping between Camel message - * and HttpClient. - */ - private HttpBinding httpBinding; - /** - * To use the shared HttpConfiguration as base configuration. - */ - private HttpConfiguration httpConfiguration; - /** - * Whether to allow java serialization when a request uses - * context-type=application/x-java-serialized-object This is by default - * turned off. If you enable this then be aware that Java will deserialize - * the incoming data from the request to Java and that can be a potential - * security risk. - */ - private Boolean allowJavaSerializedObject; - /** - * To use a custom HeaderFilterStrategy to filter header to and from Camel - * message. - */ - private HeaderFilterStrategy headerFilterStrategy; - - public HttpClientConfigurer getHttpClientConfigurer() { - return httpClientConfigurer; - } - - public void setHttpClientConfigurer( - HttpClientConfigurer httpClientConfigurer) { - this.httpClientConfigurer = httpClientConfigurer; - } - - public HttpConnectionManager getHttpConnectionManager() { - return httpConnectionManager; - } - - public void setHttpConnectionManager( - HttpConnectionManager httpConnectionManager) { - this.httpConnectionManager = httpConnectionManager; - } - - public HttpBinding getHttpBinding() { - return httpBinding; - } - - public void setHttpBinding(HttpBinding httpBinding) { - this.httpBinding = httpBinding; - } - - public HttpConfiguration getHttpConfiguration() { - return httpConfiguration; - } - - public void setHttpConfiguration(HttpConfiguration httpConfiguration) { - this.httpConfiguration = httpConfiguration; - } - - public Boolean getAllowJavaSerializedObject() { - return allowJavaSerializedObject; - } - - public void setAllowJavaSerializedObject(Boolean allowJavaSerializedObject) { - this.allowJavaSerializedObject = allowJavaSerializedObject; - } - - public HeaderFilterStrategy getHeaderFilterStrategy() { - return headerFilterStrategy; - } - - public void setHeaderFilterStrategy( - HeaderFilterStrategy headerFilterStrategy) { - this.headerFilterStrategy = headerFilterStrategy; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-http/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-http/src/main/resources/META-INF/spring.factories b/components/camel-http/src/main/resources/META-INF/spring.factories deleted file mode 100644 index d248647..0000000 --- a/components/camel-http/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.http.springboot.HttpComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java deleted file mode 100644 index 6459f12..0000000 --- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentAutoConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.http4.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.http4.HttpComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(HttpComponentConfiguration.class) -public class HttpComponentAutoConfiguration { - - @Bean(name = "http4-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(HttpComponent.class) - public HttpComponent configureHttpComponent(CamelContext camelContext, - HttpComponentConfiguration configuration) throws Exception { - HttpComponent component = new HttpComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java b/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java deleted file mode 100644 index c88d77b..0000000 --- a/components/camel-http4/src/main/java/org/apache/camel/component/http4/springboot/HttpComponentConfiguration.java +++ /dev/null @@ -1,217 +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.http4.springboot; - -import org.apache.camel.component.http4.HttpClientConfigurer; -import org.apache.camel.http.common.HttpBinding; -import org.apache.camel.http.common.HttpConfiguration; -import org.apache.camel.spi.HeaderFilterStrategy; -import org.apache.camel.util.jsse.SSLContextParameters; -import org.apache.http.client.CookieStore; -import org.apache.http.conn.HttpClientConnectionManager; -import org.apache.http.conn.ssl.X509HostnameVerifier; -import org.apache.http.protocol.HttpContext; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * For calling out to external HTTP servers using Apache HTTP Client 4.x. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.http4") -public class HttpComponentConfiguration { - - /** - * To use the custom HttpClientConfigurer to perform configuration of the - * HttpClient that will be used. - */ - private HttpClientConfigurer httpClientConfigurer; - /** - * To use a custom HttpClientConnectionManager to manage connections - */ - private HttpClientConnectionManager clientConnectionManager; - /** - * To use a custom HttpBinding to control the mapping between Camel message - * and HttpClient. - */ - private HttpBinding httpBinding; - /** - * To use the shared HttpConfiguration as base configuration. - */ - private HttpConfiguration httpConfiguration; - /** - * Whether to allow java serialization when a request uses - * context-type=application/x-java-serialized-object This is by default - * turned off. If you enable this then be aware that Java will deserialize - * the incoming data from the request to Java and that can be a potential - * security risk. - */ - private Boolean allowJavaSerializedObject; - /** - * To use a custom org.apache.http.protocol.HttpContext when executing - * requests. - */ - private HttpContext httpContext; - /** - * To configure security using SSLContextParameters. Important: Only one - * instance of org.apache.camel.util.jsse.SSLContextParameters is supported - * per HttpComponent. If you need to use 2 or more different instances you - * need to define a new HttpComponent per instance you need. - */ - private SSLContextParameters sslContextParameters; - /** - * To use a custom X509HostnameVerifier such as - * org.apache.http.conn.ssl.StrictHostnameVerifier or - * org.apache.http.conn.ssl.AllowAllHostnameVerifier. - */ - private X509HostnameVerifier x509HostnameVerifier; - /** - * The maximum number of connections. - */ - private Integer maxTotalConnections; - /** - * The maximum number of connections per route. - */ - private Integer connectionsPerRoute; - /** - * The time for connection to live the time unit is millisecond the default - * value is always keep alive. - */ - private long connectionTimeToLive; - /** - * To use a custom org.apache.http.client.CookieStore. By default the - * org.apache.http.impl.client.BasicCookieStore is used which is an - * in-memory only cookie store. Notice if bridgeEndpoint=true then the - * cookie store is forced to be a noop cookie store as cookie shouldn't be - * stored as we are just bridging (eg acting as a proxy). - */ - private CookieStore cookieStore; - /** - * To use a custom HeaderFilterStrategy to filter header to and from Camel - * message. - */ - private HeaderFilterStrategy headerFilterStrategy; - - public HttpClientConfigurer getHttpClientConfigurer() { - return httpClientConfigurer; - } - - public void setHttpClientConfigurer( - HttpClientConfigurer httpClientConfigurer) { - this.httpClientConfigurer = httpClientConfigurer; - } - - public HttpClientConnectionManager getClientConnectionManager() { - return clientConnectionManager; - } - - public void setClientConnectionManager( - HttpClientConnectionManager clientConnectionManager) { - this.clientConnectionManager = clientConnectionManager; - } - - public HttpBinding getHttpBinding() { - return httpBinding; - } - - public void setHttpBinding(HttpBinding httpBinding) { - this.httpBinding = httpBinding; - } - - public HttpConfiguration getHttpConfiguration() { - return httpConfiguration; - } - - public void setHttpConfiguration(HttpConfiguration httpConfiguration) { - this.httpConfiguration = httpConfiguration; - } - - public Boolean getAllowJavaSerializedObject() { - return allowJavaSerializedObject; - } - - public void setAllowJavaSerializedObject(Boolean allowJavaSerializedObject) { - this.allowJavaSerializedObject = allowJavaSerializedObject; - } - - public HttpContext getHttpContext() { - return httpContext; - } - - public void setHttpContext(HttpContext httpContext) { - this.httpContext = httpContext; - } - - public SSLContextParameters getSslContextParameters() { - return sslContextParameters; - } - - public void setSslContextParameters( - SSLContextParameters sslContextParameters) { - this.sslContextParameters = sslContextParameters; - } - - public X509HostnameVerifier getX509HostnameVerifier() { - return x509HostnameVerifier; - } - - public void setX509HostnameVerifier( - X509HostnameVerifier x509HostnameVerifier) { - this.x509HostnameVerifier = x509HostnameVerifier; - } - - public Integer getMaxTotalConnections() { - return maxTotalConnections; - } - - public void setMaxTotalConnections(Integer maxTotalConnections) { - this.maxTotalConnections = maxTotalConnections; - } - - public Integer getConnectionsPerRoute() { - return connectionsPerRoute; - } - - public void setConnectionsPerRoute(Integer connectionsPerRoute) { - this.connectionsPerRoute = connectionsPerRoute; - } - - public long getConnectionTimeToLive() { - return connectionTimeToLive; - } - - public void setConnectionTimeToLive(long connectionTimeToLive) { - this.connectionTimeToLive = connectionTimeToLive; - } - - public CookieStore getCookieStore() { - return cookieStore; - } - - public void setCookieStore(CookieStore cookieStore) { - this.cookieStore = cookieStore; - } - - public HeaderFilterStrategy getHeaderFilterStrategy() { - return headerFilterStrategy; - } - - public void setHeaderFilterStrategy( - HeaderFilterStrategy headerFilterStrategy) { - this.headerFilterStrategy = headerFilterStrategy; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-http4/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-http4/src/main/resources/META-INF/spring.factories b/components/camel-http4/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 50597fc..0000000 --- a/components/camel-http4/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.http4.springboot.HttpComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java deleted file mode 100644 index 6946ea4..0000000 --- a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentAutoConfiguration.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.ibatis.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.component.ibatis.IBatisComponent; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(IBatisComponentConfiguration.class) -public class IBatisComponentAutoConfiguration { - - @Bean(name = "ibatis-component") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(IBatisComponent.class) - public IBatisComponent configureIBatisComponent(CamelContext camelContext, - IBatisComponentConfiguration configuration) throws Exception { - IBatisComponent component = new IBatisComponent(); - component.setCamelContext(camelContext); - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), component, parameters); - return component; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java b/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java deleted file mode 100644 index 214cced..0000000 --- a/components/camel-ibatis/src/main/java/org/apache/camel/component/ibatis/springboot/IBatisComponentConfiguration.java +++ /dev/null @@ -1,68 +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.ibatis.springboot; - -import com.ibatis.sqlmap.client.SqlMapClient; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Performs a query poll insert update or delete in a relational database using - * Apache iBATIS. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.component.ibatis") -public class IBatisComponentConfiguration { - - /** - * To use the given com.ibatis.sqlmap.client.SqlMapClient - */ - private SqlMapClient sqlMapClient; - /** - * Location of iBatis xml configuration file. The default value is: - * SqlMapConfig.xml loaded from the classpath - */ - private String sqlMapConfig; - /** - * Whether to use transactions. This option is by default true. - */ - private Boolean useTransactions; - - public SqlMapClient getSqlMapClient() { - return sqlMapClient; - } - - public void setSqlMapClient(SqlMapClient sqlMapClient) { - this.sqlMapClient = sqlMapClient; - } - - public String getSqlMapConfig() { - return sqlMapConfig; - } - - public void setSqlMapConfig(String sqlMapConfig) { - this.sqlMapConfig = sqlMapConfig; - } - - public Boolean getUseTransactions() { - return useTransactions; - } - - public void setUseTransactions(Boolean useTransactions) { - this.useTransactions = useTransactions; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ibatis/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-ibatis/src/main/resources/META-INF/spring.factories b/components/camel-ibatis/src/main/resources/META-INF/spring.factories deleted file mode 100644 index d222b9c..0000000 --- a/components/camel-ibatis/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.ibatis.springboot.IBatisComponentAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ical/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-ical/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java b/components/camel-ical/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java deleted file mode 100644 index 60bab0d..0000000 --- a/components/camel-ical/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatAutoConfiguration.java +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.ical.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.CamelContextAware; -import org.apache.camel.component.ical.ICalDataFormat; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(ICalDataFormatConfiguration.class) -public class ICalDataFormatAutoConfiguration { - - @Bean(name = "ical-dataformat") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(ICalDataFormat.class) - public ICalDataFormat configureICalDataFormat(CamelContext camelContext, - ICalDataFormatConfiguration configuration) throws Exception { - ICalDataFormat dataformat = new ICalDataFormat(); - if (dataformat instanceof CamelContextAware) { - ((CamelContextAware) dataformat).setCamelContext(camelContext); - } - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), dataformat, parameters); - return dataformat; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ical/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-ical/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatConfiguration.java b/components/camel-ical/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatConfiguration.java deleted file mode 100644 index bc38d28..0000000 --- a/components/camel-ical/src/main/java/org/apache/camel/component/ical/springboot/ICalDataFormatConfiguration.java +++ /dev/null @@ -1,41 +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.ical.springboot; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Camel iCal component - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.dataformat.ical") -public class ICalDataFormatConfiguration { - - /** - * Whether to validate. - */ - private Boolean validating = false; - - public Boolean getValidating() { - return validating; - } - - public void setValidating(Boolean validating) { - this.validating = validating; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-ical/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-ical/src/main/resources/META-INF/spring.factories b/components/camel-ical/src/main/resources/META-INF/spring.factories deleted file mode 100644 index a92e59e..0000000 --- a/components/camel-ical/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.ical.springboot.ICalDataFormatAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java deleted file mode 100644 index 279fc73..0000000 --- a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatAutoConfiguration.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.jackson.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.CamelContextAware; -import org.apache.camel.component.jackson.JacksonDataFormat; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(JacksonDataFormatConfiguration.class) -public class JacksonDataFormatAutoConfiguration { - - @Bean(name = "json-jackson-dataformat") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(JacksonDataFormat.class) - public JacksonDataFormat configureJacksonDataFormat( - CamelContext camelContext, - JacksonDataFormatConfiguration configuration) throws Exception { - JacksonDataFormat dataformat = new JacksonDataFormat(); - if (dataformat instanceof CamelContextAware) { - ((CamelContextAware) dataformat).setCamelContext(camelContext); - } - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), dataformat, parameters); - return dataformat; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatConfiguration.java b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatConfiguration.java deleted file mode 100644 index 57d06c4..0000000 --- a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatConfiguration.java +++ /dev/null @@ -1,245 +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.jackson.springboot; - -import org.apache.camel.component.jackson.JacksonDataFormat; -import org.apache.camel.model.dataformat.JsonLibrary; -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * Camel Jackson support - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@ConfigurationProperties(prefix = "camel.dataformat.json-jackson") -public class JacksonDataFormatConfiguration { - - /** - * Lookup and use the existing ObjectMapper with the given id when using - * Jackson. - */ - private String objectMapper; - /** - * To enable pretty printing output nicely formatted. Is by default false. - */ - private Boolean prettyPrint = false; - /** - * Which json library to use. - */ - private JsonLibrary library = JsonLibrary.Jackson; - /** - * Class name of the java type to use when unarmshalling - */ - private String unmarshalTypeName; - /** - * When marshalling a POJO to JSON you might want to exclude certain fields - * from the JSON output. With Jackson you can use JSON views to accomplish - * this. This option is to refer to the class which has JsonView annotations - */ - private Class jsonView; - /** - * If you want to marshal a pojo to JSON and the pojo has some fields with - * null values. And you want to skip these null values you can set this - * option to NOT_NULL - */ - private String include; - /** - * Used for JMS users to allow the JMSType header from the JMS spec to - * specify a FQN classname to use to unmarshal to. - */ - private Boolean allowJmsType = false; - /** - * Refers to a custom collection type to lookup in the registry to use. This - * option should rarely be used but allows to use different collection types - * than java.util.Collection based as default. - */ - private String collectionTypeName; - /** - * To unarmshal to a List of Map or a List of Pojo. - */ - private Boolean useList = false; - /** - * Whether to enable the JAXB annotations module when using jackson. When - * enabled then JAXB annotations can be used by Jackson. - */ - private Boolean enableJaxbAnnotationModule = false; - /** - * To use custom Jackson modules com.fasterxml.jackson.databind.Module - * specified as a String with FQN class names. Multiple classes can be - * separated by comma. - */ - private String moduleClassNames; - /** - * To use custom Jackson modules referred from the Camel registry. Multiple - * modules can be separated by comma. - */ - private String moduleRefs; - /** - * Set of features to enable on the Jackson - * com.fasterxml.jackson.databind.ObjectMapper. The features should be a - * name that matches a enum from - * com.fasterxml.jackson.databind.SerializationFeature - * com.fasterxml.jackson.databind.DeserializationFeature or - * com.fasterxml.jackson.databind.MapperFeature Multiple features can be - * separated by comma - */ - private String enableFeatures; - /** - * Set of features to disable on the Jackson - * com.fasterxml.jackson.databind.ObjectMapper. The features should be a - * name that matches a enum from - * com.fasterxml.jackson.databind.SerializationFeature - * com.fasterxml.jackson.databind.DeserializationFeature or - * com.fasterxml.jackson.databind.MapperFeature Multiple features can be - * separated by comma - */ - private String disableFeatures; - /** - * Adds permissions that controls which Java packages and classes XStream is - * allowed to use during unmarshal from xml/json to Java beans. A permission - * must be configured either here or globally using a JVM system property. - * The permission can be specified in a syntax where a plus sign is allow - * and minus sign is deny. Wildcards is supported by using . as prefix. For - * example to allow com.foo and all subpackages then specfy com.foo.. - * Multiple permissions can be configured separated by comma such as - * com.foo.-com.foo.bar.MySecretBean. The following default permission is - * always included: -java.lang.java.util. unless its overridden by - * specifying a JVM system property with they key - * org.apache.camel.xstream.permissions. - */ - private String permissions; - - public String getObjectMapper() { - return objectMapper; - } - - public void setObjectMapper(String objectMapper) { - this.objectMapper = objectMapper; - } - - public Boolean getPrettyPrint() { - return prettyPrint; - } - - public void setPrettyPrint(Boolean prettyPrint) { - this.prettyPrint = prettyPrint; - } - - public JsonLibrary getLibrary() { - return library; - } - - public void setLibrary(JsonLibrary library) { - this.library = library; - } - - public String getUnmarshalTypeName() { - return unmarshalTypeName; - } - - public void setUnmarshalTypeName(String unmarshalTypeName) { - this.unmarshalTypeName = unmarshalTypeName; - } - - public Class getJsonView() { - return jsonView; - } - - public void setJsonView(Class jsonView) { - this.jsonView = jsonView; - } - - public String getInclude() { - return include; - } - - public void setInclude(String include) { - this.include = include; - } - - public Boolean getAllowJmsType() { - return allowJmsType; - } - - public void setAllowJmsType(Boolean allowJmsType) { - this.allowJmsType = allowJmsType; - } - - public String getCollectionTypeName() { - return collectionTypeName; - } - - public void setCollectionTypeName(String collectionTypeName) { - this.collectionTypeName = collectionTypeName; - } - - public Boolean getUseList() { - return useList; - } - - public void setUseList(Boolean useList) { - this.useList = useList; - } - - public Boolean getEnableJaxbAnnotationModule() { - return enableJaxbAnnotationModule; - } - - public void setEnableJaxbAnnotationModule(Boolean enableJaxbAnnotationModule) { - this.enableJaxbAnnotationModule = enableJaxbAnnotationModule; - } - - public String getModuleClassNames() { - return moduleClassNames; - } - - public void setModuleClassNames(String moduleClassNames) { - this.moduleClassNames = moduleClassNames; - } - - public String getModuleRefs() { - return moduleRefs; - } - - public void setModuleRefs(String moduleRefs) { - this.moduleRefs = moduleRefs; - } - - public String getEnableFeatures() { - return enableFeatures; - } - - public void setEnableFeatures(String enableFeatures) { - this.enableFeatures = enableFeatures; - } - - public String getDisableFeatures() { - return disableFeatures; - } - - public void setDisableFeatures(String disableFeatures) { - this.disableFeatures = disableFeatures; - } - - public String getPermissions() { - return permissions; - } - - public void setPermissions(String permissions) { - this.permissions = permissions; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-jackson/src/main/resources/META-INF/spring.factories ---------------------------------------------------------------------- diff --git a/components/camel-jackson/src/main/resources/META-INF/spring.factories b/components/camel-jackson/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 1617dcb..0000000 --- a/components/camel-jackson/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.jackson.springboot.JacksonDataFormatAutoConfiguration http://git-wip-us.apache.org/repos/asf/camel/blob/67633827/components/camel-jacksonxml/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-jacksonxml/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java b/components/camel-jacksonxml/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java deleted file mode 100644 index c035d7d..0000000 --- a/components/camel-jacksonxml/src/main/java/org/apache/camel/component/jacksonxml/springboot/JacksonXMLDataFormatAutoConfiguration.java +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.jacksonxml.springboot; - -import java.util.HashMap; -import java.util.Map; -import org.apache.camel.CamelContext; -import org.apache.camel.CamelContextAware; -import org.apache.camel.component.jacksonxml.JacksonXMLDataFormat; -import org.apache.camel.util.IntrospectionSupport; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -/** - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Configuration -@EnableConfigurationProperties(JacksonXMLDataFormatConfiguration.class) -public class JacksonXMLDataFormatAutoConfiguration { - - @Bean(name = "jacksonxml-dataformat") - @ConditionalOnClass(CamelContext.class) - @ConditionalOnMissingBean(JacksonXMLDataFormat.class) - public JacksonXMLDataFormat configureJacksonXMLDataFormat( - CamelContext camelContext, - JacksonXMLDataFormatConfiguration configuration) throws Exception { - JacksonXMLDataFormat dataformat = new JacksonXMLDataFormat(); - if (dataformat instanceof CamelContextAware) { - ((CamelContextAware) dataformat).setCamelContext(camelContext); - } - Map<String, Object> parameters = new HashMap<>(); - IntrospectionSupport.getProperties(configuration, parameters, null, - false); - IntrospectionSupport.setProperties(camelContext, - camelContext.getTypeConverter(), dataformat, parameters); - return dataformat; - } -} \ No newline at end of file