Broker 10.15 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | JMSAdmin Command Reference | JMSAdmin Command Descriptions | Change Context
 
Change Context
Navigates a JNDI namespace.
Syntax
{ change | cd } [ context | ctx ] context-name
Remarks
To switch contexts, you can specify an absolute or relative path.
Path names are specified using the forward slash character (/) to separate contexts in the path. A path name that begins with the forward slash character represents a context that is relative to the initial context. A name that begins with a context name represents a context that is relative to the current context. You can use double periods (..) to represent the parent of the current context and a single period to represent the current context (.).
Examples
The following command uses an absolute path to change context:
\> change context /inventory/hardware/tools
The following command uses a relative path to change context:
\> change hardware/tools
The following command navigates to the parent of the current context and then to the lighting subcontext:
\> change ../lighting
The following command navigates to the root context:
\> cd /
Related Commands
Create Context
Delete Context
List Context