Renaming a context

You can rename a subcontext, provided that you have first deleted from the subcontext any objects that are stored in the subcontext.

About this task

After you have added an initial context to IBM® MQ Explorer, you cannot change its nickname; you must remove then add the initial context to IBM MQ Explorer with the new nickname. You can, however, change the name of a subcontext.

To rename a subcontext, complete the following steps.

Procedure

  1. Delete from the subcontext any objects that are stored in the subcontext, including IBM MQ classes for JMS connection factories and destinations, other subcontexts, and any other objects that are shown in the Content view of the initial context.
  2. Refresh the Content view of the subcontext so that IBM MQ Explorer has up-to-date information about the content of the JNDI namespace.
  3. In the Navigator view, right-click the subcontext, then click Rename
    The Rename dialog opens. If the Rename menu item is not available, there are still objects in the subcontext; the objects might not be displayed in IBM MQ Explorer; refresh the Content view to ensure that IBM MQ Explorer has up-to-date information about the content of the JNDI namespace.
  4. Type the new name for the subcontext, then click OK.

Results

The subcontext is renamed.