ORA-25228 Timeout or End-of-Fetch Error When Dequeuing Messages
Last updated on APRIL 16, 2017
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 8.1.7 to 11.2]
Oracle Database - Enterprise Edition - Version 126.96.36.199 to 188.8.131.52 [Release 11.2]
Information in this document applies to any platform.
Messages have been enqueued and dequeued messages successfully from a queue within the same session.
The no_wait option has been specifie as a dequeue option.
Subsequent dequeues of messages which are enqueued from the same session return the error:
ORA-25228 "timeout or end-of-fetch during message dequeue from <schema>.<queue>"
The following query reveals that messages are in the ready state for the queue:
select distinct msg_state from <schema>.aq$<queue_table> where queue = '<queue>';
where <queue_table> is the queue table associated with the <queue> (dba_queues).
Logging into another session as the same user and the dequeue succeeds without error.
The same error is reported whether you use a multiple or single-consumer queue.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms