Giter Site home page Giter Site logo

lesetse / spring-boot-batch-integration-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uesleilima/spring-boot-batch-integration-sample

0.0 0.0 0.0 104 KB

Sample project with Spring Batch and Spring Integration using Spring Boot and Java Config

License: MIT License

Shell 22.67% Batchfile 17.40% Java 59.93%

spring-boot-batch-integration-sample's Introduction

Spring Boot Batch-Integration Sample

Sample project for Spring Batch and Spring Integration using Spring Boot and Java Config

Goal

Build a processing flow using the IntegrationFlow configuration builder and general Java Config instead of xml bean configuration to activate batch jobs and read/write message channels.

Spring Integration + Spring Batch + JPA

In this sample we have a integration flow where we pool files in a specific directory and request batch jobs to process those files persisting the in a memory database using JPA repositories.

Usage

Just run it, spring boot maven plugin do all the dirty job for you:

$ mvn spring-boot:run

Execution Flow

  1. Pool files from input dir;
  2. Creates job request to process file;
  3. Execute request;
  4. Execution listener asyncronously populates job execution channel;
  5. On job execution fail, restart it;
  6. On job execution completion, move original file to 'processed' dir.

References

spring-boot-batch-integration-sample's People

Contributors

uesleilima avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.