Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Killing a blocked Java dequeue in Advanced Queuing (AQ)
I'm developing an Advanced Queuing (AQ) application in Java. I'd like to know how to interrupt a blocked call to AQQueue.dequeue(). Basically, I have a thread that's constantly monitoring a queue via blocking dequeue, and I'd like to be able to shut it down cleanly. It seems braindead that there isn't a way to do this; I tried:
I am reduced to the solution of "block for x seconds and then check if I've been killed", which is just lame.. someone please tell me there's a better way.
thanks! Received on Sun Jul 09 2000 - 00:00:00 CDT
![]() |
![]() |