You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/09/09 05:17:06 UTC

[camel-quarkus] 11/12: uniVocity JVM support

This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 0400fb9d6a08ed1cd287aa47b85621e23c0fbf54
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Tue Sep 8 21:35:45 2020 +0200

    uniVocity JVM support
---
 catalog/pom.xml                                    |  13 +++
 docs/modules/ROOT/nav.adoc                         |   1 +
 docs/modules/ROOT/pages/reference/dataformats.adoc |   9 ++
 .../reference/extensions/univocity-parsers.adoc    |  31 +++++++
 docs/modules/ROOT/pages/reference/index.adoc       |   3 +
 extensions-jvm/pom.xml                             |   1 +
 .../univocity-parsers/deployment/pom.xml           |  63 +++++++++++++
 .../deployment/UnivocityParsersProcessor.java      |  46 ++++++++++
 .../univocity-parsers/integration-test/pom.xml     | 100 +++++++++++++++++++++
 .../parsers/it/UnivocityParsersResource.java       |  77 ++++++++++++++++
 .../univocity/parsers/it/UnivocityParsersTest.java |  50 +++++++++++
 extensions-jvm/univocity-parsers/pom.xml           |  40 +++++++++
 extensions-jvm/univocity-parsers/runtime/pom.xml   |  94 +++++++++++++++++++
 .../main/resources/META-INF/quarkus-extension.yaml |  32 +++++++
 poms/bom/pom.xml                                   |  15 ++++
 15 files changed, 575 insertions(+)

diff --git a/catalog/pom.xml b/catalog/pom.xml
index e5a6c70..97e380c 100644
--- a/catalog/pom.xml
+++ b/catalog/pom.xml
@@ -3702,6 +3702,19 @@
         </dependency>
         <dependency>
             <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-univocity-parsers</artifactId>
+            <version>${project.version}</version>
+            <type>pom</type>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>*</groupId>
+                    <artifactId>*</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-validator</artifactId>
             <version>${project.version}</version>
             <type>pom</type>
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index a1d6c6c..3c9f89f 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -274,6 +274,7 @@
 *** xref:reference/extensions/timer.adoc[Timer]
 *** xref:reference/extensions/twilio.adoc[Twilio]
 *** xref:reference/extensions/twitter.adoc[Twitter]
+*** xref:reference/extensions/univocity-parsers.adoc[uniVocity CSV]
 *** xref:reference/extensions/validator.adoc[Validator]
 *** xref:reference/extensions/velocity.adoc[Velocity]
 *** xref:reference/extensions/vertx.adoc[Vert.x]
diff --git a/docs/modules/ROOT/pages/reference/dataformats.adoc b/docs/modules/ROOT/pages/reference/dataformats.adoc
index 13c0a1f..70323c6 100644
--- a/docs/modules/ROOT/pages/reference/dataformats.adoc
+++ b/docs/modules/ROOT/pages/reference/dataformats.adoc
@@ -118,6 +118,15 @@ Preview | 1.1.0 | Serialize and deserialize messages using Apache Thrift binary
 | xref:reference/extensions/tagsoup.adoc[TidyMarkup] | [.camel-element-artifact]##camel-quarkus-tagsoup## | [.camel-element-Native]##Native## +
 Stable | 1.0.0 | Parse (potentially invalid) HTML into valid HTML or DOM.
 
+| xref:reference/extensions/univocity-parsers.adoc[uniVocity CSV] | [.camel-element-artifact]##camel-quarkus-univocity-parsers## | [.camel-element-JVM]##JVM## +
+Preview | 1.1.0 | Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers.
+
+| xref:reference/extensions/univocity-parsers.adoc[uniVocity Fixed Length] | [.camel-element-artifact]##camel-quarkus-univocity-parsers## | [.camel-element-JVM]##JVM## +
+Preview | 1.1.0 | Marshal and unmarshal Java objects from and to fixed length records using UniVocity Parsers.
+
+| xref:reference/extensions/univocity-parsers.adoc[uniVocity TSV] | [.camel-element-artifact]##camel-quarkus-univocity-parsers## | [.camel-element-JVM]##JVM## +
+Preview | 1.1.0 | Marshal and unmarshal Java objects from and to TSV (Tab-Separated Values) records using UniVocity Parsers.
+
 | xref:reference/extensions/xmlsecurity.adoc[XML Security] | [.camel-element-artifact]##camel-quarkus-xmlsecurity## | [.camel-element-JVM]##JVM## +
 Preview | 1.1.0 | Encrypt and decrypt XML payloads using Apache Santuario.
 
diff --git a/docs/modules/ROOT/pages/reference/extensions/univocity-parsers.adoc b/docs/modules/ROOT/pages/reference/extensions/univocity-parsers.adoc
new file mode 100644
index 0000000..9ec019f
--- /dev/null
+++ b/docs/modules/ROOT/pages/reference/extensions/univocity-parsers.adoc
@@ -0,0 +1,31 @@
+// Do not edit directly!
+// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
+
+[[univocity-parsers]]
+= uniVocity CSV
+:page-aliases: extensions/univocity-parsers.adoc
+
+[.badges]
+[.badge-key]##Since Camel Quarkus##[.badge-version]##1.1.0## [.badge-key]##JVM##[.badge-supported]##supported## [.badge-key]##Native##[.badge-unsupported]##unsupported##
+
+Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers.
+
+== What's inside
+
+* https://camel.apache.org/components/latest/dataformats/univocity-csv-dataformat.html[uniVocity CSV data format]
+* https://camel.apache.org/components/latest/dataformats/univocity-fixed-dataformat.html[uniVocity Fixed Length data format]
+* https://camel.apache.org/components/latest/dataformats/univocity-tsv-dataformat.html[uniVocity TSV data format]
+
+Please refer to the above links for usage and configuration details.
+
+== Maven coordinates
+
+[source,xml]
+----
+<dependency>
+    <groupId>org.apache.camel.quarkus</groupId>
+    <artifactId>camel-quarkus-univocity-parsers</artifactId>
+</dependency>
+----
+
+Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
diff --git a/docs/modules/ROOT/pages/reference/index.adoc b/docs/modules/ROOT/pages/reference/index.adoc
index 0b3f078..634c641 100644
--- a/docs/modules/ROOT/pages/reference/index.adoc
+++ b/docs/modules/ROOT/pages/reference/index.adoc
@@ -800,6 +800,9 @@ Preview | 1.1.0 | Interact with Twilio REST APIs using Twilio Java SDK.
 |  xref:reference/extensions/twitter.adoc[Twitter]  | camel-quarkus-twitter | [.camel-element-Native]##Native## +
 Stable | 0.2.0 | Send tweets and receive tweets, direct messages and access Twitter Search
 
+|  xref:reference/extensions/univocity-parsers.adoc[uniVocity CSV]  | camel-quarkus-univocity-parsers | [.camel-element-JVM]##JVM## +
+Preview | 1.1.0 | Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers.
+
 |  xref:reference/extensions/validator.adoc[Validator]  | camel-quarkus-validator | [.camel-element-Native]##Native## +
 Stable | 0.4.0 | Validate the payload using XML Schema and JAXP Validation.
 
diff --git a/extensions-jvm/pom.xml b/extensions-jvm/pom.xml
index 097850e..30042ab 100644
--- a/extensions-jvm/pom.xml
+++ b/extensions-jvm/pom.xml
@@ -145,6 +145,7 @@
         <module>syslog</module>
         <module>thrift</module>
         <module>twilio</module>
+        <module>univocity-parsers</module>
         <module>velocity</module>
         <module>web3j</module>
         <module>weka</module>
