Class SourcePollingChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,reactor.util.function.Tuple2<F,H>>
org.springframework.integration.dsl.EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
org.springframework.integration.dsl.SourcePollingChannelAdapterSpec
- All Implemented Interfaces:
DisposableBean,FactoryBean<reactor.util.function.Tuple2<SourcePollingChannelAdapterFactoryBean,,MessageSource<?>>> InitializingBean,Lifecycle,Phased,SmartLifecycle,ComponentsRegistration
public class SourcePollingChannelAdapterSpec
extends EndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean,MessageSource<?>>
- Since:
- 5.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.EndpointSpec
componentsToRegister, endpointFactoryBean, handlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSourcePollingChannelAdapterSpec(MessageSource<?> messageSource) -
Method Summary
Modifier and TypeMethodDescriptionautoStartup(boolean autoStartup) phase(int phase) poller(PollerMetadata pollerMetadata) Specify the role for the endpoint.Methods inherited from class org.springframework.integration.dsl.EndpointSpec
assertHandler, doGet, getComponentsToRegister, id, obtainInputChannelFromFlow, obtainInputChannelFromFlow, poller, pollerMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
SourcePollingChannelAdapterSpec
-
-
Method Details
-
phase
- Specified by:
phasein classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
phase- the phase.- Returns:
- the endpoint spec.
- See Also:
-
autoStartup
- Specified by:
autoStartupin classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
autoStartup- the autoStartup.- Returns:
- the endpoint spec
- See Also:
-
poller
- Specified by:
pollerin classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
pollerMetadata- the pollerMetadata- Returns:
- the endpoint spec.
- See Also:
-
role
Description copied from class:EndpointSpecSpecify the role for the endpoint. Such endpoints can be started/stopped as a group.- Specified by:
rolein classEndpointSpec<SourcePollingChannelAdapterSpec,SourcePollingChannelAdapterFactoryBean, MessageSource<?>> - Parameters:
role- the role for this endpoint.- Returns:
- the endpoint spec
- See Also:
-