When you subscribe to the queue that will receive the stats, add a header to the SUBSCRIBE frame of this value:
"transformation:jms-map-json" there is also a jms-map-xml if you prefer xml cheers On Fri, Nov 2, 2012 at 6:15 AM, Fulko Hew <fulko....@gmail.com> wrote: > On Fri, Nov 2, 2012 at 4:15 AM, Geurt Schimmel < > gschim...@schubergphilis.com > > wrote: > > Looked into AnyEvent::STOMP, but think it's rather obscure. > > > Actually, its not obscure, and it fits into the SNMP/ActiveX library I > wrote. > > > > Would recommend JMX instead. > > > I'm trying to avoid Java (at all costs) > ...After 15 years of fighting with it... > > Using just one Jython (no JMX for Perl I'm afraid) > > > FYI: There is something called Jmx4Perl, based on a Jolokia *agent* ( > www.jolokia.org) > > script to monitor all objects (broker, queues, topics). Start with enabling > > JMX (/etc/default/activemq on Unix) and use (eg) jconsole to browse > through > > all JMX exposed objects. And more than happy to share my Jython script. > > > > Thanks, but I'm not going to add 'another' language to my NMS architecture. > Not when its not required. If I have to, I'll do it in straight Java, > because > at least then, (some of) my other corporate teammates, might follow the > code. > > [its hard enough to get some people to appreciate Perl (which they've at > least heard of), let alone Python which they haven't, or even less, > Jython.] > > I've made progress on the Perl/STOMP front. The issue now is understanding > the various 'transformation's that are available (from ActiveMQ?) and being > able to decode the results into a native/usable Perl (hash?) constuct; but > that doesn't seem to be too hard (in the light of a new day on the > problem). > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta