From 4b564535d27447057fad44239e978cb91405c9c6 Mon Sep 17 00:00:00 2001 From: Gunnar Hillert Date: Mon, 30 Jan 2012 23:54:07 -0500 Subject: [PATCH 1/2] INT-2423 remove 'keep-released-messages' attribute For reference see: https://jira.springsource.org/browse/INT-2423 --- .../integration/config/xml/spring-integration-2.1.xsd | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.1.xsd b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.1.xsd index 0db86cc866..943215f816 100644 --- a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.1.xsd +++ b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.1.xsd @@ -3060,11 +3060,6 @@ is provided, the return value is expected to match a channel name exactly. - - - Will store messages after their release. Mainly used for monitoring purposes. Default is 'true' - - From a6f400152eae5f9a7f28e869c9ab24ae66f1aaa1 Mon Sep 17 00:00:00 2001 From: Gunnar Hillert Date: Tue, 31 Jan 2012 10:11:26 -0500 Subject: [PATCH 2/2] INT-2423 Remove 'KEEP_RELEASED_MESSAGES' Constant Removed 'KEEP_RELEASED_MESSAGES' constant from AbstractCorrelatingMessageHandlerParser --- .../config/xml/AbstractCorrelatingMessageHandlerParser.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/config/xml/AbstractCorrelatingMessageHandlerParser.java b/spring-integration-core/src/main/java/org/springframework/integration/config/xml/AbstractCorrelatingMessageHandlerParser.java index 8cde25ebc2..28f60122e8 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/config/xml/AbstractCorrelatingMessageHandlerParser.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/config/xml/AbstractCorrelatingMessageHandlerParser.java @@ -45,8 +45,6 @@ public abstract class AbstractCorrelatingMessageHandlerParser extends AbstractCo private static final String SEND_PARTIAL_RESULT_ON_EXPIRY_ATTRIBUTE = "send-partial-result-on-expiry"; - private static final String KEEP_RELEASED_MESSAGES = "keep-released-messages"; - protected void doParse(BeanDefinitionBuilder builder, Element element, BeanMetadataElement processor, ParserContext parserContext){ this.injectPropertyWithAdapter(CORRELATION_STRATEGY_REF_ATTRIBUTE, CORRELATION_STRATEGY_METHOD_ATTRIBUTE, CORRELATION_STRATEGY_EXPRESSION_ATTRIBUTE, CORRELATION_STRATEGY_PROPERTY, "CorrelationStrategy", @@ -55,7 +53,6 @@ public abstract class AbstractCorrelatingMessageHandlerParser extends AbstractCo IntegrationNamespaceUtils.setReferenceIfAttributeDefined(builder, element, DISCARD_CHANNEL_ATTRIBUTE); IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, element, SEND_TIMEOUT_ATTRIBUTE); IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, element, SEND_PARTIAL_RESULT_ON_EXPIRY_ATTRIBUTE); - IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, element, KEEP_RELEASED_MESSAGES); } protected void injectPropertyWithAdapter(String beanRefAttribute, String methodRefAttribute,