|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
Broker / MQ time and date for Put |
View previous topic :: View next topic |
Author |
Message
|
MrSmith |
Posted: Wed Nov 21, 2012 8:06 am Post subject: Broker / MQ time and date for Put |
|
|
 Master
Joined: 20 Mar 2008 Posts: 215
|
Scenario - App places message on Broker Input Queue- Broker sets MQMD datetime and then puts to MQ output queue, which is cluster queue and resolves on another remote machine local queue...
so.....
App putdatetime is say 15:45:00 - Broker retrieves and resets to CURRENT_TIME which is say 15:50:00 and then at the end of the transaction, whic is 1 min 50 seconds in elapsed time, messages appear on remote QM with date timestamp of 16:51:50 , the MQOut node is "setting all context" etc etc BUT there is this hours difference. The Remote QM has the same datetime as the Broker (centrally set) so how can the datetime on the remote QM messages be exactly an hour more (almost like daylightsavings).
Baffled or missing something simple
Thx _________________ -------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.” |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Nov 21, 2012 8:13 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
The MQMD.PutDate and MQMD.PutTime is always referenced to GMT. If you are seeing some other time, its related to how the local machine is applying TZ info to that MQMD.PutTime. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
MrSmith |
Posted: Wed Nov 21, 2012 8:18 am Post subject: |
|
|
 Master
Joined: 20 Mar 2008 Posts: 215
|
lancelothic - yes quite but like my post said what would be applying that? - the remote machine's QM is exactly the same time as the Brokers so I would expect maybe hundreths of seconds displacement but not an hour.
When doing date function on the remote box (SUSE Linux Server) it would say an hour ahead and the only app per se would be the agents running on the end of the channel to put the message on the target queue which I would have thought would be using the local system date? _________________ -------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.” |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Nov 21, 2012 8:25 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 21, 2012 12:30 pm Post subject: Re: Broker / MQ time and date for Put |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
MrSmith wrote: |
Scenario - App places message on Broker Input Queue- Broker sets MQMD datetime and then puts to MQ output queue, which is cluster queue and resolves on another remote machine local queue...
so.....
App putdatetime is say 15:45:00 - Broker retrieves and resets to CURRENT_TIME which is say 15:50:00 and then at the end of the transaction, whic is 1 min 50 seconds in elapsed time, messages appear on remote QM with date timestamp of 16:51:50 , the MQOut node is "setting all context" etc etc BUT there is this hours difference. The Remote QM has the same datetime as the Broker (centrally set) so how can the datetime on the remote QM messages be exactly an hour more (almost like daylightsavings).
Baffled or missing something simple
Thx |
missing something simple.
MQ as said previously does not deal with CURRENT_TIME or local time.
MQ only deals with CURRENT_GMTTIME.
Also there is no guarantee that both hosts have the same GMT time setup.
Some admins just set up the local time... as box time... instead of setting up the GMT Time for the box and letting the time zone of the user logging in do the conversion....
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
  |
|
Page 1 of 1 |
|
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
|
|
|
|