T
- the type of the payload data@FunctionalInterface public interface PayloadHandler<T extends PayloadData>
Modifier and Type | Method and Description |
---|---|
void |
handle(PayloadContext<T> context)
Perform an action on a payload together with its context, which allows access to various gateway resources.
|
void handle(PayloadContext<T> context)
context
- the payload's gateway context