org.springframework.integration.xml.router
Class XPathMultiChannelRouter
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.xml.router.AbstractXPathRouter
org.springframework.integration.xml.router.XPathMultiChannelRouter
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, MessageHandler, TrackableComponent
public class XPathMultiChannelRouter
- extends AbstractXPathRouter
A router that evaluates the XPath expression using
XPathExpression.evaluateAsNodeList(Node)
which returns zero or more
nodes in conjunction with an instance of NodeMapper
to produce zero
or more channel names. An instance of XmlPayloadConverter
is used to
extract the payload as a Node
.
- Author:
- Jonas Partner
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getRequiredMetadataPersister, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
XPathMultiChannelRouter
public XPathMultiChannelRouter(String expression,
Map<String,String> namespaces)
- See Also:
AbstractXPathRouter.AbstractXPathRouter(String, Map)
XPathMultiChannelRouter
public XPathMultiChannelRouter(String expression,
String prefix,
String namespace)
- See Also:
AbstractXPathRouter.AbstractXPathRouter(String, String, String)
XPathMultiChannelRouter
public XPathMultiChannelRouter(String expression)
- See Also:
AbstractXPathRouter.AbstractXPathRouter(String)
XPathMultiChannelRouter
public XPathMultiChannelRouter(org.springframework.xml.xpath.XPathExpression expression)
- See Also:
AbstractXPathRouter.AbstractXPathRouter(XPathExpression)
setNodeMapper
public void setNodeMapper(org.springframework.xml.xpath.NodeMapper nodeMapper)
getChannelIndicatorList
public List<Object> getChannelIndicatorList(Message<?> message)
- Description copied from class:
AbstractChannelNameResolvingMessageRouter
- Subclasses must implement this method to return the channel indicators.
- Specified by:
getChannelIndicatorList
in class AbstractChannelNameResolvingMessageRouter
Copyright © 2010. All Rights Reserved.