Hi All,

Quick question on the ordered queue for sling events.  If you have an event
that was started, but failed and has a retry delay of 3minutes (doesnt
really matter).  The thread will sleep for 3 minutes and try again.  What
if during that time, you want to delete the event?  At no point does it
appear as though the event goes back into the queue waiting to be popped
back out (thats because the thread is just told to sleep until its time is
up and its ready to restart).

Is a better implementation put the object back on the front of the queue
and tell the thread to sleep until the top object is ready to be
processed?  In the meantime someone could delete the top of the queue
object, and the next object in the queue could be processed.

Just want to confirm that once an event has started there is no way to
delete it.

Hakim

Reply via email to