Solved

IBM MQ moving messages from error queue

Posted on 2016-09-19
4
117 Views
Last Modified: 2016-09-23
Hi

We recently had a network outage which caused a number of messages to be directed to the error queue.

Is it possible to move these messages to another queue with the version of IBM MQ we have installed?

Version Details

Version: 7.0.1.7
0
Comment
Question by:wilko1000
  • 2
4 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 41804824
By "error queue", are you talking about the Dead Letter Queue (DLQ)?
If so, you might want to take a look at the runmqdlq utility:

runmqdlq - Start the dead-letter queue handler to monitor and process messages on the dead-letter queue.

or possibly the amqsdlq (the sample DLQ handler)
0
 
LVL 34

Expert Comment

by:Gary Patterson
ID: 41804836
IBM used to provide support packs with the q and qload tools in them.  Maybe you already have them loaded.  If so, these tools can be used to move messages between queues.  

IBM doesn't supply them as support packs any more, but you can still get the open source versions of the tools and compile them yourself.  You need to compile them under Linux:

https://github.com/ibm-messaging/mq-q-qload/tree/master/src

Note: qload is part of WMQ 8.0, renamed dmpmqmsg.

There is also a commercial version of qload that is very inexpensive for a single user,and also has a trial option available:

http://www.mqgem.com/qload.html

Other third party commercial tools also exist, including MQ Visual Edit (has a 30 day trial):

http://www.capitalware.com/products.html

Regards,

- Gary
0
 

Author Closing Comment

by:wilko1000
ID: 41812579
Thank you, this was the best response for the verison if IBM MQ i have
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 41812592
You are very welcome.  Thanks for choosing my answer.  Good luck & have a great day.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question