Announcement Announcement Module
Collapse
No announcement yet.
Spring Integration scheduling: best practices Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X