diff --git a/extensions-jvm/univocity-parsers/deployment/pom.xml b/extensions-jvm/univocity-parsers/deployment/pom.xml
new file mode 100644
index 0000000..1bcca1b
--- /dev/null
+++ b/extensions-jvm/univocity-parsers/deployment/pom.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.camel.quarkus</groupId>
+        <artifactId>camel-quarkus-univocity-parsers-parent</artifactId>
+        <version>1.1.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>camel-quarkus-univocity-parsers-deployment</artifactId>
+    <name>Camel Quarkus :: uniVocity CSV :: Deployment</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-core-deployment</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-univocity-parsers</artifactId>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <annotationProcessorPaths>
+                        <path>
+                            <groupId>io.quarkus</groupId>
+                            <artifactId>quarkus-extension-processor</artifactId>
+                            <version>${quarkus.version}</version>
+                        </path>
+                    </annotationProcessorPaths>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
diff --git a/extensions-jvm/univocity-parsers/deployment/src/main/java/org/apache/camel/quarkus/component/univocity/parsers/deployment/UnivocityParsersProcessor.java b/extensions-jvm/univocity-parsers/deployment/src/main/java/org/apache/camel/quarkus/component/univocity/parsers/deployment/UnivocityParsersProcessor.java
new file mode 100644
index 0000000..a725f29
--- /dev/null
+++ b/extensions-jvm/univocity-parsers/deployment/src/main/java/org/apache/camel/quarkus/component/univocity/parsers/deployment/UnivocityParsersProcessor.java
@@ -0,0 +1,46 @@
+/*
+ * 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.quarkus.component.univocity.parsers.deployment;
+
+import io.quarkus.deployment.annotations.BuildStep;
+import io.quarkus.deployment.annotations.ExecutionTime;
+import io.quarkus.deployment.annotations.Record;
+import io.quarkus.deployment.builditem.FeatureBuildItem;
+import io.quarkus.deployment.pkg.steps.NativeBuild;
+import org.apache.camel.quarkus.core.JvmOnlyRecorder;
+import org.jboss.logging.Logger;
+
+class UnivocityParsersProcessor {
+
+    private static final Logger LOG = Logger.getLogger(UnivocityParsersProcessor.class);
+    private static final String FEATURE = "camel-univocity-parsers";
+
+    @BuildStep
+    FeatureBuildItem feature() {
+        return new FeatureBuildItem(FEATURE);
+    }
+
+    /**
+     * Remove this once this extension starts supporting the native mode.
+     */
+    @BuildStep(onlyIf = NativeBuild.class)
+    @Record(value = ExecutionTime.RUNTIME_INIT)
+    void warnJvmInNative(JvmOnlyRecorder recorder) {
+        JvmOnlyRecorder.warnJvmInNative(LOG, FEATURE); // warn at build time
+        recorder.warnJvmInNative(FEATURE); // warn at runtime
+    }
+}
diff --git a/extensions-jvm/univocity-parsers/integration-test/pom.xml b/extensions-jvm/univocity-parsers/integration-test/pom.xml
new file mode 100644
index 0000000..210ca2c
--- /dev/null
+++ b/extensions-jvm/univocity-parsers/integration-test/pom.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.camel.quarkus</groupId>
+        <artifactId>camel-quarkus-build-parent-it</artifactId>
+        <version>1.1.0-SNAPSHOT</version>
+        <relativePath>../../../poms/build-parent-it/pom.xml</relativePath>
+    </parent>
+
+    <artifactId>camel-quarkus-univocity-parsers-integration-test</artifactId>
+    <name>Camel Quarkus :: uniVocity CSV :: Integration Test</name>
+    <description>Integration tests for Camel Quarkus uniVocity CSV extension</description>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.camel.quarkus</groupId>
+                <artifactId>camel-quarkus-bom-test</artifactId>
+                <version>${project.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-univocity-parsers</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-resteasy</artifactId>
+        </dependency>
+
+        <!-- test dependencies -->
+        <dependency>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-junit5</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>io.rest-assured</groupId>
+            <artifactId>rest-assured</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
+        <dependency>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-univocity-parsers-deployment</artifactId>
+            <version>${project.version}</version>
+            <type>pom</type>
+            <scope>test</scope>
+            <exclusions>
+                <exclusion>
+                    <groupId>*</groupId>
+                    <artifactId>*</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>io.quarkus</groupId>
+                <artifactId>quarkus-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>build</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/extensions-jvm/univocity-parsers/integration-test/src/main/java/org/apache/camel/quarkus/component/univocity/parsers/it/UnivocityParsersResource.java b/extensions-jvm/univocity-parsers/integration-test/src/main/java/org/apache/camel/quarkus/component/univocity/parsers/it/UnivocityParsersResource.java
new file mode 100644
index 0000000..427fba4
--- /dev/null
+++ b/extensions-jvm/univocity-parsers/integration-test/src/main/java/org/apache/camel/quarkus/component/univocity/parsers/it/UnivocityParsersResource.java
@@ -0,0 +1,77 @@
+/*
+ * 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.quarkus.component.univocity.parsers.it;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+import javax.ws.rs.GET;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.camel.CamelContext;
+import org.jboss.logging.Logger;
+
+@Path("/univocity-parsers")
+@ApplicationScoped
+public class UnivocityParsersResource {
+
+    private static final Logger LOG = Logger.getLogger(UnivocityParsersResource.class);
+
+    private static final String DATAFORMAT_UNIVOCITY_CSV = "univocity-csv";
+    private static final String DATAFORMAT_UNIVOCITY_FIXED = "univocity-fixed";
+    private static final String DATAFORMAT_UNIVOCITY_TSV = "univocity-tsv";
+    @Inject
+    CamelContext context;
+
+    @Path("/load/dataformat/univocity-csv")
+    @GET
+    @Produces(MediaType.TEXT_PLAIN)
+    public Response loadDataformatUnivocityCsv() throws Exception {
+        /* This is an autogenerated test */
+        if (context.resolveDataFormat(DATAFORMAT_UNIVOCITY_CSV) != null) {
+            return Response.ok().build();
+        }
+        LOG.warnf("Could not load [%s] from the Camel context", DATAFORMAT_UNIVOCITY_CSV);
+        return Response.status(500, DATAFORMAT_UNIVOCITY_CSV + " could not be loaded from the Camel context").build();
+    }
+
+    @Path("/load/dataformat/univocity-fixed")
+    @GET
+    @Produces(MediaType.TEXT_PLAIN)
+    public Response loadDataformatUnivocityFixed() throws Exception {
+        /* This is an autogenerated test */
+        if (context.resolveDataFormat(DATAFORMAT_UNIVOCITY_FIXED) != null) {
+            return Response.ok().build();
+        }
+        LOG.warnf("Could not load [%s] from the Camel context", DATAFORMAT_UNIVOCITY_FIXED);
+        return Response.status(500, DATAFORMAT_UNIVOCITY_FIXED + " could not be loaded from the Camel context").build();
+    }
+
+    @Path("/load/dataformat/univocity-tsv")
+    @GET
+    @Produces(MediaType.TEXT_PLAIN)
+    public Response loadDataformatUnivocityTsv() throws Exception {
+        /* This is an autogenerated test */
+        if (context.resolveDataFormat(DATAFORMAT_UNIVOCITY_TSV) != null) {
+            return Response.ok().build();
+        }
+        LOG.warnf("Could not load [%s] from the Camel context", DATAFORMAT_UNIVOCITY_TSV);
+        return Response.status(500, DATAFORMAT_UNIVOCITY_TSV + " could not be loaded from the Camel context").build();
+    }
+}
diff --git a/extensions-jvm/univocity-parsers/integration-test/src/test/java/org/apache/camel/quarkus/component/univocity/parsers/it/UnivocityParsersTest.java b/extensions-jvm/univocity-parsers/integration-test/src/test/java/org/apache/camel/quarkus/component/univocity/parsers/it/UnivocityParsersTest.java
new file mode 100644
index 0000000..40f28ea
--- /dev/null
+++ b/extensions-jvm/univocity-parsers/integration-test/src/test/java/org/apache/camel/quarkus/component/univocity/parsers/it/UnivocityParsersTest.java
@@ -0,0 +1,50 @@
+/*
+ * 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.quarkus.component.univocity.parsers.it;
+
+import io.quarkus.test.junit.QuarkusTest;
+import io.restassured.RestAssured;
+import org.junit.jupiter.api.Test;
+
+@QuarkusTest
+class UnivocityParsersTest {
+
+    @Test
+    public void loadDataformatUnivocityCsv() {
+        /* A simple autogenerated test */
+        RestAssured.get("/univocity-parsers/load/dataformat/univocity-csv")
+                .then()
+                .statusCode(200);
+    }
+
+    @Test
+    public void loadDataformatUnivocityFixed() {
+        /* A simple autogenerated test */
+        RestAssured.get("/univocity-parsers/load/dataformat/univocity-fixed")
+                .then()
+                .statusCode(200);
+    }
+
+    @Test
+    public void loadDataformatUnivocityTsv() {
+        /* A simple autogenerated test */
+        RestAssured.get("/univocity-parsers/load/dataformat/univocity-tsv")
+                .then()
+                .statusCode(200);
+    }
+
+}
diff --git a/extensions-jvm/univocity-parsers/pom.xml b/extensions-jvm/univocity-parsers/pom.xml
new file mode 100644
index 0000000..1533dfe
--- /dev/null
+++ b/extensions-jvm/univocity-parsers/pom.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.camel.quarkus</groupId>
+        <artifactId>camel-quarkus-build-parent</artifactId>
+        <version>1.1.0-SNAPSHOT</version>
+        <relativePath>../../poms/build-parent/pom.xml</relativePath>
+    </parent>
+
+    <artifactId>camel-quarkus-univocity-parsers-parent</artifactId>
+    <name>Camel Quarkus :: uniVocity CSV</name>
+    <packaging>pom</packaging>
+
+    <modules>
+        <module>deployment</module>
+        <module>runtime</module>
+        <module>integration-test</module>
+    </modules>
+</project>
diff --git a/extensions-jvm/univocity-parsers/runtime/pom.xml b/extensions-jvm/univocity-parsers/runtime/pom.xml
new file mode 100644
index 0000000..ccb6298
--- /dev/null
+++ b/extensions-jvm/univocity-parsers/runtime/pom.xml
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.camel.quarkus</groupId>
+        <artifactId>camel-quarkus-univocity-parsers-parent</artifactId>
+        <version>1.1.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>camel-quarkus-univocity-parsers</artifactId>
+    <name>Camel Quarkus :: uniVocity CSV :: Runtime</name>
+    <description>Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers.</description>
+
+    <properties>
+        <firstVersion>1.1.0</firstVersion>
+    </properties>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.camel.quarkus</groupId>
+                <artifactId>camel-quarkus-bom</artifactId>
+                <version>${project.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.camel.quarkus</groupId>
+            <artifactId>camel-quarkus-core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-univocity-parsers</artifactId>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.camel.quarkus</groupId>
+                <artifactId>camel-quarkus-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>update-extension-doc-page</id>
+                        <goals><goal>update-extension-doc-page</goal></goals>
+                        <phase>process-classes</phase>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>io.quarkus</groupId>
+                <artifactId>quarkus-bootstrap-maven-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <annotationProcessorPaths>
+                        <path>
+                            <groupId>io.quarkus</groupId>
+                            <artifactId>quarkus-extension-processor</artifactId>
+                            <version>${quarkus.version}</version>
+                        </path>
+                    </annotationProcessorPaths>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>
diff --git a/extensions-jvm/univocity-parsers/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions-jvm/univocity-parsers/runtime/src/main/resources/META-INF/quarkus-extension.yaml
new file mode 100644
index 0000000..4ca500c
--- /dev/null
+++ b/extensions-jvm/univocity-parsers/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -0,0 +1,32 @@
+#
+# 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.
+#
+
+# This is a generated file. Do not edit directly!
+# To re-generate, run the following command from the top level directory:
+#
+#   mvn -N cq:update-quarkus-metadata
+#
+---
+name: "Camel uniVocity CSV"
+description: "Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers"
+metadata:
+  unlisted: true
+  guide: "https://camel.apache.org/camel-quarkus/latest/reference/extensions/univocity-parsers.html"
+  categories:
+  - "integration"
+  status:
+  - "preview"
diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index 3df1fa4..f8fc6cf 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -1767,6 +1767,11 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.camel</groupId>
+                <artifactId>camel-univocity-parsers</artifactId>
+                <version>${camel.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.camel</groupId>
                 <artifactId>camel-validator</artifactId>
                 <version>${camel.version}</version>
             </dependency>
@@ -4724,6 +4729,16 @@
             </dependency>
             <dependency>
                 <groupId>org.apache.camel.quarkus</groupId>
+                <artifactId>camel-quarkus-univocity-parsers</artifactId>
+                <version>${camel-quarkus.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.camel.quarkus</groupId>
+                <artifactId>camel-quarkus-univocity-parsers-deployment</artifactId>
+                <version>${camel-quarkus.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.camel.quarkus</groupId>
                 <artifactId>camel-quarkus-validator</artifactId>
                 <version>${camel-quarkus.version}</version>
             </dependency>