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 Discussion » Help! How to log received message in Websphere MQ7

Post new topic  Reply to topic
 Help! How to log received message in Websphere MQ7 « View previous topic :: View next topic » 
Author Message
HappyFriTech
PostPosted: Sun Oct 19, 2014 7:36 pm    Post subject: Help! How to log received message in Websphere MQ7 Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Mon Oct 20, 2014 1:45 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Mon Oct 20, 2014 3:07 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

Application Activity Trace is another option:
http://www.ibm.com/developerworks/websphere/library/techarticles/1306_bushby/1306_bushby.html
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Oct 20, 2014 4:09 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9396
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
View user's profile Send private message
ankurlodhi
PostPosted: Wed Oct 22, 2014 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Wed Oct 22, 2014 11:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
tczielke
PostPosted: Thu Oct 23, 2014 3:48 pm    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
Location: Illinois, USA

PeterPotkay wrote:
Application Activity Trace is another option:
http://www.ibm.com/developerworks/websphere/library/techarticles/1306_bushby/1306_bushby.html


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
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 Discussion » Help! How to log received message in Websphere MQ7
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.