Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- irb(main):005:0> [root@ip-10-49-29-146 stomp-irb]# ./stomp-irb -s localhost -p 6163 --user adminuser --password adminpassword
- Interactive Ruby shell for STOMP
- Type 'help' for usage instructions
- irb(main):001:0> @connection.subscribe("/topic/nagios.results", {"transformation" => "jms-map-xml"})
- => {:destination=>"/topic/nagios.results", "content-length"=>"0", "transformation"=>"jms-map-xml"}
- irb(main):002:0> @connection.publish("/queue/ActiveMQ.Statistics.Destination.>", "", {"reply-to" => "/topic/nagios.results"})
- => nil
- irb(main):003:0>
Add Comment
Please, Sign In to add comment