forked from spring-projects/spring-batch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BATCH-1739: fix all retry/skip inconsistencies *except* with late bin…
…ding of limits
- Loading branch information
Showing
12 changed files
with
180 additions
and
39 deletions.
There are no files selected for viewing
6 changes: 5 additions & 1 deletion
6
spring-batch-core/.settings/com.springsource.sts.config.flow.prefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...h/core/configuration/xml/ParentRetryableLateBindingStepFactoryBeanParserTests-context.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans:beans xmlns="http://www.springframework.org/schema/batch" xmlns:beans="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.1.xsd | ||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> | ||
|
||
<beans:import resource="common-context.xml" /> | ||
|
||
<step id="stepParent" abstract="true" xmlns="http://www.springframework.org/schema/batch"> | ||
<tasklet> | ||
<chunk> | ||
<retryable-exception-classes> | ||
<include class="java.lang.Exception" /> | ||
</retryable-exception-classes> | ||
</chunk> | ||
</tasklet> | ||
</step> | ||
|
||
<job id="job"> | ||
<step id="s1" parent="stepParent"> | ||
<tasklet> | ||
<chunk reader="reader" writer="writer" processor="processor" commit-interval="1" | ||
retry-limit="#{jobParameters['retry.interval']}"/> | ||
</tasklet> | ||
</step> | ||
</job> | ||
|
||
</beans:beans> |
26 changes: 26 additions & 0 deletions
26
...mework/batch/core/configuration/xml/ParentRetryableStepFactoryBeanParserTests-context.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.1.xsd | ||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> | ||
|
||
<import resource="common-context.xml" /> | ||
|
||
<step id="stepParent" abstract="true" xmlns="http://www.springframework.org/schema/batch"> | ||
<tasklet> | ||
<chunk> | ||
<retryable-exception-classes> | ||
<include class="java.lang.Exception" /> | ||
</retryable-exception-classes> | ||
</chunk> | ||
</tasklet> | ||
</step> | ||
|
||
<job id="job" xmlns="http://www.springframework.org/schema/batch"> | ||
<step id="s1" parent="stepParent"> | ||
<tasklet> | ||
<chunk reader="reader" writer="writer" processor="processor" commit-interval="5" retry-limit="1" /> | ||
</tasklet> | ||
</step> | ||
</job> | ||
|
||
</beans> |
28 changes: 28 additions & 0 deletions
28
...h/core/configuration/xml/ParentSkippableLateBindingStepFactoryBeanParserTests-context.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<beans:beans xmlns="http://www.springframework.org/schema/batch" xmlns:beans="http://www.springframework.org/schema/beans" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.1.xsd | ||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> | ||
|
||
<beans:import resource="common-context.xml" /> | ||
|
||
<step id="stepParent" abstract="true" xmlns="http://www.springframework.org/schema/batch"> | ||
<tasklet> | ||
<chunk> | ||
<skippable-exception-classes> | ||
<include class="java.lang.Exception" /> | ||
</skippable-exception-classes> | ||
</chunk> | ||
</tasklet> | ||
</step> | ||
|
||
<job id="job"> | ||
<step id="s1" parent="stepParent"> | ||
<tasklet> | ||
<chunk reader="reader" writer="writer" processor="processor" commit-interval="1" | ||
skip-limit="#{jobParameters['skip.limit']}"/> | ||
</tasklet> | ||
</step> | ||
</job> | ||
|
||
</beans:beans> |
Oops, something went wrong.