Activator can back up messages multiple times: When first consumed, and during processing when the content and state have been changed.
Backing up files is strongly recommended. This is required for the system to perform fail-over operations such as attempting to send messages again (retries) in case of a transport connection failure.
With backups disabled, payloads (up to a certain size) are stored in-memory. If the process is ended, the memory is cleared and the payloads are lost. Without backups, a message in process cannot be recovered if the server stops or restarts. Backups also are needed if you want the ability to resubmit messages to the back end or resend messages to partners.
Backup files are stored in <install directory>\common\data\backup
, unless you specify otherwise.
There are two places in the user interface to configure how Activator backs up the messages it processes.
To open the global backup configuration page, click Trading configuration > Managing trading configuration on the toolbar. On the Communities page, click Configure the global backup settings. The following describes the fields.
<install directory>\common\data\backup
.Because you use Message Tracker to search for, view and resubmit documents, there is no need to manually examine the backup directory contents. If you open the directory, however, you see the system appends names of backed up files with labels noting the state of backed-up messages. There are many possible states. Some common states are:
Message Tracker is most useful when message backups are turned on for all deliveries and the message handler. Backing up is turned on by default at these points:
There may be reasons for tuning off message backups at one or more points. For example, the field Message handler backs up messages is used to adjust configuration when backups of clear-text messages are not wanted.
Turning off backups at all three points would restrict Message Tracker. Although you could still search for messages based on information stored in the database, you could not view the actual messages for the lack of backups. You also could not resend or reprocess any messages.
The following table summarizes how changing backup settings affects the ability to resend and reprocess messages in Message Tracker.
Action |
Requirement |
Resend |
Backing up must be enabled for production exchanges or the message handler. If neither backs ups, resending is not possible. |
Reprocess |
Backing up must be enabled for consumption exchanges. If there are no backups of consumed files, reprocessing is not possible. |
The following tables break down in more detail how backup settings affect the ability to resend or reprocess outbound and inbound messages.
Outbound messages |
|
|
|
Backup point |
State |
Can resend |
Can reprocess |
Application pickup |
Off |
No |
No |
Send to partner |
Off |
||
Message handler |
Off |
||
|
|
|
|
Application pickup |
On |
Yes |
Yes |
Send to partner |
On |
||
Message handler |
Off |
||
|
|
|
|
Application pickup |
Off |
Yes |
No |
Send to partner |
Off |
||
Message handler |
On |
||
|
|
|
|
Application pickup |
On |
Yes |
Yes |
Send to partner |
On |
||
Message handler |
On |
Inbound messages |
|
|
|
Backup point |
State |
Can resend |
Can reprocess |
Application delivery |
Off |
No |
No |
Receive from partner |
Off |
||
Message handler |
Off |
||
|
|
|
|
Application delivery |
On |
Yes |
Yes |
Receive from partner |
On |
||
Message handler |
Off |
||
|
|
|
|
Application delivery |
Off |
Yes |
No |
Receive from partner |
Off |
||
Message handler |
On |
||
|
|
|
|
Application delivery |
On |
Yes |
Yes |
Receive from partner |
On |
||
Message handler |
On |