FIX Module Version 7.2.December 2014 | Understanding and Using Fix Module | webMethods FIX Module | Sending and Receiving FIX Messages | Message Storage and Queuing
 
Message Storage and Queuing
FIX Module ensures reliable message delivery, storing every message sent and received in the Trading Networks database. In the event that there is no connection to the FIX engine during message transmission, FIX Module's queuing functionality guarantees that no message will ever be lost. When the connection to the FIX engine is lost, FIX Module stores unsent messages with a status of FIX_QUEUED. After the connection is restored, FIX Module automatically sends all queued messages in the order in which they were stored and updates the status to FIX_SENT.
FIX Module stores every message with a status indicating its transmission state. The following statuses are possible:
*FIX_RECEIVED—The message was received from the FIX engine.
*FIX_SENT—The message was successfully sent to the FIX engine.
*FIX_QUEUED—The message is queued for transmission because there is no active connection to the FIX engine. Once the connection is restored, FIX Module will automatically send messages in the order in which they were stored and update the status to FIX_SENT.
*FIX_SEND_ERROR—There was an error during message transmission.
In addition to the aforementioned statuses, the message status may also correspond to its processing state within Appia. For every message that FIX Module sends to Appia, Appia returns an event that reflects its processing state. When FIX Module receives these events, it retrieves the relevant Integration Server document in Trading Networks and updates the FIX status to reflect the Appia event status. These events may arrive in any order.
The following Appia related user statuses are possible:
*APPIA_MESSAGE_VALIDATED—Appia validated the message and returned a MESSAGE_VALIDATED event status.
*APPIA_MESSAGE_SENT—Appia sent the message to your partner and returned a MESSAGE_SENT event status.
*APPIA_MESSAGE_COMMITED—Appia committed the message to its persistence store and returned a MESSAGE_COMMITED event status.
*APPIA_MESSAGE_VALIDATION_ERROR—An error occurred during the transaction due to invalid message syntax.