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