cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r931234 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/MultipleEndpointObserver.java
Date Tue, 06 Apr 2010 17:13:42 GMT
Author: dkulp
Date: Tue Apr  6 17:13:41 2010
New Revision: 931234

URL: http://svn.apache.org/viewvc?rev=931234&view=rev
Log:
[CXF-2733] Reattempt a fix for this

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/MultipleEndpointObserver.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/MultipleEndpointObserver.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/MultipleEndpointObserver.java?rev=931234&r1=931233&r2=931234&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/MultipleEndpointObserver.java
(original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/transport/MultipleEndpointObserver.java
Tue Apr  6 17:13:41 2010
@@ -60,13 +60,15 @@ public class MultipleEndpointObserver im
         Bus origBus = BusFactory.getThreadDefaultBus(false);
         BusFactory.setThreadDefaultBus(bus);
         try {
-            message = createMessage(message);
             Exchange exchange = message.getExchange();
             if (exchange == null) {
                 exchange = new ExchangeImpl();
                 exchange.setInMessage(message);
                 message.setExchange(exchange);
             }
+            message = createMessage(message);
+            message.setExchange(exchange);                
+            exchange.setInMessage(message);
             setExchangeProperties(exchange, message);
             
             // setup chain



Mime
View raw message