The <scheduled-listener> can be used to perform scheduled tasks based on a <simple-schedule> or <cron-schedule> configuration.
It's configured with an
event-processor class, which can be an implementation of one of
Event Processors that implement this interface are simply triggered through the “onSchedule” method. No action processing pipeline is executed.
Event Processors that implement this interface are capable of “composing” a message for the action processing pipeline associated with the listener.
The attributes of this listener are:
name: The name of the listener instance
event-processor: The event processor class that is called on every schedule trigger. See above for implementation details.
name: The name of the listener instance.
scheduleidref: The scheduleid of the schedule to use for triggering this listener.
schedule-frequency: Schedule frequency (in seconds). A convenient way of specifying a simple schedule directly on the listener.