[
http://jira.jboss.com/jira/browse/JBAS-3386?page=all ]
Adrian Brock reassigned JBAS-3386:
----------------------------------
Assignee: Adrian Brock
Expose "in process" messages via JMX
------------------------------------
Key: JBAS-3386
URL:
http://jira.jboss.com/jira/browse/JBAS-3386
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: JMS service
Reporter: Adrian Brock
Assigned To: Adrian Brock
Fix For: JBossAS-5.0.0.Beta, JBossAS-4.0.5.GA
Expose the number of "in process" (i.e. unacknowledged messages given to the
client)
via the JMX interfaces.
e.g. change
org.jboss.mq.server.jmx.Queue to have
public int getInProcessCount()
{
return jmsQueue.getInProcessCount();
}
org.jboss.mq.server.JMSQueue to have
public int getInProcessCount()
{
return basicQueue.getInProcessCount();
}
org.jboss.mq.server.BasicQueue to have
public int getInProcessCount()
{
return unacknowledgeMessages.size();
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira