Oracle Solution for Error ora-25235

Solution for Oracle Error ORA-25235

ORA-25235: fetched all messages in current transaction from string.string

What triggered the Error:

e NEXT_TRANSACTION navigation option was used in a dequeue when there were no more messages that belong to the same transaction.

What should we do to fix it:

e the NEXT_TRANSACTION navigation option to move to the next also use the FIRST_MESSAGE option to start from the head of the queue again.