diff --git a/org.springframework.integration/src/test/java/org/springframework/integration/config/AggregatorParserTests.java b/org.springframework.integration/src/test/java/org/springframework/integration/config/AggregatorParserTests.java index 2d90f8e207..ee7b27384c 100644 --- a/org.springframework.integration/src/test/java/org/springframework/integration/config/AggregatorParserTests.java +++ b/org.springframework.integration/src/test/java/org/springframework/integration/config/AggregatorParserTests.java @@ -89,7 +89,7 @@ public class AggregatorParserTests { expectedMethod, ((MessageListMethodAdapter) new DirectFieldAccessor(accessor.getPropertyValue("outputProcessor")).getPropertyValue("adapter")).getMethod()); assertEquals( "The AggregatorEndpoint is not injected with the appropriate ReleaseStrategy instance", - ReleaseStrategy, accessor.getPropertyValue("ReleaseStrategy")); + ReleaseStrategy, accessor.getPropertyValue("releaseStrategy")); assertEquals("The AggregatorEndpoint is not injected with the appropriate CorrelationStrategy instance", correlationStrategy, accessor.getPropertyValue("correlationStrategy")); Assert.assertEquals("The AggregatorEndpoint is not injected with the appropriate output channel", @@ -136,7 +136,7 @@ public class AggregatorParserTests { EventDrivenConsumer endpoint = (EventDrivenConsumer) context.getBean("aggregatorWithPojoReleaseStrategy"); ReleaseStrategy ReleaseStrategy = (ReleaseStrategy) new DirectFieldAccessor( - new DirectFieldAccessor(endpoint).getPropertyValue("handler")).getPropertyValue("ReleaseStrategy"); + new DirectFieldAccessor(endpoint).getPropertyValue("handler")).getPropertyValue("releaseStrategy"); Assert.assertTrue(ReleaseStrategy instanceof ReleaseStrategyAdapter); DirectFieldAccessor ReleaseStrategyAccessor = new DirectFieldAccessor(ReleaseStrategy); MethodInvoker invoker = (MethodInvoker) ReleaseStrategyAccessor.getPropertyValue("invoker"); diff --git a/org.springframework.integration/src/test/java/org/springframework/integration/config/annotation/AggregatorAnnotationTests.java b/org.springframework.integration/src/test/java/org/springframework/integration/config/annotation/AggregatorAnnotationTests.java index fcbd53cc91..afc7561dcf 100644 --- a/org.springframework.integration/src/test/java/org/springframework/integration/config/annotation/AggregatorAnnotationTests.java +++ b/org.springframework.integration/src/test/java/org/springframework/integration/config/annotation/AggregatorAnnotationTests.java @@ -53,7 +53,7 @@ public class AggregatorAnnotationTests { new String[] { "classpath:/org/springframework/integration/config/annotation/testAnnotatedAggregator.xml" }); final String endpointName = "endpointWithDefaultAnnotation"; MessageHandler aggregator = this.getAggregator(context, endpointName); - assertTrue(getPropertyValue(aggregator, "ReleaseStrategy") instanceof SequenceSizeReleaseStrategy); + assertTrue(getPropertyValue(aggregator, "releaseStrategy") instanceof SequenceSizeReleaseStrategy); assertNull(getPropertyValue(aggregator, "outputChannel")); assertTrue(getPropertyValue(aggregator, "discardChannel") instanceof NullChannel); assertEquals(CorrelatingMessageHandler.DEFAULT_SEND_TIMEOUT, @@ -67,7 +67,7 @@ public class AggregatorAnnotationTests { new String[] { "classpath:/org/springframework/integration/config/annotation/testAnnotatedAggregator.xml" }); final String endpointName = "endpointWithCustomizedAnnotation"; MessageHandler aggregator = this.getAggregator(context, endpointName); - assertTrue(getPropertyValue(aggregator, "ReleaseStrategy") + assertTrue(getPropertyValue(aggregator, "releaseStrategy") instanceof SequenceSizeReleaseStrategy); ChannelResolver channelResolver = new BeanFactoryChannelResolver(context); assertEquals(channelResolver.resolveChannelName("outputChannel"), @@ -84,7 +84,7 @@ public class AggregatorAnnotationTests { new String[] { "classpath:/org/springframework/integration/config/annotation/testAnnotatedAggregator.xml" }); final String endpointName = "endpointWithDefaultAnnotationAndCustomReleaseStrategy"; MessageHandler aggregator = this.getAggregator(context, endpointName); - Object ReleaseStrategy = getPropertyValue(aggregator, "ReleaseStrategy"); + Object ReleaseStrategy = getPropertyValue(aggregator, "releaseStrategy"); Assert.assertTrue(ReleaseStrategy instanceof ReleaseStrategyAdapter); ReleaseStrategyAdapter ReleaseStrategyAdapter = (ReleaseStrategyAdapter) ReleaseStrategy; DirectFieldAccessor invokerAccessor = new DirectFieldAccessor(