node-jmx icon indicating copy to clipboard operation
node-jmx copied to clipboard

support for activemq?

Open erickyi2006 opened this issue 9 years ago • 2 comments

I managed to made several calls in activemq.

  1. getAttribute
  2. invoke ("browse")
  3. invoke("getMessage")

getAttribute works find but browse and getMessage does not work (partial work) partial because it browse() returns an array of object but the object is empty {}. Ditto for getMessage().

I think the conversion is not done correctly. I put a trace to getMessage and saw it returns this object type "nodeJava_javax_management_openmbean_CompositeDataSupport". how do I get this to work.

erickyi2006 avatar Dec 20 '16 08:12 erickyi2006

Got it working now. Thanks to Joe Ferner from node_java Must use data.toStringSync().

erickyi2006 avatar Dec 21 '16 02:12 erickyi2006

OK, thank you @erickyi2006

Related issue: https://github.com/joeferner/node-java/issues/371

zuazo avatar Dec 21 '16 03:12 zuazo