16

Can we rename a Queue without deleting and recreating it?

Vignesh
  • 949
  • 2
  • 21
  • 38

1 Answers1

23

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.

Michael Kohne
  • 11,888
  • 3
  • 47
  • 79
T.Rob
  • 31,522
  • 9
  • 59
  • 103