JVM since1.1.0 Native since1.1.0
Parse fixed width and delimited files using the FlatPack library.
Flatpack component, URI syntax:
Please refer to the above links for usage and configuration details.
Or add the coordinates to your existing project:
<dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-flatpack</artifactId> </dependency>
Check the User guide for more information about writing Camel Quarkus applications.
Additional Camel Quarkus configuration
This component typically loads Flatpack mappings from classpath. To make it work also in native mode, you need to explicitly embed the mappings in the native executable by using the
For instance, the route below loads the Flatpack mappings from a classpath resource named
To include this (an possibly other mappings stored in
.pzmap.xml files under the
mappings directory) in the native image, you would have to add something like the following to your
quarkus.native.resources.includes = mappings/*.pzmap.xml
More information about selecting resources for inclusion in the native executable can be found at Embedding resource in native executable.