Class MethodInvokingMessageSource

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, Lifecycle, MessageSource<Object>, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle

public class MethodInvokingMessageSource extends AbstractMessageSource<Object> implements ManageableLifecycle
A MessageSource implementation that invokes a no-argument method so that its return value may be sent to a channel.
Author:
Mark Fisher, Gary Russell, Artem Bilan, Christian Tzolov