You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2007/11/26 10:09:10 UTC
svn commit: r598180 -
/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
Author: gnodet
Date: Mon Nov 26 01:09:09 2007
New Revision: 598180
URL: http://svn.apache.org/viewvc?rev=598180&view=rev
Log:
SM-822: java.lang.IllegalStateException: component is not owner, with jmsflow and jcaflow
Modified:
servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
Modified: servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java
URL: http://svn.apache.org/viewvc/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java?rev=598180&r1=598179&r2=598180&view=diff
==============================================================================
--- servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java (original)
+++ servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java Mon Nov 26 01:09:09 2007
@@ -184,7 +184,7 @@
log.debug("Suspending continuation for exchange: " + exchange.getExchangeId());
}
boolean result = cont.suspend(suspentionTime);
- exchanges.remove(exchange.getExchangeId());
+ exchange = exchanges.remove(exchange.getExchangeId());
if (!result) {
throw new Exception("Error sending exchange: aborted");
}