Class MethodInvokingRouter

All Implemented Interfaces:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Lifecycle, Ordered, ExpressionCapable, Orderable, IntegrationPattern, MessageRouter, NamedComponent, IntegrationManagement, ManageableLifecycle, MappingMessageRouterManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>

public class MethodInvokingRouter extends AbstractMappingMessageRouter
A Message Router that invokes the specified method on the given object. The method's return value may be a single MessageChannel instance, a single String to be interpreted as a channel name, or a Collection (or Array) of either type. If the method returns channel names, then a DestinationResolver is required.
Author:
Mark Fisher, Artem Bilan