hello,
I'm keen to access the statisticsBrokerPlugin from stomp, I think the
languages stomp supports is more appropriate for monitoring than java based
ones - lots of start/stop of monitoring scripts etc - so quite keen to get
this going.
I understand I need to send an empty message to ActiveMQ.Statistics.Broker
with a reply header set, trying this from ruby:
conn = Stomp::Connection.open("user", "pass", "localhost", 6163, true)
conn.subscribe("/queue/statresults")
conn.send("/queue/ActiveMQ.Statistics.Broker", "", {"reply-to" =>
"/queue/statresults"})
pp conn.receive
All I get out of it is this:
#<Stomp::Message:0x2b0028b21918
@body="",
@command="MESSAGE",
@headers=
{"timestamp"=>"0",
"message-id"=>"ID:dev1.my.net-60458-1261314147261-2:0:0:0:7",
"expires"=>"0",
"destination"=>"/queue/statresults",
"priority"=>"0",
"type"=>"Advisory"}>
I've tried a few permutations of above, using topics and not queues and so
forth but all I get is the advisories, not sure if the MapMessage type is
behaving differently than normal stomp replies,
any help appreciated.
--
View this message in context:
http://old.nabble.com/statisticsBrokerPlugin-with-Stomp-tp26864515p26864515.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.