ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sume...@apache.org
Subject svn commit: r576330 - /webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
Date Mon, 17 Sep 2007 09:39:55 GMT
Author: sumedha
Date: Mon Sep 17 02:39:54 2007
New Revision: 576330

URL: http://svn.apache.org/viewvc?rev=576330&view=rev
Log:
No need to retrive senderBean. It is already retrived inside run() & passed to updateMessage.
If we do this, we loose the original reference to senderBean

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

Modified: webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java?rev=576330&r1=576329&r2=576330&view=diff
==============================================================================
--- webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
(original)
+++ webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java
Mon Sep 17 02:39:54 2007
@@ -395,7 +395,9 @@
 	private boolean updateMessage(RMMsgContext rmMsgContext, SenderBean senderBean, StorageManager
storageManager) throws AxisFault {
 		
 		// Lock the message to enable retransmission update
-		senderBean = storageManager.getSenderBeanMgr().retrieve(senderBean.getMessageID());
+		// No need to do the following. This is being done inside run(), which is the callee of
+		// updateMessage()
+		//senderBean = storageManager.getSenderBeanMgr().retrieve(senderBean.getMessageID());
 		
 		// Only continue if we find a SenderBean
 		if (senderBean == null)



---------------------------------------------------------------------
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