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