| Constructor and Description |
|---|
MessageImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getBody()
Returns the body of the message, which will be the payload or parameters associated with the wire.
|
WorkContext |
getWorkContext()
Returns the context associated with this invocation.
|
boolean |
isFault()
Determines if the message represents a fault/exception
|
void |
reset()
Resets the message making it available for reuse.
|
void |
setBody(java.lang.Object body)
Sets the body of the message.
|
void |
setBodyWithFault(java.lang.Object fault)
Set the message body with a fault object.
|
void |
setWorkContext(WorkContext workContext)
Sets the context associated with this invocation.
|
public java.lang.Object getBody()
Messagepublic void setBody(java.lang.Object body)
Messagepublic void setBodyWithFault(java.lang.Object fault)
MessagesetBodyWithFault in interface Messagefault - The fault object represents an exceptionpublic boolean isFault()
Messagepublic WorkContext getWorkContext()
MessagegetWorkContext in interface Messagepublic void setWorkContext(WorkContext workContext)
MessagesetWorkContext in interface MessageworkContext - the context associated with this invocation