Author |
Message
|
jeevan |
Posted: Mon Nov 24, 2008 2:50 pm Post subject: Tracking incoming and outgoing message in a queue |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Can we / or is there any existing utility /support pac which measures each mesage entering a queue and leaving it?
Thanks |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Nov 24, 2008 2:54 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Measures what? Time on queue, message length, number of get/puts?
What platforms? |
|
Back to top |
|
 |
jeevan |
Posted: Mon Nov 24, 2008 4:04 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
kevinf2349 wrote: |
Measures what? Time on queue, message length, number of get/puts?
What platforms? |
Time a message arrives in the queue and the time stapme the message left the queue (is picked up). Sorry for implete question.
thanks |
|
Back to top |
|
 |
jeevan |
Posted: Mon Nov 24, 2008 4:13 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
kevinf2349 wrote: |
Measures what? Time on queue, message length, number of get/puts?
What platforms? |
My developer wansts to record the time a message spent in queue [time stamp for a message entering into a queue and time stamp of the message leaving the queue]
MQ 6.0.2.2 in Solaris 10 and Windows 2003
thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Nov 24, 2008 4:16 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jeevan wrote: |
My developer wansts to record the time a message spent in queue [time stamp for a message entering into a queue and time stamp of the message leaving the queue]
MQ 6.0.2.2 in Solaris 10 and Windows 2003
thanks |
Use Tivoli or some such product to get that information. Depending on what you have turned on you can also get the average time spent on queue...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Mon Nov 24, 2008 4:25 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
fjb_saper wrote: |
jeevan wrote: |
My developer wansts to record the time a message spent in queue [time stamp for a message entering into a queue and time stamp of the message leaving the queue]
MQ 6.0.2.2 in Solaris 10 and Windows 2003
thanks |
Use Tivoli or some such product to get that information. Depending on what you have turned on you can also get the average time spent on queue...  |
We do not have Tivoli. My question is whether there is some small utility like qload eg. or like any exit ( not sure whether this is an message exit)
We have bmc patrol which does have this feature. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Nov 24, 2008 4:47 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Take a look at the WMQ Monitoring manual. It has descriptions of the kinds of statistical and accounting data mq can capture for you. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
battie |
Posted: Mon Nov 24, 2008 6:28 pm Post subject: |
|
|
 Newbie
Joined: 04 Feb 2007 Posts: 8 Location: Sydney
|
Why doesn't your developer just take the difference between the current GMT and the GMT value in the message MD PutTime field. If you have simple topology this should give you the time spent on the queue though the actual time will be the total time spent in transit. _________________ Battie |
|
Back to top |
|
 |
Vitor |
Posted: Tue Nov 25, 2008 1:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
Take a look at the WMQ Monitoring manual. It has descriptions of the kinds of statistical and accounting data mq can capture for you. |
IMHO where you want to start is with queue statistics. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jeevan |
Posted: Tue Nov 25, 2008 10:49 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Vitor wrote: |
bruce2359 wrote: |
Take a look at the WMQ Monitoring manual. It has descriptions of the kinds of statistical and accounting data mq can capture for you. |
IMHO where you want to start is with queue statistics. |
We would like to do in one of the queues en route. lets say the message travels like this:
connect to gateway queue manager and puts message to a alias q
the target queue is a remote queue in the same queue manager which in turn point to a another queue in back end queue manager( clustered)
This is where they want to measure the time the message enters and leaves the queue.
Any quick and dirty way would be okay. I am just curious how folks do this. I think this is not an uncommon things app guys ask for.
thanks |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Nov 25, 2008 1:41 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
|