Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Renaming Queue in Websphere MQ

Tags:

ibm-mq

Can we rename a Queue without deleting and recreating it?

like image 815
Vignesh Avatar asked Mar 03 '11 10:03

Vignesh


People also ask

How do I rename a queue manager?

You can't rename queue managers. You can backup their definitions and then recreate them with a new name and delete the original qmgr.

What is the use of alias queue in MQ?

An alias queue is an IBM® MQ object that you can use to access another queue or a topic. This means that more than one program can work with the same queue, accessing it using different names.

What is difference between local queue and alias queue?

Alias queues are not actually queues; they are additional definitions of existing queues. You create alias queue definitions that refer to actual local queues but you can name the alias queue definition differently from the local queue (the base queue).


1 Answers

It is not possible to rename a WebSphere MQ queue. There are two options:

  1. You can define an alias over an existing queue where the alias has the desired name.
  2. You can define a new queue with the desired name and move any messages into it from the original queue.

In the event that you take the second option, there are a number of tools to move the messages. Two of the more popular tools are mqmon from SupportPac MO71 and the Q program from SupportPac MA01.

like image 168
T.Rob Avatar answered Sep 25 '22 13:09

T.Rob