diff --git a/spring-integration-core/src/main/java/org/springframework/integration/config/xml/ControlBusParser.java b/spring-integration-core/src/main/java/org/springframework/integration/config/xml/ControlBusParser.java index 2d7f257692..385590b215 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/config/xml/ControlBusParser.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/config/xml/ControlBusParser.java @@ -13,18 +13,18 @@ package org.springframework.integration.config.xml; +import org.w3c.dom.Element; + import org.springframework.beans.BeanMetadataElement; import org.springframework.beans.factory.config.RuntimeBeanReference; import org.springframework.beans.factory.support.BeanDefinitionBuilder; import org.springframework.beans.factory.support.RootBeanDefinition; import org.springframework.beans.factory.xml.ParserContext; -import org.springframework.integration.config.ExpressionControlBusFactoryBean; -import org.springframework.integration.control.ControlBusMessageProcessor; import org.springframework.util.StringUtils; -import org.w3c.dom.Element; /** * @author Dave Syer + * @author Oleg Zhurakousky * @since 2.0 */ public class ControlBusParser extends AbstractConsumerEndpointParser { @@ -32,8 +32,8 @@ public class ControlBusParser extends AbstractConsumerEndpointParser { @Override protected BeanDefinitionBuilder parseHandler(Element element, ParserContext parserContext) { BeanDefinitionBuilder builder = BeanDefinitionBuilder - .genericBeanDefinition(ExpressionControlBusFactoryBean.class); - builder.addConstructorArgValue(new RootBeanDefinition(ControlBusMessageProcessor.class)); + .genericBeanDefinition("org.springframework.integration.config.ExpressionControlBusFactoryBean"); + builder.addConstructorArgValue(new RootBeanDefinition("org.springframework.integration.control.ControlBusMessageProcessor")); BeanMetadataElement beanResolver = getBeanResolver(element, parserContext); if (beanResolver!=null) { builder.addPropertyValue("beanResolver", beanResolver); diff --git a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd index 03a3ad145c..63d953fae0 100644 --- a/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd +++ b/spring-integration-core/src/main/resources/org/springframework/integration/config/xml/spring-integration-2.0.xsd @@ -421,12 +421,12 @@ + + + Defines a Messaging Gateway. + + - - - Defines a Messaging Gateway. - - @@ -1335,11 +1335,40 @@ endpoint itself is a Polling Consumer for a channel with a queue. - - - - + + + + Shortcut to specify value for 'replyChannel' header + + + + + + + Shortcut to specify value for 'errorChannel' header + + + + + + + Shortcut to specify value for 'correlationId' header + + + + + + + Shortcut to specify value for 'expirationDate' header (java.lang.Long) + + + + + + Shortcut to specify value for 'priority' header when using PriotityChannel + + @@ -1368,7 +1397,13 @@ endpoint itself is a Polling Consumer for a channel with a queue. - + + + + Allows you to configure Message Poller if this endpoint is a Polling Consumer + + + @@ -1855,7 +1890,8 @@ endpoint itself is a Polling Consumer for a channel with a queue. - Defines a Filter. + Defines a Message Filters that is used to decide whether a Message should be passed + along or dropped based on some criteria @@ -1877,6 +1913,9 @@ endpoint itself is a Polling Consumer for a channel with a queue. + + The channel where the filter will send the messages that were dropped + @@ -1908,7 +1947,7 @@ endpoint itself is a Polling Consumer for a channel with a queue. @@ -2069,10 +2108,28 @@ Name of the header whose value to use. + + + + + - + + + + A value of the evaluation token that will be mapped to a channel reference + (e.g., mapping value='foo' channel='myChannel') + + + + + A reference to a bean that defines a Message Channel + (e.g., mapping value='foo' channel='myChannel') + @@ -2440,8 +2497,22 @@ Name of the header whose value to use. - - + + + + A reference to a bean in the Application Context + which implements MessageSelector that must accept a message for it to be + sent to the intercepting channel + + + + + + + The timeout for sending the message to the intercepting channel + + + @@ -2657,6 +2728,14 @@ Name of the header whose value to use. + + + Allows you to register Converters (implementation of the Converter interface) that will +be automatically registered with the ConversionService. ConversionService itself does not have to be +explicitly defined since the default ConversionService will be registered under the name 'integrationConversionService' +unless bean with this name is already registered. + + @@ -2719,6 +2798,11 @@ The list of component name patterns you want to track (e.g., tracked-components + + A refeerence to a bean in this Application Context that + impements BeanResolver that can be registered with SpEL evaluation context + to resolve @myBeanName still expressions[OPTIONAL]. +