Uses of Class
org.springframework.integration.dsl.PollerSpec
Package
Description
Root package of the Spring Integration Java DSL.
-
Uses of PollerSpec in org.springframework.integration.dsl
Modifier and TypeMethodDescriptionSpecify AOPAdvice
s for thepollingTask
.Create aPollerSpec
based on the provided cron expression.Create aPollerSpec
based on the provided cron expression andTimeZone
.static PollerSpec
Create aPollerSpec
based on the provided cron expression.static PollerSpec
Create aPollerSpec
based on the provided cron expression andTimeZone
.PollerSpec.errorChannel
(String errorChannelName) Specify a bean name for theMessageChannel
to use for sending error message in case of polling failures.PollerSpec.errorChannel
(MessageChannel errorChannel) Specify aMessageChannel
to use for sending error message in case of polling failures.PollerSpec.errorHandler
(ErrorHandler errorHandler) PollerFactory.fixedDelay
(long period) Create aPollerSpec
based on the provided fixed delay period.PollerFactory.fixedDelay
(long period, long initialDelay) Create aPollerSpec
based 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 PollerSpec
PollerFactory.fixedDelay
(Duration period) Create aPollerSpec
based on the provided fixed delay period.static PollerSpec
PollerFactory.fixedDelay
(Duration period, Duration initialDelay) Create aPollerSpec
based on the provided fixed delay period and initial delay .static PollerSpec
Pollers.fixedDelay
(long period) Create aPollerSpec
based on the provided fixed delay period.static PollerSpec
Pollers.fixedDelay
(long period, long initialDelay) Create aPollerSpec
based on the provided fixed delay period and initial delay.static PollerSpec
Pollers.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 PollerSpec
Pollers.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 PollerSpec
Pollers.fixedDelay
(Duration period) Create aPollerSpec
based on the provided fixed delay period.static PollerSpec
Pollers.fixedDelay
(Duration period, Duration initialDelay) Create aPollerSpec
based on the provided fixed delay period and initial delay.PollerFactory.fixedRate
(long period) Create aPollerSpec
based on the provided fixed rate period.PollerFactory.fixedRate
(long period, long initialDelay) Create aPollerSpec
based 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 PollerSpec
Create aPollerSpec
based on the provided fixed rate period.static PollerSpec
Create aPollerSpec
based on the provided fixed rate period and initial delay .static PollerSpec
Pollers.fixedRate
(long period) Create aPollerSpec
based on the provided fixed rate period.static PollerSpec
Pollers.fixedRate
(long period, long initialDelay) Create aPollerSpec
based on the provided fixed rate period and initial delay.static PollerSpec
Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor ofPollers.fixedRate(Duration)
static PollerSpec
Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor ofPollers.fixedRate(Duration, Duration)
static PollerSpec
Create aPollerSpec
based on the provided fixed rate period.static PollerSpec
Create aPollerSpec
based 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 anExecutor
to perform thepollingTask
.PollerSpec.transactional()
Specify aTransactionInterceptor
Advice
with defaultPlatformTransactionManager
andDefaultTransactionAttribute
for thepollingTask
.PollerSpec.transactional
(TransactionInterceptor transactionInterceptor) PollerSpec.transactional
(TransactionManager transactionManager) Specify aTransactionInterceptor
Advice
with the providedPlatformTransactionManager
and defaultDefaultTransactionAttribute
for thepollingTask
.PollerSpec.transactionSynchronizationFactory
(TransactionSynchronizationFactory transactionSynchronizationFactory) Specify theTransactionSynchronizationFactory
to attach aTransactionSynchronization
to the transaction aroundpoll
operation.Create aPollerSpec
based on the providedTrigger
.static PollerSpec
Create aPollerSpec
based on the providedTrigger
.Modifier and TypeMethodDescriptionEndpointSpec.poller
(Function<PollerFactory, PollerSpec> pollers)
PollerFactory.fixedDelay(Duration)