Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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

Comments
Post Details
Added on Dec 14 2023
2 comments
621 views