org.springframework.integration.annotation
Annotation Type ChannelAdapter


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

Indicates that a method is capable of serving as a message channel. If the method accepts no arguments but does define a non-void return type, an inbound Channel Adapter will be created. If the method does accept an argument and has a void return, an outbound Channel Adapter will be created. If the method does not conform to either contract, an Exception will be thrown.

Author:
Mark Fisher

Required Element Summary
 java.lang.String value
          The name of the channel being adapted.
 

Element Detail

value

public abstract java.lang.String value
The name of the channel being adapted. If the channel name is not resolvable, a new channel will be created.