@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface EventSourceConsumer
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
eventSource
In some situations there might be multiple EventSource beans for a single event stream.
|
java.lang.Class<?> |
payloadType
The type of the
Message.getPayload() produced by the EventSource |
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
keyPattern
The regex pattern to filter events by their of that the consumer should receive.
|
public abstract java.lang.String eventSource
public abstract java.lang.Class<?> payloadType
Message.getPayload() produced by the EventSource