camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [5/6] camel git commit: CAMEL-9472: Add multi value to component docs
Date Mon, 04 Jan 2016 17:38:15 GMT
CAMEL-9472: Add multi value to component docs


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

Branch: refs/heads/camel-2.16.x
Commit: b8d6da7eeba4a72dfbffc8f99409368035b8fda4
Parents: 4ce4955
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Jan 4 18:26:25 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Jan 4 18:37:54 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/cxf/CxfEndpoint.java     | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b8d6da7e/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
index db78e81..6042c18 100644
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CxfEndpoint.java
@@ -130,7 +130,6 @@ public class CxfEndpoint extends DefaultEndpoint implements HeaderFilterStrategy
     private BindingConfiguration bindingConfig;
     private DataBinding dataBinding;
     private Object serviceFactoryBean;
-    private Map<String, Object> properties;
     private List<Interceptor<? extends Message>> in = new ModCountCopyOnWriteArrayList<Interceptor<?
extends Message>>();
     private List<Interceptor<? extends Message>> out = new ModCountCopyOnWriteArrayList<Interceptor<?
extends Message>>();
     private List<Interceptor<? extends Message>> outFault = new ModCountCopyOnWriteArrayList<Interceptor<?
extends Message>>();
@@ -146,6 +145,7 @@ public class CxfEndpoint extends DefaultEndpoint implements HeaderFilterStrategy
     private String address;
     @UriParam
     private String wsdlURL;
+    @UriParam
     private Class<?> serviceClass;
     @UriParam(name = "portName")
     private String portNameString;
@@ -195,6 +195,8 @@ public class CxfEndpoint extends DefaultEndpoint implements HeaderFilterStrategy
     private String username;
     @UriParam
     private String password;
+    @UriParam(label = "advanced", prefix = "properties.", multiValue = true)
+    private Map<String, Object> properties;
 
     public CxfEndpoint() {
     }
@@ -1029,6 +1031,10 @@ public class CxfEndpoint extends DefaultEndpoint implements HeaderFilterStrategy
         }
     }
 
+    /**
+     * To set additional CXF options using the key/value pairs from the Map.
+     * For example to turn on stacktraces in SOAP faults, <tt>properties.faultStackTraceEnabled=true</tt>
+     */
     public void setProperties(Map<String, Object> properties) {
         if (this.properties == null) {
             this.properties = properties;


Mime
View raw message