org.springframework.integration.annotation
Annotation Type Poller
@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface Poller
Annotation that can be specified at class-level alongside a
@MessageEndpoint
annotation in order to provide the
polling metadata and scheduling information for that endpoint.
- Author:
- Mark Fisher
Required Element Summary |
int |
period
|
period
public abstract int period
initialDelay
public abstract long initialDelay
- Default:
- 0L
fixedRate
public abstract boolean fixedRate
- Default:
- false
timeUnit
public abstract java.util.concurrent.TimeUnit timeUnit
- Default:
- MILLISECONDS
maxMessagesPerPoll
public abstract int maxMessagesPerPoll
- Default:
- -1