Vignesh
Vignesh

Reputation: 1079

Renaming Queue in Websphere MQ

Can we rename a Queue without deleting and recreating it?

Upvotes: 16

Views: 6152

Answers (1)

T.Rob
T.Rob

Reputation: 31832

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.

Upvotes: 23

Related Questions