Results 1 to 2 of 2

Thread: Control Spring Beans with JMX

  1. #1
    Join Date
    May 2007
    Posts
    6

    Question Control Spring Beans with JMX

    Hello,

    I´ve a timer bean configured with spring:

    <bean id="timerFactory" class="org.springframework.scheduling.timer.TimerF actoryBean">
    <property name="scheduledTimerTasks">
    <list>
    <ref bean="fetcherTask" />
    </list>
    </property>
    </bean>

    <bean id="fetcherTask" class="org.springframework.scheduling.timer.Schedu ledTimerTask">
    <property name="delay" value="1" />
    <property name="period" value="60000" />
    <property name="timerTask" ref="messageFetcher" />
    </bean>

    Now I would like to change the period time through JMX. It is possible to access the Spring beans directly with JMX?

    Cheers,

    Thilko

  2. #2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •