You are on page 1of 21

TIBCO EMS Admin

Commands
By
Raghu Pullela

Full List
1)
2)
3)
4)
5)
6)
7)
8)
9)
10)
11)
12)
13)
14)

TIBCO EMS Command List

add member
addprop factory
addprop queue
addprop route
addprop topic
autocommit
commit
compact
connect
create bridge
create durable
create factory
create group
create
jndiname

15)
16)
17)
18)
19)
20)
21)
22)
23)
24)
25)
26)
27)
28)
29)

create queue
create route
create rvcmlistener
create topic
create user
delete all
delete bridge
delete connection
delete durable
delete factory
delete group
delete jndiname
delete message
delete queue
delete route

30)
31)
32)
33)
34)
35)
36)
37)
38)
39)
40)
41)
42)
43)
44)

delete rcvmlistener
delete topic
delete user
disconnect
echo
exit
grant queue
grant topic
grant admin
help
info
jaci clear
jaci resetstats
jaci showstats
purge all queues

TIBCO EMS Command List


45)
46)
47)
48)
49)
50)
51)
52)
53)
54)
55)
56)
57)
58)
59)

purge all topics


purge durable
purge queue
purge topic
remove member
removeprop factory
removeprop queue
removeprop route
removeprop topic
resume route
revoke admin
revoke queue
revoke topic
rotatelog
set password

60)
61)
62)
63)
64)
65)
66)
67)
68)
69)
70)
71)
72)
73)
74)

set server
setprop factory
setprop queue
setprop route
setprop topic
show bridge
show bridges
show channel
show channels
show config
show consumer
show consumers
show connections
show db
show durable

75)
76)
77)
78)
79)
80)
81)
82)
83)
84)
85)
86)
87)
88)
89)

show
show
show
show
show
show
show
show
show
show
show
show
show
show
show

durables
factory
factories
jndiname
jndinames
group
members
message
messages
parents
queue
queues
route
routes
rvcmtransportledger

TIBCO EMS Command List


90) show rvcmlisteners
91) show server
92) show stat
93) show store
94) show stores
95) show topic
96) show topics
97) show transaction
98) show transactions
99) show transport
100)show transports
101)show user
102)show users
103)showacl admin

104)
105)
106)
107)
108)
109)
110)
111)
112)
113)
114)
115)

showacl group
showacl queue
showacl topic
showacl user
shutdown
suspend route
time
timeout
transaction commit
transaction rollback
updatecrl
whoami

create user :
Command to create a new user.
syntax : create user user_name user description password=pass
ex : create user raghu training user password=raghu123
show users:
used to show all users that are existing.
syntax: show users
ex : show users
Delete user :
Command is used to delete the specified user
syntax : delete user user_name
ex : delete user raghu

create group :
Used to create a group of users. When created the group is empty.
syntax : create group group_name description
ex : create group training cbl training group
delete group:
used to delete the group mentioned
syntax : delete group group_name
ex: delete group training
add member :
used to add one or more users to the group.
syntax : add member group_name username, username
ex: add member training abc,admin,trainer

set password :
used to set the password for the mentioned user
syntax : set password user_name password
ex: set password raghu rag1234
grant admin:
used to grant administrator permissions to the named user or group.
syntax: grant admin user=user_name | group=grou_name admin_permissions
ex: grant admin user = raghu all
grant admin group = training all
connect :
used to connect the administrative tool to the ems server
syntax: connect tcp://server_name:port_no
ex: connect tcp://localhost:7222

disconnect :
command used to disconnect the administrative tool from server
syntax: disconnect
ex : disconnect
create topic:
Used to create a topic with the specified name and properties. Properties are listed
using a comma as described in the topics.conf
syntax: create topic topic_name properties
ex: create topic t1
Show topic:
show details for the mentioned topic
syntax: show topic topic_name
ex: show topic t1

setprop topic:
used to set topic properties. This is override any existing properties.
syntax: setprop topic topi_name properties
ex: setprop topic t1 secure
grant topic:
It is used to grant permissions to a user or group on a specified topic.
syntax: grant topic topic_name user_nema | group_name permissions
purge topic:
delete all messages for all the subscribers on the mentioned topic
sytax: purge topic topicname
ex: purge topic t1

