Author |
Message
|
ms_mq |
Posted: Thu Apr 26, 2007 8:29 am Post subject: To log the message transfer details from a MQ queue |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
Hi,
I want to log the details of all messages that were sent out of a MQ queue.
Is there any facility available with MQ series 6 ? Or any other alternatives
to achive this ? Please let me know as iam finding it difficult to confirm
if any messages had flown out of a queue and if so how many for a particular day?
Iam running MQ series 6.0.2 on windows 2003 server and UNIX servers.
Thanks. _________________ Regards,
MS |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 8:31 am Post subject: Re: To log the message transfer details from a MQ queue |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
If you are talking about statistics information you can use "Accounting and Statistics". _________________ Marcin |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 26, 2007 8:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
You can use accounting & statistics functionality to get the sort of details you're looking for, or something like the mirrorq exit to keep a copy of the messages.
Be aware that these will have a performance price, and it's not worth paying if the business requirement for this is just the usual "but how do we know MQ is working " nonsense that business people come up with.
Or the application people are "losing" messages and swear blind it can't be a programming bug. Honest.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Apr 26, 2007 8:39 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
I believe, 70% of technical knowledge is important while managing any business enterprise issues.
other wise All sort of unfair ideas will come up..
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
ms_mq |
Posted: Thu Apr 26, 2007 8:44 am Post subject: To log the message transfer details from a MQ queue |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
Hi,
Thanks for your replies.
I just want to know the count of messages transferred out of a Queue.
Because,at times some messages are lost and we want to confirm that these many messages have gone.
However performance should not be affected.
Also, where can i find accounting & statistics functionality ?
Thanks _________________ Regards,
MS |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 8:48 am Post subject: Re: To log the message transfer details from a MQ queue |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 26, 2007 8:52 am Post subject: Re: To log the message transfer details from a MQ queue |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
ms_mq wrote: |
Because,at times some messages are lost ...
Thanks |
There are no lost messages.
You should check your application design. _________________ Marcin |
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 26, 2007 10:47 am Post subject: Re: To log the message transfer details from a MQ queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ms_mq wrote: |
Because,at times some messages are lost and we want to confirm that these many messages have gone.
However performance should not be affected.
|
I knew it! I just knew it! The eternal cry - "MQ lost my message".
MQ does not lose messages. It sometimes discards them if allowed to, but they are never lost. They are always someplace in MQ, or have been lost by the application programme.
Using statistics will be less expensive than logging individual messages, but you'll still take a hit on performance.
You're better off taking some time out proving your configuration is bullet-proof. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ashu |
Posted: Thu Apr 26, 2007 9:22 pm Post subject: |
|
|
 Centurion
Joined: 11 Nov 2006 Posts: 132
|
As the GMs and Ms have correctly stated above,...
MQ does not lose messages...thats the whole purpose of going for MQ sometimes....
Have you defined a DLQ for the QM?If at all the messages are not transmitted by MCA they are sent to the DLQ. |
|
Back to top |
|
 |
|