Author: jbonofre
Date: Wed Mar  3 14:44:56 2010
New Revision: 918494

URL: http://svn.apache.org/viewvc?rev=918494&view=rev
Log:
[SMXCOMP-713] Threading problem.

Modified:
    
servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java

Modified: 
servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
URL: 
http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java?rev=918494&r1=918493&r2=918494&view=diff
==============================================================================
--- 
servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
 (original)
+++ 
servicemix/components/bindings/servicemix-http/trunk/src/main/java/org/apache/servicemix/http/endpoints/HttpConsumerEndpoint.java
 Wed Mar  3 14:44:56 2010
@@ -237,6 +237,8 @@
       if (logger.isDebugEnabled()) {
         logger.debug("Resuming continuation for exchange: " + 
exchange.getExchangeId());
       }
+      // 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();
     }


Reply via email to