You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/10/24 20:09:17 UTC

svn commit: r1535471 - /cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java

Author: dkulp
Date: Thu Oct 24 18:09:16 2013
New Revision: 1535471

URL: http://svn.apache.org/r1535471
Log:
Merged revisions 1535106 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.7.x-fixes

........
  r1535106 | dkulp | 2013-10-23 14:33:42 -0400 (Wed, 23 Oct 2013) | 10 lines

  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.6.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java

Modified: cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java?rev=1535471&r1=1535470&r2=1535471&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java (original)
+++ cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/message/ExchangeImpl.java Thu Oct 24 18:09:16 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) {