Author: ulhasbhole
Date: Thu Apr 21 17:02:40 2011
New Revision: 1095776

URL: http://svn.apache.org/viewvc?rev=1095776&view=rev
Log:
[SM-2073] Threading problem in Servicemix-HTTP reported on new separated 
components also needs to be fixed in 3.2.

Modified:
    
servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java

Modified: 
servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java?rev=1095776&r1=1095775&r2=1095776&view=diff
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
 (original)
+++ 
servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
 Thu Apr 21 17:02:40 2011
@@ -245,6 +245,8 @@ public class HttpConsumerEndpoint extend
                 }
                 // Put the new exchange
                 exchanges.put(exchange.getExchangeId(), exchange);
+                // In case of the SEDA flow isn't used, the exchange could be 
a different instance, so it should be updated.
+                cont.setObject(exchange);
                 // Resume continuation
                 cont.resume();
                 if (!cont.isResumed()) {


Reply via email to