Sidebar

Do I lose messages if QIE crashes?

0 votes
290 views
asked Aug 29, 2014 by brandon-w-8204 (33,270 points)
If qie crashes do we lose the messages that are waiting to be processed or that are in process of being completed and sent.

1 Answer

+1 vote
 
Best answer

Each channel can be set to a different persistence level. The default persistence level is level 1.  Below is a list of persistence levels. Messages are kept in the database for every level except for level 0.

Level 0 is reserved for channels where recovery is not needed and speed is key. This is the only persistence level where messages can be lost if qie crashes. In all other levels it is written to the database to make sure you can recover the message.

Persistence Level

Description

Level 0

Messages are NOT persisted to the database.  Use this option only if processing speed is critical and message recovery is not needed (e.g. processing large batch files which can easily be reprocessed if the channel stops unexpectedly or encounters critical errors).

           Speed: Very Fast
Persistence:  None

Level 1

Messages are persisted as they enter the inbound queue and as they are completed.  Any messages that are in the processing or outbound queues when the channel is stopped will be restored back to the inbound queue when the channel is restarted.

           Speed: Fast
Persistence:  Inbound, Completed

Level 2

Messages are persisted as they enter the inbound queue, the outbound queue and as they are completed.  Any messages that are in the processing queue when the channel is stopped will be restored back to the inbound queue when the channel is restarted.

           Speed: Medium
Persistence:  Inbound, Outbound, Completed

Level 3

Messages are persisted at every step, including each transition from one channel node to the next.

           Speed: Reduced
Persistence:  Inbound, Processing, Outbound, Completed

 

answered Aug 29, 2014 by brandon-w-8204 (33,270 points)
selected Aug 29, 2014 by mike-r-7535
...