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 » Recover Messages from TransmissionQ

Post new topic  Reply to topic
 Recover Messages from TransmissionQ « View previous topic :: View next topic » 
Author Message
tmoeller
PostPosted: Fri Jul 18, 2014 10:27 am    Post subject: Recover Messages from TransmissionQ Reply with quote

Newbie

Joined: 05 Apr 2007
Posts: 8

Hi,

i have two QMs in a production environment. One was located on a machine which has been migrated. The application was rewritten, so no second QM is needed anymore. But the project missed to reconfigure a few applications, which still wrote messages to remote queues. They now reside in the corresponding transmission queue. Project already changed the applications but the business department wants us to recover the content of the messages in the XmitQ. The other QM cannot be brought online again.

So, is there any way to read the messages and their content to a textfile??

Tried mqbrw already but failed as it is doing a get, which is inhibited.

Cheers

Thorsten

P.S. QM is Version 7.5 on Windows
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jul 18, 2014 11:02 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You will have to GET(ENABLE) the transmission queue. Then you can read the messages.
They won't be of any use until you remove the Header that is added to the message for its transmission to the remote site.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 18, 2014 11:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

smdavies99 wrote:
You will have to GET(ENABLE) the transmission queue. Then you can read the messages.


Tricky if (as the OP claims) the QM can't be restarted, which I find implausible.

The transmission queue is expressed as an OS file, it may be possible to reconstruct the payload data with some custom code. Restarting the QM and doing gets is by far and away the easiest solution.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jul 18, 2014 5:10 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

MO71 can strip headers when moving messages.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jul 18, 2014 8:17 pm    Post subject: Re: Recover Messages from TransmissionQ Reply with quote

Poobah

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

tmoeller wrote:
But the project missed to reconfigure a few applications, which still wrote messages to remote queues.

I'm pondering why applications need to be modified to cause message to go to a local queue vs. a transmission queue. Changing the queue definition from QRemote to QLocal is/was all that we required. Or, is this the 'missed reconfigure' to which you refer?
_________________
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 Discussion » Recover Messages from TransmissionQ
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.