public class MethodInvokingRouter extends AbstractMappingMessageRouter
DestinationResolver is required.channelMappingsEXPRESSION_PARSER, logger| Constructor and Description |
|---|
MethodInvokingRouter(java.lang.Object object) |
MethodInvokingRouter(java.lang.Object object,
java.lang.reflect.Method method) |
MethodInvokingRouter(java.lang.Object object,
java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.Object> |
getChannelKeys(org.springframework.messaging.Message<?> message)
Subclasses must implement this method to return the channel keys.
|
boolean |
isRunning() |
void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
start() |
void |
stop() |
determineTargetChannels, getChannelMappings, getDynamicChannelNames, removeChannelMapping, replaceChannelMappings, setChannelMapping, setChannelMappings, setDynamicChannelLimit, setPrefix, setResolutionRequired, setSuffixgetComponentType, getDefaultOutputChannel, getMessagingTemplate, getRequiredConversionService, handleMessageInternal, setApplySequence, setDefaultOutputChannel, setDefaultOutputChannelName, setIgnoreSendFailures, setSendTimeout, setTimeoutconfigureMetrics, getActiveCount, getActiveCountLong, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabledafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentNamepublic MethodInvokingRouter(java.lang.Object object,
java.lang.reflect.Method method)
public MethodInvokingRouter(java.lang.Object object,
java.lang.String methodName)
public MethodInvokingRouter(java.lang.Object object)
public final void onInit()
throws java.lang.Exception
IntegrationObjectSupportonInit in class AbstractMessageRouterjava.lang.Exception - Any exception.public void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecycleprotected java.util.List<java.lang.Object> getChannelKeys(org.springframework.messaging.Message<?> message)
AbstractMappingMessageRoutergetChannelKeys in class AbstractMappingMessageRoutermessage - The message.