[jboss-as7-dev] Accessing subsystem runtime attributes

Heiko W.Rupp hrupp at redhat.com
Mon May 9 07:37:50 EDT 2011


Am 09.05.2011 um 13:31 schrieb Francesco Marchioni:

> Dear devs,
> I'm wondering how runtime attributes (such as ConnectionCount for a ManagedConnection Pool, or Thread's QueueSize) could be gathered on AS 7.
> By using CLI ? Using a recursive read-resource, just dumps the resource startup properties.....


use read-attribute:

[domain at localhost:9999 connector=http] :read-attribute(name=maxTime)
{
    "outcome" => "success",
    "result" => "no metrics available",
    "compensating-operation" => undefined
}





More information about the jboss-as7-dev mailing list