|
From: Bob K. <bob...@us...> - 2004-11-22 03:30:31
|
Update of /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23834/src/hk/hku/cecid/phoenix/message/handler Modified Files: MessageServiceHandlerConnection.java Log Message: Add the transaction commit statement before sending, as it will be needed to store the message before sending out for ultra-slow database. Index: MessageServiceHandlerConnection.java =================================================================== RCS file: /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler/MessageServiceHandlerConnection.java,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** MessageServiceHandlerConnection.java 19 Aug 2004 06:26:12 -0000 1.29 --- MessageServiceHandlerConnection.java 22 Nov 2004 03:28:12 -0000 1.30 *************** *** 297,300 **** --- 297,309 ---- throw e; } + /* + * the commit statement is added due to + * the situation when we face some ultra-slow + * database, which will not able to store the + * message through MessageServer.store() before + * the sending the ack, which will query for + * message. + */ + tx.commit(); MessageProcessor messageProcessor; if (persistenceName != null) { |