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
While you can use any of the available output types in JVM mode, only PDF output type is supported in native mode. PDF output type in native mode has several limitations:
-
Default sRGB color space is always disabled because of Graal VM issue #2850 and
disable-srgb-colorspace
FOP configuration property is ignored. -
If custom fonts are used, font cache has to be disabled because of Graal VM issue #460. Please set the FOP configuration property
use-cache
tofalse
.
Native build for module camel-quarkus-fop is affected by the Fop native failures due to pdfbox 3 upgrade #5244, native profile is not working and disabled until the issue is fixed. |
Please file an issue if you are missing some specific output format in native mode.