+

Search Tips | Advanced Search

Renaming a context

We can rename a subcontext, provided that we 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, we cannot change its nickname; we must remove then add the initial context to IBM MQ Explorer with the new nickname. We 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.

Parent topic: Create and configure JMS administered objects


Related concepts


Related tasks

Last updated: 2020-10-04