cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r719215 - /cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java
Date Thu, 20 Nov 2008 11:42:12 GMT
Author: sergeyb
Date: Thu Nov 20 03:42:11 2008
New Revision: 719215

URL: http://svn.apache.org/viewvc?rev=719215&view=rev
Log:
CXF-1912 : putting misplaced isResumed update back to where it should be

Modified:
    cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java

Modified: cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java?rev=719215&r1=719214&r2=719215&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java
(original)
+++ cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/continuations/JMSContinuation.java
Thu Nov 20 03:42:11 2008
@@ -86,16 +86,15 @@
         if (isResumed || !isPending) {
             return;
         }
-        
+
+        isResumed = true;
         continuations.remove(this);
         
         BusFactory.setThreadDefaultBus(bus);
         try {
             incomingObserver.onMessage(inMessage);
         } finally {
-            isResumed = true;
             isPending = false;
-            
             BusFactory.setThreadDefaultBus(null);
         }
     }



Mime
View raw message