Safe Store Facility

Several protocols require the use of a safe store, a guaranteed storage of messages before the next step of the protocol can proceed. Although the details of a safe store mechanism may vary among protocols and the medium chosen to hold the safe store, the steps of a safe store are generally common. To this end, the server provides a common interface for safe store mechanisms, com.ibi.common.IXDSafeStore. A default implementation of the safe store mechanism is provided by the com.ibi.edaqm.XDFileSafestore class, which supports a constructor of the path in a file system to be used for the safe store.

Supported methods are:

Method

Description

add

Adds a record to the safe store. An arbitrary key is required.

getMessage

Returns the message associated with a given key.

iterator

Obtains an iterator for the records in the safe store. This is usually required during recovery operations to facilitate recovery of the safe stored information. The iterator next() method returns the key of the next record in the safe store.

remove

Removes a keyed record from the safe store.

Details of the XDISafeStore interface and the FileSafestore implementation are contained in the provided Javadoc.


iWay Software