spring-batch-context

The aim of this library is to allow developers who use spring-batch to propagate information from the main thread that runs the batch to the executions context of the batch items : ItemReader, ItemProcessor and ItemWriter. For example we some times need to extract the current user from Security Context, so instead of writing the code that passes the current user information as a job parameter we let this library to handle it. This library can be extended to support any information developer want to add.

License

License

GroupId

GroupId

org.digibooster.spring.batch
ArtifactId

ArtifactId

spring-batch-context
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

spring-batch-context
The aim of this library is to allow developers who use spring-batch to propagate information from the main thread that runs the batch to the executions context of the batch items : ItemReader, ItemProcessor and ItemWriter. For example we some times need to extract the current user from Security Context, so instead of writing the code that passes the current user information as a job parameter we let this library to handle it. This library can be extended to support any information developer want to add.
Project URL

Project URL

https://github.com/zahidMed/spring-batch-context

Download spring-batch-context

How to add to project

<!-- https://jarcasting.com/artifacts/org.digibooster.spring.batch/spring-batch-context/ -->
<dependency>
    <groupId>org.digibooster.spring.batch</groupId>
    <artifactId>spring-batch-context</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.digibooster.spring.batch/spring-batch-context/
implementation 'org.digibooster.spring.batch:spring-batch-context:1.0.0'
// https://jarcasting.com/artifacts/org.digibooster.spring.batch/spring-batch-context/
implementation ("org.digibooster.spring.batch:spring-batch-context:1.0.0")
'org.digibooster.spring.batch:spring-batch-context:pom:1.0.0'
<dependency org="org.digibooster.spring.batch" name="spring-batch-context" rev="1.0.0">
  <artifact name="spring-batch-context" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.digibooster.spring.batch', module='spring-batch-context', version='1.0.0')
)
libraryDependencies += "org.digibooster.spring.batch" % "spring-batch-context" % "1.0.0"
[org.digibooster.spring.batch/spring-batch-context "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • spring-batch-context-commons
  • spring-batch-security
  • spring-batch-sleuth
  • spring-batch-mdc
  • spring-batch-locale

Versions

Version
1.0.0