2.6.10. XSLT
XSLT 组件已从 camel-core 移到 camel-xslt 和 camel-xslt-saxon 中。组件被分隔,因此 camel-xslt 是使用 JDK XSTL 引擎(Xalan),而 camel-xslt-saxon 是使用 Saxon 时。这意味着,您应该使用 xslt 和 xslt-saxon 作为 Camel 端点 URI 中的组件名称。如果您使用 XSLT 聚合策略,则使用 org.apache.camel.component.xslt.saxon.XsltSaxonAggregationStrategy 作为 Saxon 支持。如果使用 xslt builder,则使用 org.apache.camel.component.xslt.XsltSaxonBuilder 支持。另请注意,allowStax 只支持 camel-xslt-saxon,因为 JDK XSLT 不支持它。