FOP
JVM since1.1.0 Native since1.2.0
Render messages into PDF and other output formats supported by Apache FOP.
What’s inside
-
FOP component, URI syntax:
fop:outputType
Please refer to the above link for usage and configuration details.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-fop</artifactId>
</dependency> Check the User guide for more information about writing Camel Quarkus applications.
Camel Quarkus limitations
Supported JDK versions
Due to an issue with Apache FOP encountered with JDK 25, it’s advised to build and run your application with JDK 21 or JDK 17 when using this extension.
When running in native mode, you’ll need to ensure you build with the appropriate GraalVM / Mandrel version. When using containerized native image builds, you can override the default Quarkus builder image with the following configuration.
quarkus.native.builder-image=quay.io/quarkus/ubi9-quarkus-mandrel-builder-image:jdk-21 Supported Output Types
While you can use any of the available output types in JVM mode, only PDF output type is supported in native mode.
Please file an issue if you are missing some specific output format in native mode.