Posted: Wed Oct 04, 2006 10:09 am Post subject: Extract JMS_IBM_PUTTIME from JMS header
Partisan
Joined: 07 Aug 2001 Posts: 386
Is there a easy way to get the JMS_IBM_PUTTIME from a JMS message ?
There is a getJMSTimestamp method. But there is none for JMS-IBM_Puttime. Any suggestion ? I need to get both the JMS_IBM_puttime and JMS_IBM_Putdate. I am using a JMS program.
Are you sure that getJMSTimestamp doesn't return the eqivalent of both the Puttime and the Putdate, but in a Java date object? _________________ I am *not* the model of the modern major general.
Jmstimestamp is in the mili format (not sure what's the right word for it). When I ran the sample JMS program supplied by IBM which maps out the header, it shows the JMS_IBM_PutTime and JMS_IBM_PutDate in the normal yyymmdd and GMT time. If there is a direct method to extract that , then I donlt have to do the conversion from the JMStimestamp.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum