|
From: <cy...@us...> - 2003-07-02 07:00:54
|
Update of /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler
In directory sc8-pr-cvs1:/tmp/cvs-serv5906
Modified Files:
Tag: b0931
MessageProcessor.java
Log Message:
Bug fix: the delivery thread should be guarded by transaction, otherwise,
the thread would compete with the current thread which is storing the
error message.
Index: MessageProcessor.java
===================================================================
RCS file: /cvsroot/ebxmlms/ebxmlms/src/hk/hku/cecid/phoenix/message/handler/MessageProcessor.java,v
retrieving revision 1.43.2.4
retrieving revision 1.43.2.5
diff -C2 -d -r1.43.2.4 -r1.43.2.5
*** MessageProcessor.java 16 May 2003 08:39:12 -0000 1.43.2.4
--- MessageProcessor.java 2 Jul 2003 07:00:52 -0000 1.43.2.5
***************
*** 712,716 ****
getApplicationContext(), mshConfig.
getMessageListener(), errorMessage);
! delivery.start();
tx.commit();
}
--- 712,716 ----
getApplicationContext(), mshConfig.
getMessageListener(), errorMessage);
! tx.addThread(delivery);
tx.commit();
}
|