Announcement Announcement Module
Collapse
No announcement yet.
Conditioning TimerTask execution upon a property? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Conditioning TimerTask execution upon a property?

    Hi all,

    I've got a Timer Task defined in a Spring XML bean but I'd like this task to run only if a certain property is set.

    Would it be possible to do something like:

    <if property="myprop">
    <bean id="timertask">
    </if>

    or is there any attribute in Timer Task beans which allows to say: only run if this property is set to true?

    Regards,

    Marco
Working...
X