摘要 |
<P>PROBLEM TO BE SOLVED: To guarantee that a message is not lost even if a system defect occurs in a message queue system. <P>SOLUTION: After each queue is locked 702, a queue manager checks 704 an available storage space within each queue. If all queues do not sufficiently have available spaces secured in commitment records, a composite commitment operation is intercepted 706. If the queues sufficiently have the storage spaces secured in the commitment records, the queues are synchronized 708 to confirm that all messages to be stored in a volatile memory have been moved to a non-volatile memory. After the queues are synchronized, a commitment record is written 710 into a journal data structure. After a journal commitment record is written, the commitment record is written 712 into each queue. After the commitment record is written into the queue, that queue is unlocked 714. <P>COPYRIGHT: (C)2012,JPO&INPIT |