Welcome! Please see the About page for a little more info on how this works.

0 votes
in java.jmx by

This is the follow up to https://dev.clojure.org/jira/browse/JMX-16.

For the attribute to be writable via JMX it has to be set as writable - see (link: https://github.com/clojure/java.jmx/blob/master/src/main/clojure/clojure/java/jmx.clj#L171 text: build-attribute-info).
That is, Bean deftype implements setAttribute, but implementation of getMBeanInfo calls 2-arity version of map->attribute-infos without an option to set an attribute as writable.

1 Answer

0 votes
Reference: https://clojure.atlassian.net/browse/JMX-19 (reported by jumar)