org.springframework.integration.annotation
Annotation Type Polled


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface Polled

Indicates that a method is capable of providing messages. The method must not accept any parameters but can return either a single object or collection. The enclosing class should be annotated with @MessageEndpoint.

Author:
Mark Fisher

Optional Element Summary
 int period
           
 

period

public abstract int period
Default:
1000