2. 1) add member
2) addprop factory
3) addprop queue
4) addprop route
5) addprop topic
6) autocommit
7) commit
8) compact
9) connect
10) create bridge
11) create durable
12) create factory
13) create group
14) create jndiname
15) create queue
16) create route
17) create rvcmlistener
18) create topic
19) create user
20) delete all
21) delete bridge
22) delete connection
23) delete durable
24) delete factory
25) delete group
26) delete jndiname
27) delete message
28) delete queue
29) delete route
30) delete rcvmlistener
31) delete topic
32) delete user
33) disconnect
34) echo
35) exit
36) grant queue
37) grant topic
38) grant admin
39) help
40) info
41) jaci clear
42) jaci resetstats
43) jaci showstats
44) purge all queues
Full List
3. 45) purge all topics
46) purge durable
47) purge queue
48) purge topic
49) remove member
50) removeprop factory
51) removeprop queue
52) removeprop route
53) removeprop topic
54) resume route
55) revoke admin
56) revoke queue
57) revoke topic
58) rotatelog
59) set password
60) set server
61) setprop factory
62) setprop queue
63) setprop route
64) setprop topic
65) show bridge
66) show bridges
67) show channel
68) show channels
69) show config
70) show consumer
71) show consumers
72) show connections
73) show db
74) show durable
75) show durables
76) show factory
77) show factories
78) show jndiname
79) show jndinames
80) show group
81) show members
82) show message
83) show messages
84) show parents
85) show queue
86) show queues
87) show route
88) show routes
89) show rvcmtransportledger
4. 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) showacl group
105) showacl queue
106) showacl topic
107) showacl user
108) shutdown
109) suspend route
110) time
111) timeout
112) transaction commit
113) transaction rollback
114) updatecrl
115) whoami
5. 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
6. 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
7. 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
8. 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
9. 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
10. 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
11. 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
12. 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
13. 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
14. show connections :
used to show connections between clients and servers.
syntax: show connections
show db:
used to print a summary of the server’s database.
syntax: show db
show server:
command used to show server name and information of the connected server.
syntax: show server (aliases:info, i)
15. 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
16. 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/off
17. 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)
18. 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
19. 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
20. 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
21. 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|off
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