Announcement Announcement Module
Collapse
No announcement yet.
Spring batch for rollup processing. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring batch for rollup processing.

    I need to do some batch processing to rollup (aggregate) certain data, grouped by a certain criteria.

    I am trying to figure out how to use spring batch for this.
    some of the issues.
    1. I only want to commit when the entire group(or entire chunk) has been rolledup. How do you set the commit interval.
    2. I could encapsulate all the logic in a processor, but then there is no point in using spring batch.

    Has anyone any experience with this.

  • #2
    Originally posted by mathaix View Post
    1. I only want to commit when the entire group(or entire chunk) has been rolledup. How do you set the commit interval
    You can use a custom CompletionPolicy (inject it into the step via the <chunk/> element if you are using the XML namespace).

    Comment

    Working...
    X