Problem dequeueing data from ADT queue using Java
We have a queue which is of a custom ADT (contains two varchar fields and a date field). The data gets queued just fine via PL/SQL, but when i try to dequeue the queue from my java code, i'm facing the following problem
16:09:07 oracle.jms.AQjmsException: JMS-137: Payload factory must be sp
ecified for destinations with ADT payloads
I tried to do a jpub on the custom ADT (record/payload type) to generate the java code for the payload type that generated the java class with a bunch of getter/setters and read/writeSQL methods, but i'm not sure how to specify the payload factory for the queue. Any help on this would be greatly appreciated. Thanks.
null