Skip to Main Content

Java Programming


For appeals, questions and feedback, please email

Oracle Transaction Event Queue with Object Type Payload- JMS-137: Payload factory must be specified for destinations with ADT

Rafiq DDec 14 2023

I am trying to consume an Object type message from an Oracle Transaction Event Queue from a java application and it is throwing the above error. A little googling reveals that a custom java class that implements ORADataFactory interface must be specified when creating the subscriber in a pub/sub pattern.

I do not have enough information regarding the concepts and/or mechanics of implementing such a class and wiring it up to the rest of my java consumer code. I couldn't find a clear description of the concepts and implementation guidelines in the TEQ documentation. I believe the same help is needed for JSON data type in TEQs consumed with JMS.

Thank you

Post Details
Added on Dec 14 2023