Both CustomDatumFactory/ORADataFactory and SQLData class were specified during dequeue
Specify either the CustomDatumFactory/ORADataFactory or the SQLData class of the java object that maps to the ADT type defined for the queue.
Browse all solutions to database errors from Oracle, MS SQL or MySQL
Try the following links for this error:
http://docs.oracle.com/cd/E16655_01/server.121/e26079/aqjmsmessages.htm