You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/09/20 09:01:16 UTC

[camel] 03/03: Regen

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 36dec19123b1e0646a6d574e4f1bf6f52e663153
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Sep 20 11:00:34 2019 +0200

    Regen
---
 components/camel-xj/src/main/docs/xj-component.adoc            |  2 +-
 .../camel/builder/endpoint/dsl/XJEndpointBuilderFactory.java   | 10 ++++++++--
 docs/components/modules/ROOT/pages/xj-component.adoc           |  2 +-
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/components/camel-xj/src/main/docs/xj-component.adoc b/components/camel-xj/src/main/docs/xj-component.adoc
index 8e576fa..a496f20 100644
--- a/components/camel-xj/src/main/docs/xj-component.adoc
+++ b/components/camel-xj/src/main/docs/xj-component.adoc
@@ -86,7 +86,7 @@ with the following path and query parameters:
 |===
 | Name | Description | Default | Type
 | *transformDirection* (producer) | *Required* Sets the transform direction. |  | TransformDirection
-| *allowStAX* (producer) | Whether to allow using StAX as the javax.xml.transform.Source. | true | boolean
+| *allowStAX* (producer) | Whether to allow using StAX as the javax.xml.transform.Source. You can enable this if the XSLT library supports StAX such as the Saxon library (camel-saxon). The Xalan library (default in JVM) does not support StAXSource. | false | boolean
 | *contentCache* (producer) | Cache for the resource content (the stylesheet file) when it is loaded. If set to false Camel will reload the stylesheet file on each message processing. This is good for development. A cached stylesheet can be forced to reload at runtime via JMX using the clearCachedStylesheet operation. | true | boolean
 | *deleteOutputFile* (producer) | If you have output=file then this option dictates whether or not the output file should be deleted when the Exchange is done processing. For example suppose the output file is a temporary file, then it can be a good idea to delete it after use. | false | boolean
 | *failOnNullBody* (producer) | Whether or not to throw an exception if the input body is null. | true | boolean
diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/XJEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/XJEndpointBuilderFactory.java
index 199205e..008410a 100644
--- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/XJEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/XJEndpointBuilderFactory.java
@@ -66,7 +66,10 @@ public interface XJEndpointBuilderFactory {
             return this;
         }
         /**
-         * Whether to allow using StAX as the javax.xml.transform.Source.
+         * Whether to allow using StAX as the javax.xml.transform.Source. You
+         * can enable this if the XSLT library supports StAX such as the Saxon
+         * library (camel-saxon). The Xalan library (default in JVM) does not
+         * support StAXSource.
          * 
          * The option is a: <code>boolean</code> type.
          * 
@@ -77,7 +80,10 @@ public interface XJEndpointBuilderFactory {
             return this;
         }
         /**
-         * Whether to allow using StAX as the javax.xml.transform.Source.
+         * Whether to allow using StAX as the javax.xml.transform.Source. You
+         * can enable this if the XSLT library supports StAX such as the Saxon
+         * library (camel-saxon). The Xalan library (default in JVM) does not
+         * support StAXSource.
          * 
          * The option will be converted to a <code>boolean</code> type.
          * 
diff --git a/docs/components/modules/ROOT/pages/xj-component.adoc b/docs/components/modules/ROOT/pages/xj-component.adoc
index b9d87e8..2236d8b 100644
--- a/docs/components/modules/ROOT/pages/xj-component.adoc
+++ b/docs/components/modules/ROOT/pages/xj-component.adoc
@@ -87,7 +87,7 @@ with the following path and query parameters:
 |===
 | Name | Description | Default | Type
 | *transformDirection* (producer) | *Required* Sets the transform direction. |  | TransformDirection
-| *allowStAX* (producer) | Whether to allow using StAX as the javax.xml.transform.Source. | true | boolean
+| *allowStAX* (producer) | Whether to allow using StAX as the javax.xml.transform.Source. You can enable this if the XSLT library supports StAX such as the Saxon library (camel-saxon). The Xalan library (default in JVM) does not support StAXSource. | false | boolean
 | *contentCache* (producer) | Cache for the resource content (the stylesheet file) when it is loaded. If set to false Camel will reload the stylesheet file on each message processing. This is good for development. A cached stylesheet can be forced to reload at runtime via JMX using the clearCachedStylesheet operation. | true | boolean
 | *deleteOutputFile* (producer) | If you have output=file then this option dictates whether or not the output file should be deleted when the Exchange is done processing. For example suppose the output file is a temporary file, then it can be a good idea to delete it after use. | false | boolean
 | *failOnNullBody* (producer) | Whether or not to throw an exception if the input body is null. | true | boolean