Author |
Message
|
puppala |
Posted: Mon May 07, 2007 11:24 am Post subject: message queue |
|
|
 Novice
Joined: 22 Feb 2007 Posts: 18
|
when we place a message in a queue.where does it stores |
|
Back to top |
|
 |
dhanaraj |
Posted: Mon May 07, 2007 12:03 pm Post subject: |
|
|
 Voyager
Joined: 10 Aug 2004 Posts: 92
|
It store Message headers(MQMD Headers) and Message Body
Thanks
Dhanaraj |
|
Back to top |
|
 |
jbanoop |
Posted: Mon May 07, 2007 12:33 pm Post subject: |
|
|
Chevalier
Joined: 17 Sep 2005 Posts: 401 Location: SC
|
it is stored in the QM logs as i understand it. |
|
Back to top |
|
 |
pathipati |
Posted: Mon May 07, 2007 12:58 pm Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
dhanaraj wrote: |
It store Message headers(MQMD Headers) and Message Body |
I guess question is reg where, not what
Wrong forum too... |
|
Back to top |
|
 |
Michael Dag |
Posted: Mon May 07, 2007 1:00 pm Post subject: Re: message queue |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
puppala wrote: |
when we place a message in a queue.where does it stores |
why do you want to know? (just curious)
the message is normally in memory and when it is persistent it is logged to the log, depending on factors like memory usage / checkpoints / queuemanager restarts, etc messages are also stored in queue files.
to make a long story short... they can be anywhere... MQ will take care of not losing them if you don't want them to be lost...  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Michael Dag |
Posted: Mon May 07, 2007 1:01 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
puppala |
Posted: Tue May 08, 2007 11:32 am Post subject: chumma |
|
|
 Novice
Joined: 22 Feb 2007 Posts: 18
|
just like that
Michael Dag wrote: |
puppala wrote: |
when we place a message in a queue.where does it stores |
why do you want to know? (just curious)
the message is normally in memory and when it is persistent it is logged to the log, depending on factors like memory usage / checkpoints / queuemanager restarts, etc messages are also stored in queue files.
to make a long story short... they can be anywhere... MQ will take care of not losing them if you don't want them to be lost...  |
|
|
Back to top |
|
 |
jefflowrey |
Posted: Tue May 08, 2007 11:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There are three places a message CAN be.
1) the transaction/recovery logs
2) memory
3) the file store behind a particular queue (a file called "q" under the mq data directory)
In cases of persistant messages, a message canbe in all three places at once. In cases of non-persistant messages, a message can potentially only EVER be in 2).
It does you no good to worry about which place a particular message is at any given time. You can consider the settings you've made on your queue manager in regards to logs, and come up with some conclusions as to how long any messages that DO go in there will stay in 1) ... And you can consider your application design and have some idea of how long messages will stay in 3). But it's not really of much use. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|