Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Interactive Ruby shell for STOMP

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.markdown Add options support for persistence etc January 21, 2011
Octocat-spinner-32 stomp-irb Add vhost flag March 28, 2013
README.markdown

What is it?

An Interactive Ruby shell for STOMP

How to use it?

Start it supplying user, password, stomp host and port - see the --help information for details.

$ stomp-irb -s stomp --port 6163
Interactive Ruby shell for STOMP

Type 'help' for usage instructions

>> subscribe :topic, "foo.bar"
Current Subscriptions:
    /topic/foo.bar

=> nil
>> topic "foo.bar", "hello"
=> nil
<<stomp>> hello

>> recv_callback {|f| puts "Received: #{f.body} from #{f.headers["destination"]}"}
>> topic "foo.bar", "hello"
=> nil
<<stomp>> hello
Received: hello from /topic/foo.bar

>> verbose
=> true
>> topic "foo.bar", "hello world"
=> nil
<<20:02:07:/topic/foo.bar>> hello world

Changelog?

2011/01/20 - Add persistence support to queue sending

License?

Apache 2.0

Contact?

R.I.Pienaar <rip@devco.net> / @ripienaar / http://www.devco.net

Something went wrong with that request. Please try again.