Skip to content

Skippable exception applied to whole chunk and skip limit not strictly honoured for transactional reader [BATCH-1875] #1716

Open
@spring-projects-issues

Description

@spring-projects-issues

hari iyer opened BATCH-1875 and commented

When the reader is non-transactional, and the exception is skippable, Spring Batch does a good job of isolating the failing item(s) in a chunk write by rescoping the transaction around each item so that only the failing item is skipped. This does not seem to be the behavior when the reader is transactional. When I use JmsItemReader and one of the items in a chunk fails with a skippable exception during write, all items in the chunk get skipped. Is this the expected behavior?


Affects: 2.1.8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions