From 4732c118b0d0892a59b2a434f34e236c9b5a4e5f Mon Sep 17 00:00:00 2001 From: dsyer Date: Wed, 4 Nov 2009 08:47:20 +0000 Subject: [PATCH] RESOLVED - issue BATCH-1419: Change is-reader-transactional-queue to reader-transactional in http://jira.springframework.org/browse/BATCH-1419 --- .../batch/core/configuration/xml/ChunkElementParser.java | 2 +- .../batch/core/configuration/xml/spring-batch-2.1.xsd | 2 +- .../xml/StepWithFaultTolerantProcessTaskJobParserTests.java | 2 +- .../xml/StepParserBadRetryListenerTests-context.xml | 2 +- .../xml/StepParserTaskletAttributesTests-context.xml | 2 +- .../StepWithFaultTolerantProcessTaskJobParserTests-context.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/xml/ChunkElementParser.java b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/xml/ChunkElementParser.java index d0f054e1c..8280c5b63 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/xml/ChunkElementParser.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/xml/ChunkElementParser.java @@ -113,7 +113,7 @@ public class ChunkElementParser { propertyValues.addPropertyValue("cacheCapacity", cacheCapacity); } - String isReaderTransactionalQueue = element.getAttribute("is-reader-transactional-queue"); + String isReaderTransactionalQueue = element.getAttribute("reader-transactional-queue"); if (StringUtils.hasText(isReaderTransactionalQueue)) { propertyValues.addPropertyValue("isReaderTransactionalQueue", isReaderTransactionalQueue); } diff --git a/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-2.1.xsd b/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-2.1.xsd index e0fc3a75a..8f643784e 100644 --- a/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-2.1.xsd +++ b/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-2.1.xsd @@ -601,7 +601,7 @@ ]]> - + + retry-limit="3" cache-capacity="100" reader-transactional-queue="true"> diff --git a/spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/StepParserTaskletAttributesTests-context.xml b/spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/StepParserTaskletAttributesTests-context.xml index 0c77af0a7..4450f2778 100644 --- a/spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/StepParserTaskletAttributesTests-context.xml +++ b/spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/StepParserTaskletAttributesTests-context.xml @@ -8,7 +8,7 @@ + retry-limit="3" cache-capacity="100" reader-transactional-queue="true"> diff --git a/spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/StepWithFaultTolerantProcessTaskJobParserTests-context.xml b/spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/StepWithFaultTolerantProcessTaskJobParserTests-context.xml index c2347da8b..ac79eed4f 100644 --- a/spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/StepWithFaultTolerantProcessTaskJobParserTests-context.xml +++ b/spring-batch-core/src/test/resources/org/springframework/batch/core/configuration/xml/StepWithFaultTolerantProcessTaskJobParserTests-context.xml @@ -11,7 +11,7 @@ + reader-transactional-queue="true">