Wrong Timezone in a JMS Message Received from Database Server Queue (AQ)
(Doc ID 883488.1)
Last updated on SEPTEMBER 29, 2020
Applies to:Oracle Containers for J2EE - Version 10.1.3.3.0 and later
Information in this document applies to any platform.
A PL/SQL program sends JMS messages to AQ queues configured on 10.2 Oracle Database server.
A J2EE application, deployed into 10.1.3 OC4J, receives JMS messages via OJMS provider.
The enqueued messages (via PL/SQL program) are received by the Message-Driven Bean (MDB) inside the J2EE application:
long l = message.getJMSTimestamp();
The issue is that timestamp value (timezone field value ) of the message (received by invoking method message.getJMSTimestamp() ) has not the same value as the timestamp of the message sent from the database. One hour difference can be observed between the sent and received message.
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