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:24 UTC

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

Author: dkulp
Date: Thu Oct 24 18:09:23 2013
New Revision: 1535474

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

........
  r1535462 | dkulp | 2013-10-24 14:01:48 -0400 (Thu, 24 Oct 2013) | 10 lines

  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.6.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java

Modified: cxf/branches/2.6.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.6.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java?rev=1535474&r1=1535473&r2=1535474&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java (original)
+++ cxf/branches/2.6.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java Thu Oct 24 18:09:23 2013
@@ -911,6 +911,11 @@ public class MAPAggregatorImpl extends M
                 InternalContextUtils.rebaseResponse(inMAPs.getFaultTo(),
                                             inMAPs,
                                             message);
+
+                Destination destination
+                    = InternalContextUtils.createDecoupledDestination(message.getExchange(),
+                                                                      inMAPs.getFaultTo());
+                message.getExchange().setDestination(destination);
             }
         }
     }