Tuscany Core

org.apache.tuscany.core.message
Interface Message

All Known Implementing Classes:
MessageImpl

public interface Message

Represents a request, response, or exception flowing through a wire

Version:
$Rev $Date

Method Summary
 Object getBody()
          Returns the body of the message, which will be the payload or parameters associated with the wire
 MessageChannel getCallbackChannel()
          Returns the callback channel
 Message getRelatedCallbackMessage()
           
 TargetInvoker getTargetInvoker()
          Sets the target invoker to dispatch to when the message passes through the request side of the invocation chain
 void setBody(Object body)
          Sets the body of the message.
 void setTargetInvoker(TargetInvoker invoker)
          Sets the target invoker to dispatch to when the message passes through the request side of the invocation chain
 

Method Detail

getBody

Object getBody()
Returns the body of the message, which will be the payload or parameters associated with the wire


setBody

void setBody(Object body)
Sets the body of the message.


setTargetInvoker

void setTargetInvoker(TargetInvoker invoker)
Sets the target invoker to dispatch to when the message passes through the request side of the invocation chain


getTargetInvoker

TargetInvoker getTargetInvoker()
Sets the target invoker to dispatch to when the message passes through the request side of the invocation chain


getCallbackChannel

MessageChannel getCallbackChannel()
Returns the callback channel


getRelatedCallbackMessage

Message getRelatedCallbackMessage()

Tuscany Core

-