public class PayloadTypeRouter extends AbstractMappingMessageRouter
MessageChannel
based on the
Message's
payload type.IntegrationManagement.ManagementOverrides
channelMappings
EXPRESSION_PARSER, logger
Constructor and Description |
---|
PayloadTypeRouter() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.Object> |
getChannelKeys(org.springframework.messaging.Message<?> message)
Selects the most appropriate channel name matching channel identifiers which are the
fully qualified class names encountered while traversing the payload type hierarchy.
|
determineTargetChannels, getChannelMappings, getDynamicChannelNames, removeChannelMapping, replaceChannelMappings, setChannelMapping, setChannelMappings, setDynamicChannelLimit, setPrefix, setResolutionRequired, setSuffix
getComponentType, getDefaultOutputChannel, getMessagingTemplate, getRequiredConversionService, handleMessageInternal, onInit, setApplySequence, setDefaultOutputChannel, setDefaultOutputChannelName, setIgnoreSendFailures, setSendTimeout
configureMetrics, getActiveCount, getActiveCountLong, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getOverrides, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, onComplete, onError, onNext, onSubscribe, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabled
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
protected java.util.List<java.lang.Object> getChannelKeys(org.springframework.messaging.Message<?> message)
getChannelKeys
in class AbstractMappingMessageRouter
message
- The message.