Payload Vanishes When Publishing To AQ Topic Using Oracle JMS Provider
(Doc ID 1389010.1)
Last updated on JULY 23, 2018
Applies to:JDBC - Version 10.1.0.5 and later
Oracle Containers for J2EE - Version 10.1.3.5.0 and later
Information in this document applies to any platform.
Application deployed to OC4J to enqueue text message to the database Topic queue using the AQAPI does not work as expected: the user_data field of the queue table shows a correct text length but the NULL text content. No error is thrown.
Snippet source code to enqueue message:
AQjmsSession session = (AQjmsSession) topicConnectionFactory.createTopicConnection().createTopicSession(true, 0);
TopicPublisher publisher = session.createPublisher(session.getTopic("jmsuser", "topicQueueName"));
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document