Announcement Announcement Module
Collapse
No announcement yet.
Control Spring Beans with JMX Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Control Spring Beans with JMX

    Hello,

    Ive 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
    http://static.springframework.org/sp...rence/jmx.html

    Comment

    Working...
    X