cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem2 <>
Subject Re: Monitoring and NumInvocation Stats
Date Thu, 15 Nov 2007 21:20:45 GMT

O , You just need create a CounterRepository which 
will help you setup whole interceptors for the counter work now.

Here is a configuration for your:

<beans xmlns=""
    <!-- InstrumetationManager's setting -->
    <bean id="InstrumentationManager"
        <property name="bus" ref="cxf" />
        <property name="enabled" value="true" />
        <property name="JMXServiceURL"
value="service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi" />
    <!-- Wiring the counter repository --> 
    <bean id="CounterRepository"
        <property name="bus" ref="cxf" />        


Vespa, Anthony J wrote:
> Hello,
> As I've been exploring the jmx pieces of CXF I've found this class:
> and if I create an instance of this and use a service name, it lets me
> call a function called getNumInvocations but this number is always
> does this get incremented?  Do I have to use some sort of
> annotation to get the calls to each service to increment?
> Thanks for any help!

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message