@Target(value={METHOD,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface BridgeFrom
Bean
method for a MessageChannel to produce a
BridgeHandler and Consumer Endpoint.
The inputChannel for the AbstractEndpoint
is the value() of this annotation and determines the type of endpoint -
EventDrivenConsumer or
PollingConsumer.
The MessageChannel Bean
is used as the outputChannel of the BridgeHandler.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value |
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
autoStartup |
java.lang.String |
phase |
Poller[] |
poller |
public abstract java.lang.String value
BridgeHandlerpublic abstract Poller[] poller
Poller options for a polled endpoint
(PollerMetadata).
This attribute is an array just to allow an empty default (no poller).
Only one Poller element is allowed.