Class SourcePollingChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<SourcePollingChannelAdapterSpec, reactor.util.function.Tuple2<SourcePollingChannelAdapterFactoryBean, MessageSource<?>>>
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 SummaryFields inherited from class org.springframework.integration.dsl.EndpointSpeccomponentsToRegister, endpointFactoryBean, handlerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedSourcePollingChannelAdapterSpec(MessageSource<?> messageSource) 
- 
Method SummaryModifier and TypeMethodDescriptionautoStartup(boolean autoStartup) phase(int phase) poller(@Nullable PollerMetadata pollerMetadata) Specify the role for the endpoint.sendTimeout(long sendTimeout) The timeout for blocking send on channels.taskScheduler(TaskScheduler taskScheduler) Set aTaskSchedulerfor polling tasks.Methods inherited from class org.springframework.integration.dsl.EndpointSpecassertHandler, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
SourcePollingChannelAdapterSpec
 
- 
- 
Method Details- 
phase- Specified by:
- phasein class- EndpointSpec<SourcePollingChannelAdapterSpec, SourcePollingChannelAdapterFactoryBean, MessageSource<?>>
- Parameters:
- phase- the phase.
- Returns:
- the endpoint spec.
- See Also:
 
- 
autoStartup- Specified by:
- autoStartupin class- EndpointSpec<SourcePollingChannelAdapterSpec, SourcePollingChannelAdapterFactoryBean, MessageSource<?>>
- Parameters:
- autoStartup- the autoStartup.
- Returns:
- the endpoint spec
- See Also:
 
- 
poller- Specified by:
- pollerin class- EndpointSpec<SourcePollingChannelAdapterSpec, SourcePollingChannelAdapterFactoryBean, MessageSource<?>>
- Parameters:
- pollerMetadata- the pollerMetadata
- Returns:
- the endpoint spec.
- See Also:
 
- 
roleDescription copied from class:EndpointSpecSpecify the role for the endpoint. Such endpoints can be started/stopped as a group.- Specified by:
- rolein class- EndpointSpec<SourcePollingChannelAdapterSpec, SourcePollingChannelAdapterFactoryBean, MessageSource<?>>
- Parameters:
- role- the role for this endpoint.
- Returns:
- the endpoint spec
- See Also:
 
- 
taskSchedulerSet aTaskSchedulerfor polling tasks.- Parameters:
- taskScheduler- the- TaskSchedulerfor polling tasks.
- Returns:
- the spec
- Since:
- 6.4
 
- 
sendTimeoutThe timeout for blocking send on channels.- Parameters:
- sendTimeout- the timeout to use.
- Returns:
- the spec.
- Since:
- 6.3.9
 
 
-