public interface MessageEndpoint
The main entrypoint is invoke(MessageContext)
, which gets invoked with the message context. This context
contains the request
, and can be used to create a response.
PayloadEndpoint
Modifier and Type | Method and Description |
---|---|
void |
invoke(MessageContext messageContext)
Invokes an operation.
|
void invoke(MessageContext messageContext) throws Exception
The given messageContext
can be used to create a response.
messageContext
- the message contextException
- if an exception occursCopyright © 2018 Pivotal Software. All rights reserved.