Skip to content

ItemProcessListener.onProcessError() not called when using AsycnItemProcessor [BATCH-2371] #1233

Closed
@spring-projects-issues

Description

@spring-projects-issues

Dominik Bartholdi opened BATCH-2371 and commented

We wanna speed it up our jobs with parallel processing. But when ever we turn on parallel processing, ItemProcessListener.onProcessError() is not called anymore, but only ItemProcessListener.beforeProcess() and ItemProcessListener.afterProcess() are called.

We need this to be able to report on processing errors.

I created a simple project showing the problem: https://github.com/imod/parallel-batch


Affects: 3.0.3

Reference URL: https://github.com/imod/parallel-batch

Issue Links:

  • BATCH-2773 Document how to handle asynchronous processing errors

Referenced from: commits 9059a9e, 2e8e7f6

Backported to: 4.0.0.M1

Metadata

Metadata

Assignees

No one assigned

    Labels

    has: backportsLegacy label from JIRA. Superseded by "for: backport-to-x.x.x"status: declinedFeatures that we don't intend to implement or Bug reports that are invalid or missing enough detailstype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions