Payload Vanishes When Publishing To AQ Topic Using Oracle JMS Provider
Last updated on NOVEMBER 05, 2016
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"));
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms