Results 1 to 2 of 2

Thread: Spring Integration scheduling: best practices

  1. #1
    Join Date
    Oct 2008
    Posts
    15

    Default Spring Integration scheduling: best practices

    Consider the following scenario: two or more installations exists of some SI application with all of them connecting to the same database for data retrieval on certain time intervals. The installations should not be accessing the same rows of data at the same time. The fetched data would be processed somehow (out of scope for this question).

    What kind of support does SI provide for this type of scheduling scenario? I was made to understand, that Quartz is not an option.

    Thanks again! :-)

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,844

    Default

    When you configure a Trigger for polling, we do support CronTrigger in addition to IntervalTrigger.

    For an example, you could look at the OddEvenDemo within the 'org.springframework.integration.samples' module. It provides both an interval-based and cron-based configuration.

    You can have a look at the 2 XML files here:
    https://src.springframework.org/svn/...mples/oddeven/

    Hope that helps.
    -Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •