project QadFinancials > class BCrossCyDaemonProcessor > method SetWorkResult

Description

method to set the result of a processed DaemonQueue instance.
Depending on settings and the availability of messages the instance method with the same name is called in BBaseDeamoneQUeue or writedirect is used.


Parameters


ilSuccesinputlogicalIndication of workresult
iiDaemonQueueIDinputintegerDaemonQueue instance ID
iiDaemonQueuePriorityinputinteger
ocErrorMessageoutputcharacterError Message
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program/bcrosscydaemonprocessor.p)

/* we allow to retry 3 times on a failed request with a delay of 30 sec */
assign viMaxNumberOfRetriesPerQueue = 3.

<ANCESTOR-CODE>