Oracle Solution for Error ora-25241

Solution for Oracle Error ORA-25241

ORA-25241: cannot change correlation ID from string to string without FIRST_MESSAGE option

What triggered the Error:

attempt was made to change the correlation ID while using the NEXT_MESSAGE or NEXT_TRANSACTION option for dequeuing.

What should we do to fix it:

use a correlation ID that is different from the previous dequeue call, reset the dequeuing position by using the FIRST_MESSAGE navigation option.