8.25.3. Scheduling Services
The JBoss Enterprise SOA Platform supports two types of scheduling functionality providers:
- Bus Providers
- These supply messages to action processing pipelines via messaging protocols such as JMS and HTTP. This provider type is “triggered” by the underlying messaging provider.
- Schedule Providers
- These supply messages to action processing pipelines based on a schedule driven model such as when the underlying message delivery mechanism (for example, the file system) offers no support for triggering the enterprise service bus when messages are available for processing, a scheduler periodically triggers the listener to check for new messages.
The JBoss Enterprise SOA Platform offers a <schedule-listener> as well as two <schedule-provider> types - <simple-schedule> and <cron-schedule>. The <schedule-listener> is configured with a “composer” class, which is an implementation of the
org.jboss.soa.esb.listeners.ScheduledEventMessageComposer
interface..
Important
Scheduling functionality is new to the JBoss Enterprise SOA Platform and not all of the listeners have been migrated over to this model yet.