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 » is there a console command to dump messages

Post new topic  Reply to topic
 is there a console command to dump messages « View previous topic :: View next topic » 
Author Message
bcarpent
PostPosted: Thu Dec 30, 2010 3:03 pm    Post subject: is there a console command to dump messages Reply with quote

Newbie

Joined: 30 Dec 2010
Posts: 1

I'm a new MQ user still ramping up on the various ins and outs, so please forgive me if this is a basic question. I'm debugging a problem that I suspect might be incorrect data being put into the message header by my application. My queue is a remote queue that sends messages to another qmgr. What I'd like to do is trap the message before it gets sent so that I can inspect it, but they are sent away instantly as soon as I put them in the queue.

Really what would be great is if there is some console command that can dump the content of the messages onto my console as they flow so I can inspect them. I'm not trying to preserve the messages or write them to any log, I just want to see all the raw data that gets sent over.
Back to top
View user's profile Send private message
exerk
PostPosted: Thu Dec 30, 2010 3:16 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Go HERE and read PeterPotkay's missive...I do hope you're on WMQ V7.0
_________________
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
bruce2359
PostPosted: Thu Dec 30, 2010 3:17 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

You could stop the Sender channel on which the messages leave your qmgr. Once the channel is stopped, you can use one of the supplied utility applications to browse and display messages in the transmission queue.

On win/unix amqsbcg will browse and display message content.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » is there a console command to dump messages
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.