// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
[id="extensions-fop"]
= FOP
:linkattrs:
:cq-artifact-id: camel-quarkus-fop
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable
:cq-description: Render messages into PDF and other output formats supported by Apache FOP.
:cq-deprecated: false
:cq-jvm-since: 1.1.0
:cq-native-since: 1.2.0

ifeval::[{doc-show-badges} == true]
[.badges]
[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.2.0##
endif::[]

Render messages into PDF and other output formats supported by Apache FOP.

[id="extensions-fop-whats-inside"]
== What's inside

* xref:{cq-camel-components}::fop-component.adoc[FOP component], URI syntax: `fop:outputType`

Please refer to the above link for usage and configuration details.

[id="extensions-fop-maven-coordinates"]
== Maven coordinates

https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-fop[Create a new project with this extension on {link-quarkus-code-generator}, window="_blank"]

Or add the coordinates to your existing project:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-fop</artifactId>
</dependency>
----
ifeval::[{doc-show-user-guide-link} == true]
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
endif::[]

[id="extensions-fop-camel-quarkus-limitations"]
== Camel Quarkus limitations

[id="extensions-fop-limitations-jdk-25"]
=== JDK 25+

Due to an https://issues.apache.org/jira/browse/FOP-3275[issue] with Apache FOP encountered with JDK 25+, https://www.saxonica.com/documentation12/documentation.xml[`Saxon-HE`] is required to avoid reentrant XML parsing problems.

`Saxon-HE` can be added to your application as follows.

[source,xml]
----
<dependency>
    <groupId>net.sf.saxon</groupId>
    <artifactId>Saxon-HE</artifactId>
</dependency>
----

[id="extensions-fop-limitations-supported-output-types"]
=== 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 https://github.com/apache/camel-quarkus/issues/new[issue] if you are missing some specific output format
in native mode.

