Aspi Engineer wrote:
How do you find out if a call to retrieve a attribute via the management API failed? For example, in the below sample code, the method "hasOperationSuceeded" always returns false.
This is indeed a bug: I just fixed it in the trunk https://jira.jboss.org/browse/HORNETQ-420
On a side note, should one be using the management API, or should one be using the JMX API to do these kinds of activities?
You can achieve the same results using either the management API or JMX. I prefer to use JMX as it is more straightforward but ymmv.
thanks for the report,