org.springframework.integration.annotation
Annotation Type Pollable


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

Indicates that a method is capable of producing messages. The method must accept no parameters and return either a Message or an Object to be passed as the message payload. The enclosing class may also be annotated with @ChannelAdapter.

Author:
Mark Fisher