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
<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
.
Please file an issue if you are missing some specific output format in native mode.