Spring Integration

org.springframework.integration.aop
Annotation Type Publisher


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface Publisher

Annotation to indicate that a method, or all public methods if applied at class-level, should publish Messages. The @Payload and @Header annotations can be used in conjunction with this to determine the content of the Message.

Since:
2.0
Author:
Mark Fisher

Optional Element Summary
 String channel
          Name of the Message Channel to which Messages will be published.
 

channel

public abstract String channel
Name of the Message Channel to which Messages will be published.

Default:
""

Spring Integration

Copyright © 2010. All Rights Reserved.