jakartaee / batch

The Jakarta Batch project produces the Batch Specification and API.
https://projects.eclipse.org/projects/ee4j.batch
Apache License 2.0
13 stars 17 forks source link

If both retryable & skippable, and limit is reached for one, do we stop trying or revert to other behavior? #142

Open follis opened 3 years ago

follis commented 3 years ago

There are very specific rules for how skipable and retryable exceptions are handled and limits to the number of times we'll skip and retry. The spec doesn't say what happens if an exception is specified as both skipable and retryable and you run out of whichever one takes precedence (I don't know offhand, but hopefully the spec says). Do you then start handling it the other way (e.g. you hit the skip count for this exception and so now you retry?)