Saturday, January 29, 2011

Cheap SOA Scheduler with SOA Suite

We have discussed in another post some possibilities to create a scheduler in SOA Suite. They are all very complicated.

A cheap and dirty way to trigger a BPEL process at regular intervals is creating a TRIGGERME table with a field STATUS, and using a DBAdapter in the Exposed Services lane with a "Poll for new or updated rows" option, and using the same value for UNREAD and READ value in the STATUS field.
You can set the frequency of the polling to anything you want.

This pattern is valid only for regular scheduling with no control on the starting time, so it's really a raw scheduler.

No comments: