Author |
Message
|
reldb |
Posted: Wed May 23, 2007 9:28 am Post subject: How to keep track of all incoming and outgoing messages |
|
|
Apprentice
Joined: 06 Sep 2006 Posts: 34
|
Hi,
I want to keep track of all the incoming message and all outgoing messages on my queue manager, how can i do that ?
I want to have this information in logs.
I need to know the messageID, time, queue for all incoming and outgoing messages,
Please let me know how can i do this?
Do we have this information in MQ logs anywhere if yes then how can i get it, if not then whats other way
Thanks
reldb |
|
Back to top |
|
 |
rparti |
Posted: Wed May 23, 2007 9:38 am Post subject: |
|
|
 Voyager
Joined: 05 Oct 2005 Posts: 86 Location: U.S.A.
|
You need a monotoring tool to do that.
Refer to the forum "Websphere MQ Monitoring and Tools" |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 23, 2007 12:48 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You really need the sender and receiver app to create these logs.
This is the only way to tell you what was really received and processed.
Enjoy _________________ MQ & Broker admin |
|
Back to top |
|
 |
sumit |
Posted: Thu May 24, 2007 8:48 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
There is one more option if you palce a channel exit(msgexit) and then capture all the incoming and outgoing message. Capture the copy of message with the help of exit and send them to a queue and then log it to a database. _________________ Regards
Sumit |
|
Back to top |
|
 |
ADV |
Posted: Thu May 24, 2007 10:08 am Post subject: What are channel-exit programs? |
|
|
Apprentice
Joined: 24 Apr 2007 Posts: 44 Location: Boston, MA
|
|
Back to top |
|
 |
Vitor |
Posted: Thu May 24, 2007 10:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sumit wrote: |
There is one more option if you palce a channel exit(msgexit) and then capture all the incoming and outgoing message. Capture the copy of message with the help of exit and send them to a queue and then log it to a database. |
Note that this will only record the messages going past, not what's being processed.
Also be aware that a channel exit like this will have a performance impact, and will kill your system if badly written or hits a problem. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
BBM |
Posted: Fri May 25, 2007 6:31 am Post subject: |
|
|
Master
Joined: 10 Nov 2005 Posts: 217 Location: London, UK
|
Search for Mirrorq - its great! |
|
Back to top |
|
 |
reldb |
Posted: Fri May 25, 2007 3:16 pm Post subject: messages |
|
|
Apprentice
Joined: 06 Sep 2006 Posts: 34
|
1) This is my test environment so performance is not an issue
2) MirrorQ works only on one queue and NOT on a channel
3) i have a program which works on channel and giving a log of all incoming and outgoing messages but that is not stable and reliable, so looking for another good program
but no success
Anyone, MQ Guru, do you know any program, i am sure there will be many but i dont know anyone of them...
please help me. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat May 26, 2007 7:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
fjb_saper wrote: |
You really need the sender and receiver app to create these logs.
This is the only way to tell you what was really received and processed.
Enjoy |
_________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Sun May 27, 2007 10:06 am Post subject: Re: messages |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
reldb wrote: |
3) i have a program which works on channel and giving a log of all incoming and outgoing messages but that is not stable and reliable, so looking for another good program
|
If you've produced your own exit (which is the only thing you can run on a channel) that's about as good as you're likely to get. You're better off trying to make it more stable.
People don't produce this sort of thing typically, for the reasons fjb_saper & myself have mentioned. At best it's irrelevant (because it's not a true log), at worst it brings the system to it's knees.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
BBM |
Posted: Tue May 29, 2007 7:56 am Post subject: |
|
|
Master
Joined: 10 Nov 2005 Posts: 217 Location: London, UK
|
MirrorQ will run on as many queues as you configure it for... |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue May 29, 2007 10:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
BBM wrote: |
MirrorQ will run on as many queues as you configure it for... |
But, of course, it's a sample only and completely unsupported.
And it will only actually run for as many queues as you can fit into a single namelist. Unless you create multiple instances of the exit with different namelists.
And it does absolutely no good at all to copy messages onto a queue without a process already planned and ready to go to handle those messages.
MirrorQ is not a substitute for a valid message auditing solution - nor should it be a part of one (because it's unsupported). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|