[jboss-as7-dev] Accessing subsystem runtime attributes

Heiko Braun hbraun at redhat.com
Mon May 9 07:56:59 EDT 2011



:read-resource(include-runtime=true)


On May 9, 2011, at 1:37 PM, Heiko W.Rupp wrote:

> 
> 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
> }
> 
> 
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list