Uses of Class
org.springframework.integration.dsl.PollerSpec
Packages that use PollerSpec
Package
Description
Root package of the Spring Integration Java DSL.
-
Uses of PollerSpec in org.springframework.integration.dsl
Methods in org.springframework.integration.dsl that return PollerSpecModifier and TypeMethodDescriptionSpecify AOPAdvices for thepollingTask.Create aPollerSpecbased on the provided cron expression.Create aPollerSpecbased on the provided cron expression andTimeZone.static PollerSpecCreate aPollerSpecbased on the provided cron expression.static PollerSpecCreate aPollerSpecbased on the provided cron expression andTimeZone.PollerSpec.errorChannel(String errorChannelName) Specify a bean name for theMessageChannelto use for sending error message in case of polling failures.PollerSpec.errorChannel(MessageChannel errorChannel) Specify aMessageChannelto use for sending error message in case of polling failures.PollerSpec.errorHandler(ErrorHandler errorHandler) PollerFactory.fixedDelay(long period) Create aPollerSpecbased on the provided fixed delay period.PollerFactory.fixedDelay(long period, long initialDelay) Create aPollerSpecbased on the provided fixed delay period and initial delay.PollerFactory.fixedDelay(long period, TimeUnit timeUnit) Deprecated, for removal: This API element is subject to removal in a future version.PollerFactory.fixedDelay(long period, TimeUnit timeUnit, long initialDelay) Deprecated, for removal: This API element is subject to removal in a future version.since 6.1 in favor ofPollerFactory.fixedDelay(Duration, Duration)static PollerSpecPollerFactory.fixedDelay(Duration period) Create aPollerSpecbased on the provided fixed delay period.static PollerSpecPollerFactory.fixedDelay(Duration period, Duration initialDelay) Create aPollerSpecbased on the provided fixed delay period and initial delay .static PollerSpecPollers.fixedDelay(long period) Create aPollerSpecbased on the provided fixed delay period.static PollerSpecPollers.fixedDelay(long period, long initialDelay) Create aPollerSpecbased on the provided fixed delay period and initial delay.static PollerSpecPollers.fixedDelay(long period, TimeUnit timeUnit) Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor ofPollers.fixedDelay(Duration)static PollerSpecPollers.fixedDelay(long period, TimeUnit timeUnit, long initialDelay) Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor ofPollers.fixedDelay(Duration, Duration)static PollerSpecPollers.fixedDelay(Duration period) Create aPollerSpecbased on the provided fixed delay period.static PollerSpecPollers.fixedDelay(Duration period, Duration initialDelay) Create aPollerSpecbased on the provided fixed delay period and initial delay.PollerFactory.fixedRate(long period) Create aPollerSpecbased on the provided fixed rate period.PollerFactory.fixedRate(long period, long initialDelay) Create aPollerSpecbased on the provided fixed rate period and initial delay.Deprecated, for removal: This API element is subject to removal in a future version.since 6.1 in favor ofPollerFactory.fixedRate(Duration)Deprecated, for removal: This API element is subject to removal in a future version.since 6.1 in favor ofPollerFactory.fixedRate(Duration, Duration)static PollerSpecCreate aPollerSpecbased on the provided fixed rate period.static PollerSpecCreate aPollerSpecbased on the provided fixed rate period and initial delay .static PollerSpecPollers.fixedRate(long period) Create aPollerSpecbased on the provided fixed rate period.static PollerSpecPollers.fixedRate(long period, long initialDelay) Create aPollerSpecbased on the provided fixed rate period and initial delay.static PollerSpecDeprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor ofPollers.fixedRate(Duration)static PollerSpecDeprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor ofPollers.fixedRate(Duration, Duration)static PollerSpecCreate aPollerSpecbased on the provided fixed rate period.static PollerSpecCreate aPollerSpecbased on the provided fixed rate period and initial delay.PollerSpec.maxMessagesPerPoll(long maxMessagesPerPoll) PollerSpec.receiveTimeout(long receiveTimeout) Specify a timeout in milliseconds to wait for a message in theMessageChannel.PollerSpec.sendTimeout(long sendTimeout) PollerSpec.taskExecutor(Executor taskExecutor) Specify anExecutorto perform thepollingTask.PollerSpec.transactional()Specify aTransactionInterceptorAdvicewith defaultPlatformTransactionManagerandDefaultTransactionAttributefor thepollingTask.PollerSpec.transactional(TransactionInterceptor transactionInterceptor) PollerSpec.transactional(TransactionManager transactionManager) Specify aTransactionInterceptorAdvicewith the providedPlatformTransactionManagerand defaultDefaultTransactionAttributefor thepollingTask.PollerSpec.transactionSynchronizationFactory(TransactionSynchronizationFactory transactionSynchronizationFactory) Specify theTransactionSynchronizationFactoryto attach aTransactionSynchronizationto the transaction aroundpolloperation.Create aPollerSpecbased on the providedTrigger.static PollerSpecCreate aPollerSpecbased on the providedTrigger.Methods in org.springframework.integration.dsl with parameters of type PollerSpecMethod parameters in org.springframework.integration.dsl with type arguments of type PollerSpecModifier and TypeMethodDescriptionEndpointSpec.poller(Function<PollerFactory, PollerSpec> pollers)
PollerFactory.fixedDelay(Duration)