-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Can't Use Type ItemListenerSupport w/ StepBuilderFactory .listener Method [BATCH-2461] #1141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Michael Minella commented There isn't a method on |
Alexis NICOLAS commented I have the same problem, it is on SimpleStepBuilder (org.springframework.batch.core.step.builder.SimpleStepBuilder). Here in this code you can see that I have to cast FooBarItemListener as a ItemReadListener to be able to call the method, it works but it isn't then obvious to someone reading this that FooBarItemListener will also work as a ItemProcessListener and an ItemWriteListener.
|
Any updates on this? What is the proper usage of this class to not cause this error? |
Closing this as |
Jeff opened BATCH-2461 and commented
The .listener method of StepBuilderFactory doesn't support taking arguments of type ItemListenerSupport
Affects: 3.0.6
The text was updated successfully, but these errors were encountered: