org.springframework.integration.annotation
Annotation Type DefaultOutput


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

Indicates that a method is capable of sending messages. The method must accept a single parameter that is either a Message or an Object to be passed as a message payload. The enclosing class should be annotated with @MessageEndpoint.

Author:
Mark Fisher