|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Message
Represents a request, response, or exception flowing through a wire
Method Summary | ||
---|---|---|
|
getBody()
Returns the body of the message, which will be the payload or parameters associated with the wire |
|
java.lang.String |
getConversationID()
Get the conversation id |
|
ConversationSequence |
getConversationSequence()
Returns the conversational sequence the message is associated with, NONE, START, CONTINUE, or END on TargetInvoker} |
|
java.lang.Object |
getCorrelationID()
Returns the correlation id of the message or null if one is not available. |
|
EndpointReference |
getFrom()
Get the end point reference of the source reference |
|
java.lang.Object |
getMessageID()
Returns the id of the message |
|
EndpointReference |
getTo()
Get the end point reference of target service |
|
boolean |
isFault()
Determines if the message represents a fault/exception |
|
|
setBody(T body)
Sets the body of the message. |
|
void |
setConversationID(java.lang.String conversationId)
Set the conversation id |
|
void |
setConversationSequence(ConversationSequence sequence)
Returns the conversational sequence the message is associated with, NONE, START, CONTINUE, or END |
|
void |
setCorrelationID(java.lang.Object correlationId)
Sets the correlation id of the message. |
|
|
setFaultBody(T fault)
Set the message body with a fault object. |
|
void |
setFrom(EndpointReference from)
Set the end point reference of the reference originating the message |
|
void |
setMessageID(java.lang.Object messageId)
Sets the id of the message |
|
void |
setTo(EndpointReference to)
Set the end point reference of target service |
Method Detail |
---|
<T> T getBody()
<T> void setBody(T body)
body
- The body of the messagejava.lang.String getConversationID()
void setConversationID(java.lang.String conversationId)
conversationId
- The conversation IDEndpointReference getFrom()
void setFrom(EndpointReference from)
from
- The end point reference of the reference originating the messageEndpointReference getTo()
void setTo(EndpointReference to)
to
- The end point reference of the service that the message targetsjava.lang.Object getMessageID()
void setMessageID(java.lang.Object messageId)
messageId
- The message IDjava.lang.Object getCorrelationID()
void setCorrelationID(java.lang.Object correlationId)
correlationId
- The correlation Idboolean isFault()
<T> void setFaultBody(T fault)
fault
- The fault object represents an exceptionConversationSequence getConversationSequence()
void setConversationSequence(ConversationSequence sequence)
sequence
- The conversational sequence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |