Show Table of Contents
8.25.6. Scheduled Listener
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 org.jboss.soa.esb.schedule.ScheduledEventListener or org.jboss.soa.esb.listeners.ScheduledEventMessageComposer.
- ScheduledEventListener
- Event Processors that implement this interface are simply triggered through the “onSchedule” method. No action processing pipeline is executed.
- ScheduledEventMessageComposer
- 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.
- One of:
- 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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.