Skip to content

Incorrect bean configuration in DefaultBatchConfiguration #4543

Closed
@fmbenhassine

Description

@fmbenhassine

As of 5.0.4, bean method proxying is disabled in DefaultBatchConfiguration (inherited from the previous AbstractBatchConfiguration and which is required for native compilation to work). However, some bean definition methods call other bean definition methods to define dependencies, which is incorrect. Dependency injection through method parameters should be used instead.

This issue will introduce a minor breaking change in method signatures and should be included in a minor release.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions