Thursday, March 25, 2004

Multiple deferred queues

Processed in the order they are submitted by event type.

IDPD has a delay - can be set to 5 mins. CTL_HOLD_TILL_DTS.


Deferred queue picks up the batch file again.
Submit files, in order, start queue, then kill deferred queue processor. See how far we got, then restart, and see that it picks up where it left off.



Two levels of restartability.
(1) Deferred queue as 4 bach files, and a defrep. When a file is picked up, the deferred queue initiates the batch file processor. Has Tons of transactions. If File 2 marked as INPROGRESS is picked up again (for some reason) and we are at tx 230 in the file, the deferred queue processor will say, file 2 is IN PROGRESS - I must restart it. So it does. But the batch file registration bean will say, ok you're asking me to do file 2 again, but I got to tx 230, so I will resume at the next transaction. BFRB txs are PROCESSED or NEW.

This is different in release 3. THE BFRB works independently from the defered queue. You can shut down the deferred queue, so the BFRB will run ok. BFRB tells deferred queue that it is finished.

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?