|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.router.AbstractMessageRouter
org.springframework.integration.xml.router.XPathRouter
public class XPathRouter
Abstract base class for Message Routers that use
XPathExpression evaluation to determine channel names.
| Field Summary |
|---|
| Fields inherited from class org.springframework.integration.router.AbstractMessageRouter |
|---|
channelIdentifierMap |
| Fields inherited from class org.springframework.integration.handler.AbstractMessageHandler |
|---|
logger |
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Constructor Summary | |
|---|---|
XPathRouter(java.lang.String expression)
Create a router that uses an XPath expression with no namespaces. |
|
XPathRouter(java.lang.String expression,
java.util.Map<java.lang.String,java.lang.String> namespaces)
Create a router that uses an XPath expression. |
|
XPathRouter(java.lang.String expression,
java.lang.String prefix,
java.lang.String namespace)
Create a router uses an XPath expression with one namespace. |
|
XPathRouter(org.springframework.xml.xpath.XPathExpression expression)
Create a router that uses the provided XPath expression. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.Object> |
getChannelIndicatorList(Message<?> message)
Subclasses must implement this method to return the channel indicators. |
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information. |
protected XmlPayloadConverter |
getConverter()
|
protected org.springframework.xml.xpath.XPathExpression |
getXPathExpression()
|
void |
setConverter(XmlPayloadConverter converter)
Converter used to convert payloads prior to XPath testing. |
| Methods inherited from class org.springframework.integration.router.AbstractMessageRouter |
|---|
determineTargetChannels, getMessagingTemplate, getRequiredConversionService, handleMessageInternal, onInit, removeChannelMapping, setApplySequence, setChannelIdentifierMap, setChannelMapping, setChannelResolver, setDefaultOutputChannel, setIgnoreChannelNameResolutionFailures, setIgnoreSendFailures, setPrefix, setResolutionRequired, setSuffix, setTimeout |
| Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler |
|---|
getOrder, handleMessage, setOrder, setShouldTrack |
| Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
|---|
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.integration.context.NamedComponent |
|---|
getComponentName |
| Constructor Detail |
|---|
public XPathRouter(java.lang.String expression,
java.util.Map<java.lang.String,java.lang.String> namespaces)
expression - namespaces -
public XPathRouter(java.lang.String expression,
java.lang.String prefix,
java.lang.String namespace)
expression - prefix - namespace - public XPathRouter(java.lang.String expression)
expression - public XPathRouter(org.springframework.xml.xpath.XPathExpression expression)
expression - | Method Detail |
|---|
protected XmlPayloadConverter getConverter()
public void setConverter(XmlPayloadConverter converter)
converter - protected org.springframework.xml.xpath.XPathExpression getXPathExpression()
public java.lang.String getComponentType()
IntegrationObjectSupport
getComponentType in interface NamedComponentgetComponentType in class AbstractMessageRouterpublic java.util.List<java.lang.Object> getChannelIndicatorList(Message<?> message)
AbstractMessageRouter
getChannelIndicatorList in class AbstractMessageRouter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||