We have an OCI application making extensive use of AQ that runs on Red Hat Linux 7 against a variety of Oracle DBMS versions using client 22.214.171.124 and 126.96.36.199. The question from our developer is about the behaviour of OCIAQDeq if the application receives a signal (e.g. SIGTERM) when it is waiting? (the function is called with a non-zero wait time). The options would seem to be:
Return indicating a timeout? (Which is not 100% true but we could work with)
Return indicating some other condition? (Interrupted?)
Ignore the signal and continue waiting until either a message has arrived or the original timeout has expired?
Additionally is there any way specifically to explicitly request that a signal should terminate the call immediately (if that is not the default)
OCIAQDeq is called with the following dequeue options: