ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sume...@apache.org
Subject svn commit: r575625 - /webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/polling/PollingManager.java
Date Fri, 14 Sep 2007 11:17:44 GMT
Author: sumedha
Date: Fri Sep 14 04:17:41 2007
New Revision: 575625

URL: http://svn.apache.org/viewvc?rev=575625&view=rev
Log:
copyingr575358 from branch

Modified:
    webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/polling/PollingManager.java

Modified: webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/polling/PollingManager.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/polling/PollingManager.java?rev=575625&r1=575624&r2=575625&view=diff
==============================================================================
--- webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/polling/PollingManager.java
(original)
+++ webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/polling/PollingManager.java
Fri Sep 14 04:17:41 2007
@@ -152,8 +152,10 @@
       if (log.isDebugEnabled())
         log.debug("Polling rms " + beanToPoll);
 			// The sequence is there, but we still only poll if we are expecting reply messages,
-			// or if we don't have clean ack state.
-      boolean cleanAcks = false;
+            // or if we don't have clean ack state. (We assume acks are clean, and only unset
+            // this if we find evidence to the contrary).
+          boolean cleanAcks = true;
+
       if (beanToPoll.getNextMessageNumber() > -1)
       	cleanAcks = AcknowledgementManager.verifySequenceCompletion(beanToPoll.getClientCompletedMessages(),
beanToPoll.getNextMessageNumber());
 			long  repliesExpected = beanToPoll.getExpectedReplies();



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message