[ 
https://issues.apache.org/jira/browse/QPID-4783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fraser Adams closed QPID-4783.
------------------------------

    
> Improve Connection statistics in Java Broker QmfManagementAgent
> ---------------------------------------------------------------
>
>                 Key: QPID-4783
>                 URL: https://issues.apache.org/jira/browse/QPID-4783
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Fraser Adams
>            Priority: Minor
>             Fix For: 0.23
>
>
> org.apache.qpid.server.qmf2.agentdata.Connection provide a bridge between the 
> Java Broker org.apache.qpid.server.model.Connection and QMF.
> I had assumed that bytesIn, bytesOut, messagesIn and messagesOut hadn't been 
> implemented but Robbie Gemmell mentioned that they were actually implemented 
> in the StatisticsAdapter base class extended by ConnectionStatisticsAdapter.
> So I've been able to map those to the related QMF Connection statistics.
>         setValue("bytesFromClient", stats.getStatistic("bytesIn"));
>         setValue("bytesToClient", stats.getStatistic("bytesOut")); 
>         setValue("msgsFromClient", stats.getStatistic("messagesIn"));
>         setValue("msgsToClient", stats.getStatistic("messagesOut"));
> I've applied a fix and the stats look to be updating fine in the QMF2 GUI.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to