blackhacker
Jan 25th, 2008, 05:01 AM
Hello,
I´ve a timer bean configured with spring:
<bean id="timerFactory" class="org.springframework.scheduling.timer.TimerFactoryB ean">
<property name="scheduledTimerTasks">
<list>
<ref bean="fetcherTask" />
</list>
</property>
</bean>
<bean id="fetcherTask" class="org.springframework.scheduling.timer.ScheduledTime rTask">
<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
I´ve a timer bean configured with spring:
<bean id="timerFactory" class="org.springframework.scheduling.timer.TimerFactoryB ean">
<property name="scheduledTimerTasks">
<list>
<ref bean="fetcherTask" />
</list>
</property>
</bean>
<bean id="fetcherTask" class="org.springframework.scheduling.timer.ScheduledTime rTask">
<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