delete topic:
used to delete the specified topic
syntax: delete topic topic_name
ex: delete topic t1
create queue:
used to create queue with the specified name and properties.
syntax: create queue queue_name properties
ex: create queue q1
show queue:
used to show the details for the specified queue
syntax: show queue queue_name
ex: show queue q1

setprop queue:
used to set properties to the specified queue
syntax: setprop queue queue_name properties
ex: setprop queue q1secure,sender_name
grant queue:
used to grant permissions on the queue to a specified user or group. permissions
like view, create, delete, modify, purge
syntax: grant queue queue_name user_name | group_name permissions
purge queue:
used to purge or delete all messages in the named queue.
syntax: purge queue queue_name

delete queue:
used to delete the specified queue
syntax: delete queue queue_name
ex: delete queue q1
create durable:
used to create a static durable subscriber
syntax: create durable topic_name durable_name property
ex: create durable t1 durable1
delete durable:
used to delete the named durable susbcriber
syntax: delete durable durable_name
ex: delete durable durable.1

show config:
shows the configuration parameters of the connected server
syntax: show config
show consumer:
used to show details of a specific consumer.
syntax: show consumer consumerID
show consumers:
used to display all the consumers. we can define the filters if we want only certain
consumers to be displayed
syntax: show consumers

show connections :
used to show connections between clients and servers.
syntax: show connections
show db:
used to print a summary of the servers database.
syntax: show db
show server:
command used to show server name and information of the connected server.
syntax: show server (aliases:info, i)

add member :
add one or more members to the group
syntax : add member group_name user_name
Ex: add member training raghu
addprop factory :
Used to add properties to the factory. Property names are separated using spaces
syntax : addprop factory factory_name properties
Ex: addprop factory MyTopicFactory ssl_trusted=cert1.pemssl_trusted=cert2.pem
ssl_verify_host=disabled
addprop queue:
Used to add properties to the queue. Properties names are separated using
spaces.
Syntax: addprop queue queue-name properties

addprop route:
add properties to route. The properties that are being defined should be separated
by spaces
Syntax : addprop route route-name prop=value
addprop topic:
add properties to topic. Properties are separated by spaces.
syntax: addprop topic topic_name properties
autocommit :
autocommit is used to automatically save changes made to the configuration files.
If it is set to ON then it saves or else we can turn it OFF. If we type autocommit it
just show the present condition.
syntax : autocommit on/of

shutdown:
used to shutdown the connected server
syntax: shutdown
whoami:
command to display the current logged in user
syntax : whoami
commit:
commit all configuration changes into files on disk.
syntax: commit
exit:
command used to exit the administration tool
syntax: exit ( alias: q, bye, quit, end)

create bridge:
used to create a bridge between destinations
syntax: create bridge source=type:dest_name target=type:dest_name
type is either topic or queue
delete all:
used to delete all users, groups, topics, queues or durables
syntax : delete all users|groups|topics|queues|durables
info:
used to show server name and information about the connected server
syntax: info(alias: i)
help:
display help information
syntax: help command

show bridge:
used to display information about the configured bridges for the named topic or
queue
syntax: show bridge topic|queue bridge_source
show bridges:
used to show summary of the destination bridges that are currently configured.
type specifies the type of destination established as the bridge source
syntax: show bridges topic
show durable:
show information about a durable subscriber
syntax: show durable durable_name
show durables:
show list of all durables that are defined
syntax: show durables

show groups:
used to display all user groups
syntax: show groups
show group:
used to show group name, description, and number of members in the group.
syntax: show group group_name
show members:
show all user members of specified user group
syntax: show members group_name
show message:
shows the message for the specified message id
show message messageID

revoke admin:
used to revoke the global administration permissions for the named user
syntax: revoke admin user=name | group=name
time:
used to place a time stamp on each command output.
syntax: times on|of
timeout:
used to show or change the current command timeout value. The timeout value is
the number of seconds the admin tool will wait for a response from the server after
sending the command.
syntax: timeout seconds
by default the timeout value is 30 seconds

You might also like