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:01:49 UTC

svn commit: r1535462 - /cxf/branches/2.7.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java

Author: dkulp
Date: Thu Oct 24 18:01:48 2013
New Revision: 1535462

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

........
  r1535458 | dkulp | 2013-10-24 13:58:50 -0400 (Thu, 24 Oct 2013) | 2 lines

  [CXF-5354] Make sure the faultTo is used as the destination for the fault message

........

Modified:
    cxf/branches/2.7.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java

Modified: cxf/branches/2.7.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java?rev=1535462&r1=1535461&r2=1535462&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java (original)
+++ cxf/branches/2.7.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java Thu Oct 24 18:01:48 2013
@@ -908,6 +908,10 @@ public class MAPAggregatorImpl extends M
                 InternalContextUtils.rebaseResponse(inMAPs.getFaultTo(),
                                             inMAPs,
                                             m);
+                
+                Destination destination = InternalContextUtils.createDecoupledDestination(m.getExchange(), 
+                                                                                          inMAPs.getFaultTo());
+                m.getExchange().setDestination(destination);
             }
         }
     }