Hello Wildfly developers,
I've setup a resource-adapter like this :
<subsystem xmlns="urn:jboss:domain:resource-adapters:3.0"> <resource-adapters> <resource-adapter id="JMS" statistics-enabled="true"> <module id="org.jboss.genericjms" slot="main"/> <transaction-support>NoTransaction</transaction-support> <connection-definitions> <connection-definition class-name="org.jboss.resource.adapter.jms.JmsManagedConnectionFactory" jndi-name="java:jboss/jms/JMS" enabled="true" use-java-context="true" pool-name="JMS" use-ccm="true"> <config-property name="ConnectionFactory">...</config-property> <config-property name="SessionDefaultType">javax.jms.Queue</config-property> <config-property name="UserName">...</config-property> <config-property name="Password">...</config-property> <pool> <min-pool-size>0</min-pool-size> <max-pool-size>10</max-pool-size> <prefill>false</prefill> <use-strict-min>false</use-strict-min> <flush-strategy>FailingConnectionOnly</flush-strategy> </pool> <security> <application></application> </security> </connection-definition> </connection-definitions> </resource-adapter> </resource-adapters> </subsystem>
I need to get pool statistics for this connection definition, but I can't find it in jboss-cli.
Please note that the resource-adapter in "loaded" from a module and not from a RAR archive.
When loaded from a RAR archive, the statistics are found in "/deployment=xxx.rar/subsystem=resource-adapters/statistics=statistics/..." (even though it must be enabled manually).
But when loaded from a module, where are the statistics ?
Hi,
It's something missing in WildFly 9 and it's under development for WildFly 10
regards
S.