Package org.ow2.joram.shell.mom.commands
Interface MOMCommands
-
- All Known Implementing Classes:
MOMCommandsImpl
public interface MOMCommands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear(String[] args)Clear a destination, deleting all pending messagesvoidcreate(String[] args)Creates a new destinationvoiddelete(String[] args)Delete a destination or a uservoiddeleteMsg(String[] args)Delete (a) message(s) in a destinationvoidinfo(String[] args)Display info about a destination (topic & subscription, queue)voidlist(String[] category)List items of the given categoryvoidlsMsg(String[] args)Display messages in queuevoidping()PingvoidqueueLoad(String[] args)Check the pending count of a queuevoidreceiveMsg(String[] args)Receive (a) message(s) from a destinationvoidsendMsg(String[] args)Send a new message in a destinationvoidsubscriptionLoad(String[] args)Check the load of a subscription
-
-
-
Method Detail
-
list
void list(String[] category)
List items of the given category- Parameters:
category- Category of item to list: destination, queue, topic, user
-
create
void create(String[] args)
Creates a new destination- Parameters:
args- parameters of the command
-
delete
void delete(String[] args)
Delete a destination or a user- Parameters:
args- {category, name}
-
queueLoad
void queueLoad(String[] args)
Check the pending count of a queue- Parameters:
args- parameters of the command
-
subscriptionLoad
void subscriptionLoad(String[] args)
Check the load of a subscription- Parameters:
args- parameters of the command
-
info
void info(String[] args)
Display info about a destination (topic & subscription, queue)- Parameters:
args- ???
-
lsMsg
void lsMsg(String[] args)
Display messages in queue- Parameters:
args- {queue name, message range}
-
ping
void ping()
Ping
-
deleteMsg
void deleteMsg(String[] args)
Delete (a) message(s) in a destination- Parameters:
args-
-
clear
void clear(String[] args)
Clear a destination, deleting all pending messages- Parameters:
args-
-
sendMsg
void sendMsg(String[] args)
Send a new message in a destination- Parameters:
args-
-
receiveMsg
void receiveMsg(String[] args)
Receive (a) message(s) from a destination- Parameters:
args-
-
-