Method Description


The TIBCO Hawk classes have several methods for managing and monitoring a TIBCO Enterprise Message Service server. These methods correspond to commands you can issue in the administration tool.

Table 50 lists the methods of each class and the corresponding tibemsadmin command for the method. The table also lists the page where you can find more information about each command in Chapter 8, Using the Administration Tool.

Table 50 TIBCO Hawk method names (Sheet 1 of 3)
TIBCO Hawk Agent Method Name
tibemsadmin Command
Page
com.tibco.tibjms.admin.hawk.HawkListener Methods
getMethods()
This method returns the list of methods that this TIBCO Hawk class can perform.
getServerInfo()
show server
194
getNumConnections()
Returns the number of connections.
getConnections
show connections
184
getUsers()
show users
197
getQueues(
   String regexp)
show queue
show queues
(shows information from both commands for each queue)
You can specify a queue name or a pattern to return all matching queue names.
191
getRoutes()
show route
show routes
(shows information from both commands for each route)
192
getTopics(
   String regexp)
show topic
show topics
(shows information from both commands for each topic)
You can specify a topic name or a pattern to return all matching topic names.
195
getDurables(
   String regexp)
show durables
You can specify a topic name or a pattern to return all matching durable subscriptions.
188
getConsumers()
show stat consumers
194
getProducers()
show stat producers
194
getListenPorts()
This method returns the list of ports the TIBCO Enterprise Message Service server is configured to listen on.
getCMLedgerInfo()
show rvcmledger
193
getTransports()
show rvcmlistener
194
getTransport()
show rvcmlistener
Shows the name and subject of the specified RVCM listener.
194
isRunning()
Check whether the server is reachable by attempting to connect to it. (Afterward, this method breaks the test connection.)
com.tibco.tibjms.admin.hawk.HawkController Methods (also contains all HawkListener methods)
getMethods()
This method returns the list of methods that this TIBCO Hawk class can perform.
shutdown()
shutdown
197
purgeDurable(
   String name,
   String clientID)
purge durable
Specify the name of the durable subscription and the client ID associated with the durable subscription (client ID can be null).
176
purgeQueue(
   String name)
purge queue
Specify the name of the queue to purge.
176
purgeTopic(
   String name)
purge topic
Specify the name of the topic to purge.
176
rotateLog()
rotatelog
177


TIBCO Enterprise Message Service™ User’s Guide
Software Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com