ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » To log the message transfer details from a MQ queue

Post new topic  Reply to topic
 To log the message transfer details from a MQ queue « View previous topic :: View next topic » 
Author Message
ms_mq
PostPosted: Thu Apr 26, 2007 8:29 am    Post subject: To log the message transfer details from a MQ queue Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Apr 26, 2007 8:31 am    Post subject: Re: To log the message transfer details from a MQ queue Reply with quote

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
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Thu Apr 26, 2007 8:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Thu Apr 26, 2007 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
ms_mq
PostPosted: Thu Apr 26, 2007 8:44 am    Post subject: To log the message transfer details from a MQ queue Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Apr 26, 2007 8:48 am    Post subject: Re: To log the message transfer details from a MQ queue Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

ms_mq wrote:
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



Accounting & statistics functionality is part of MQ :
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzax.doc/monmsgs.htm
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
marcin.kasinski
PostPosted: Thu Apr 26, 2007 8:52 am    Post subject: Re: To log the message transfer details from a MQ queue Reply with quote

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
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Thu Apr 26, 2007 10:47 am    Post subject: Re: To log the message transfer details from a MQ queue Reply with quote

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
View user's profile Send private message
ashu
PostPosted: Thu Apr 26, 2007 9:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » To log the message transfer details from a MQ queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.