stompclient: Generic client to consume and produce STOMP queues and topics, tested against Apache Active MQ
A simple client that can connect to an STOMP server, subscribe to topics and queues and also send to topics and queues.
stompclient [OPTIONS]
–help, -h:
Show Help
–server, -s
The server to connect to, can also be set in STOMP_SERVER environment variable
–port, -p
The port to connect to, default to 6163
–user, -u
The user to connect as, can also be set in STOMP_USER environment variable
–password, -P
The password to use, can also be set in STOMP_PASSWORD environment variable
When connected to a server, use the ‘help’ command to see further information about using the client, common commands that can be issued are:
subscribe /topic/foo: Subscribes to topic ‘foo’
/topic/foo bar: Sends ‘bar’ to the topic ‘foo’
details: Toggle the display or timestamp and topic or queue information for each message
20 December 2009 Include into MCollective
17 March 2009 Initial release
R.I.Pienaar <rip@devco.net> more information at www.devco.net
Licensed under the Apache License, Version 2.0