cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1535458 - /cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java
Date Thu, 24 Oct 2013 17:58:50 GMT
Author: dkulp
Date: Thu Oct 24 17:58:50 2013
New Revision: 1535458

URL: http://svn.apache.org/r1535458
Log:
[CXF-5354] Make sure the faultTo is used as the destination for the fault message

Modified:
    cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java

Modified: cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java?rev=1535458&r1=1535457&r2=1535458&view=diff
==============================================================================
--- cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java
(original)
+++ cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java
Thu Oct 24 17:58:50 2013
@@ -907,6 +907,10 @@ public class MAPAggregatorImpl extends M
                 InternalContextUtils.rebaseResponse(inMAPs.getFaultTo(),
                                             inMAPs,
                                             m);
+                
+                Destination destination = InternalContextUtils.createDecoupledDestination(m.getExchange(),

+                                                                                        
 inMAPs.getFaultTo());
+                m.getExchange().setDestination(destination);
             }
         }
     }



Mime
View raw message