cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1535106 - /cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java
Date Wed, 23 Oct 2013 18:33:43 GMT
Author: dkulp
Date: Wed Oct 23 18:33:42 2013
New Revision: 1535106

URL: http://svn.apache.org/r1535106
Log:
Merged revisions 1535091 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1535091 | dkulp | 2013-10-23 14:17:53 -0400 (Wed, 23 Oct 2013) | 2 lines

  Add a copy consructor

........

Modified:
    cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java

Modified: cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java?rev=1535106&r1=1535105&r2=1535106&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java (original)
+++ cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java Wed
Oct 23 18:33:42 2013
@@ -49,7 +49,25 @@ public class ExchangeImpl extends String
     private Service service;
     private Binding binding;
     private BindingOperationInfo bindingOp;
-    
+
+    public ExchangeImpl() {
+    }
+    public ExchangeImpl(ExchangeImpl ex) {
+        super(ex);
+        this.destination = ex.destination;
+        this.oneWay = ex.oneWay;
+        this.synchronous = ex.synchronous;
+        this.inMessage = ex.inMessage;
+        this.outMessage = ex.outMessage;
+        this.inFaultMessage = ex.inFaultMessage;
+        this.outFaultMessage = ex.outFaultMessage;
+        this.session = ex.session;
+        this.bus = ex.bus;
+        this.endpoint = ex.endpoint;
+        this.service = ex.service;
+        this.binding = ex.binding;
+        this.bindingOp = ex.bindingOp;
+    }
 
     /*
     public <T> T get(Class<T> key) { 



Mime
View raw message