Skip to content

Allow overriding JobParametersConverter for spring batch auto-configuration #44793

Closed as not planned
@pPanda-beta

Description

@pPanda-beta

Since spring-projects/spring-batch#4650 (comment) is closed and there is an way to override the JobParametersConverter in org.springframework.batch.core.configuration.support.DefaultBatchConfiguration it would be very convenient if spring boot auto configuration also allows this.
Right now

class BatchAutoConfiguration.SpringBootBatchConfiguration does not override

protected JobParametersConverter getJobParametersConverter()

And the only alternative workaround is to utilize the BatchConversionServiceCustomizer and install converters per type, while most parameter objects are data classes, and can easily be handled by json serialization.
Explained in details here

cc: @fmbenhassine

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions