public class MethodInvokingRouter extends AbstractMappingMessageRouter
DestinationResolver is required.IntegrationManagement.ManagementOverridesEXPRESSION_PARSER, loggerHIGHEST_PRECEDENCE, LOWEST_PRECEDENCEMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| 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, setChannelKeyFallback, setChannelMapping, setChannelMappings, setDynamicChannelLimit, setPrefix, setResolutionRequired, setSuffixgetComponentType, getDefaultOutputChannel, getIntegrationPatternType, getMessagingTemplate, getRequiredConversionService, handleMessageInternal, setApplySequence, setDefaultOutputChannel, setDefaultOutputChannelName, setIgnoreSendFailures, setSendTimeouthandleMessage, onComplete, onError, onNext, onSubscribebuildSendTimer, destroy, getManagedName, getManagedType, getMetricsCaptor, getOrder, getOverrides, isLoggingEnabled, registerMetricsCaptor, sendTimer, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, shouldTrackafterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetThisAsgetBeanName, getComponentNamepublic 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()
IntegrationObjectSupportonInit in class AbstractMessageRouterpublic void start()
start in interface org.springframework.context.Lifecyclestart in interface ManageableLifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclestop in interface ManageableLifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.LifecycleisRunning in interface ManageableLifecycleprotected java.util.List<java.lang.Object> getChannelKeys(org.springframework.messaging.Message<?> message)
AbstractMappingMessageRoutergetChannelKeys in class AbstractMappingMessageRoutermessage - The message.