org.springframework.integration.xml.router
Class XmlPayloadValidatingRouter
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.router.AbstractMessageRouter
org.springframework.integration.router.AbstractChannelNameResolvingMessageRouter
org.springframework.integration.router.AbstractSingleChannelNameRouter
org.springframework.integration.xml.router.XmlPayloadValidatingRouter
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, MessageHandler, TrackableComponent
public class XmlPayloadValidatingRouter
- extends AbstractSingleChannelNameRouter
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getRequiredMetadataPersister, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
XmlPayloadValidatingRouter
public XmlPayloadValidatingRouter(String validMessageChannelName,
String invalidMessageChannelName,
XmlValidator xmlValidator)
setConverter
public void setConverter(XmlPayloadConverter converter)
- Converter used to convert payloads prior to validation
- Parameters:
converter
-
determineTargetChannelName
protected String determineTargetChannelName(Message<?> message)
- Description copied from class:
AbstractSingleChannelNameRouter
- Subclasses must implement this method to return the channel name.
- Specified by:
determineTargetChannelName
in class AbstractSingleChannelNameRouter
Copyright © 2010. All Rights Reserved.