Broker 10.15 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | JMSAdmin Command Reference | JMSAdmin Command Descriptions | List Context
 
List Context
Displays the contents of the current context or a specified context.
Syntax
{ list | ls } [ context | ctx ] [ context-name ]
Remarks
Each line in the resulting list displays an entry name and the type of object to which the name is bound, for example:
[1]: MyCF ==> com.webmethods.jms.impl.WmConnectionFactoryImpl
[2]: Q1 ==> com.webmethods.jms.impl.WmQueueImpl
[3]: T1 ==> com.webmethods.jms.impl.WmTopicImpl
[4]: T2 ==> com.webmethods.jms.impl.WmTopicImpl
[5]: T3 ==> com.webmethods.jms.impl.WmTopicImpl
[6]: sub6 ==> com.webmethods.jmsadmin.jndi.MemoryNameServiceCtx
You can specify context-name using a relative or absolute path.
Examples
Any of the following commands would list the entries in the current context:
\> list
\> list context
\> ls
\> ls ctx>
\> list .
The following command lists the entries in the context whose absolute path is /sub2:
\> ls /sub2
Related Commands
Change Context
Create Context
Delete Context