You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/02/12 11:10:42 UTC

[2/2] camel git commit: CAMEL-9591: Polished

CAMEL-9591: Polished


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0e0d6e98
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0e0d6e98
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0e0d6e98

Branch: refs/heads/master
Commit: 0e0d6e981bd3921035fddb87a8aca74c0ffd6fd5
Parents: 4183cbb
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Feb 12 11:08:33 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Feb 12 11:08:33 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/xslt/XsltEndpoint.java   | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0e0d6e98/camel-core/src/main/java/org/apache/camel/component/xslt/XsltEndpoint.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/xslt/XsltEndpoint.java b/camel-core/src/main/java/org/apache/camel/component/xslt/XsltEndpoint.java
index 33cf0f4..86e6ab5 100644
--- a/camel-core/src/main/java/org/apache/camel/component/xslt/XsltEndpoint.java
+++ b/camel-core/src/main/java/org/apache/camel/component/xslt/XsltEndpoint.java
@@ -72,7 +72,7 @@ public class XsltEndpoint extends ProcessorEndpoint {
     private TransformerFactory transformerFactory;
     @UriParam
     private boolean saxon;
-    @UriParam(label = "advanced")
+    @UriParam(label = "advanced", javaType = "java.lang.String")
     private List<Object> saxonExtensionFunctions;
     @UriParam(label = "advanced")
     private ResultHandlerFactory resultHandlerFactory;
@@ -208,7 +208,8 @@ public class XsltEndpoint extends ProcessorEndpoint {
 
     /**
      * Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition.
-     * You would need to add Saxon to the classpath.
+     * You would need to add camel-saxon to the classpath.
+     * The function is looked up in the registry, where you can comma to separate multiple values to lookup.
      */
     public void setSaxonExtensionFunctions(List<Object> extensionFunctions) {
         this.saxonExtensionFunctions = extensionFunctions;
@@ -216,7 +217,8 @@ public class XsltEndpoint extends ProcessorEndpoint {
 
     /**
      * Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition.
-     * You would need to add Saxon to the classpath.
+     * You would need to add camel-saxon to the classpath.
+     * The function is looked up in the registry, where you can comma to separate multiple values to lookup.
      */
     public void setSaxonExtensionFunctions(String extensionFunctions) {
         this.saxonExtensionFunctions = EndpointHelper.resolveReferenceListParameter(