|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Recover Messages from TransmissionQ |
« View previous topic :: View next topic » |
Author |
Message
|
tmoeller |
Posted: Fri Jul 18, 2014 10:27 am Post subject: Recover Messages from TransmissionQ |
|
|
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 |
|
 |
smdavies99 |
Posted: Fri Jul 18, 2014 11:02 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Fri Jul 18, 2014 11:14 am Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Fri Jul 18, 2014 5:10 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
MO71 can strip headers when moving messages. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jul 18, 2014 8:17 pm Post subject: Re: Recover Messages from TransmissionQ |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|