Inhaltsverzeichnis

Messages from external systems

The interface IBackendObjectSenderCommit is available for jobstep BackendObjectRetriever. With the implementation of this interface, a new BackendType is available.

Method CommitCurrent

This method is used before the message is written to the database. This allows for the possibility to make changes before the message starts to “exists”.

Example application

“SampleBackendObjectCommittedSender”: this example assigns a number in the subject of a message (subject: “SampleOrder 1”). The number is located as a variable in the main location of the specified system partner and adjusts the count after each request. If job 1 to job 5 gets terminates already after job 3, the next execution with job 4 will continue, since the last executed number (3) is now in the variable.

Processes in the interface

Processes Meaning
void Initialize (IJob runningJob) Initialization of the object.
bool MoveNext ()
void CommitCurrent (string messageComRef, string messageInfo)
void RollbackCurrent (string errorMessage) Invoked when an error occurs.