Oracle Solution for Error ora-24196

Solution for Oracle Error ORA-24196

ORA-24196: access the message in a wrong access mode

What triggered the Error:

reamMessage and BytesMessage could not be read when they were in write only mode and vice versa.

What should we do to fix it:

ange the access mode using PREPARE, CLEAR_BODY and RESET procedures.