Author |
Message
|
HappyFriTech |
Posted: Sun Oct 19, 2014 7:36 pm Post subject: Help! How to log received message in Websphere MQ7 |
|
|
Newbie
Joined: 19 Oct 2014 Posts: 1
|
Hi everyone,
I am new to MQ, can I ask if there is any way I can log or monitor the received message in queues? The reason I ask is I have to show the developer/ app support that if the queue has received a message and help them to troubleshoot problems.
Thanks
Happy Fri Tech |
|
Back to top |
|
 |
exerk |
Posted: Mon Oct 20, 2014 1:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
There a a few methods:
1. Invest in a monitoring tool that includes message transaction monitoring;
2. Use Pub/Sub to duplicate the messages to another queue, so you can 'find' the 'missing/lost' message the app developers will undoubtedly complain about;
3. Use an appropriate SupportPac to unload copies of the messages and reload as required.
There will be others I'm sure. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Oct 20, 2014 3:07 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Oct 20, 2014 4:09 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
You can MQGET(DISABLE) the queue. This will give you and the developer some time to examine (browse) messages MQPUT in the queue BEFORE they are consumed. _________________ 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 |
|
 |
ankurlodhi |
Posted: Wed Oct 22, 2014 2:27 pm Post subject: |
|
|
Master
Joined: 19 Oct 2010 Posts: 266
|
You can put the MONQ property low,
it will show you last put and get date and time on the queue. |
|
Back to top |
|
 |
exerk |
Posted: Wed Oct 22, 2014 11:13 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
ankurlodhi wrote: |
You can put the MONQ property low,
it will show you last put and get date and time on the queue. |
And that will "...log or monitor the received message in queues..." how? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
tczielke |
Posted: Thu Oct 23, 2014 3:48 pm Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
For our 7.1 and higher queue managers, I would use the activity trace, like Peter mentioned.
For our 7.0.1 queue managers, I would use strmqtrc with the -d option. For client applications, you can still trace them on the SVRCONN end (i.e. amqrmppa process). |
|
Back to top |
|
 |
|