public interface PayloadEndpoint
The main entrypoint is invoke(Source)
, which gets invoked with the contents of the requesting message.
Modifier and Type | Method and Description |
---|---|
Source |
invoke(Source request)
Invokes the endpoint with the given request payload, and possibly returns a response.
|
Source invoke(Source request) throws Exception
request
- the payload of the request message, may be null
null
to indicate no responseException
- if an exception occurs