Oracle Error ORA-24194: attempt to read data in a message as the wrong type

Oracle Error Message

ORA-24194: attempt to read data in a message as the wrong type

Reason for the Error

According to JMS specification, some type conversions were not allowed.

Solution

Make sure to use the correct READ function to retrieve message data.