public interface MessageMediator
MessageMediator
is a central repository for artifacts
associated with an individual message.Modifier and Type | Method and Description |
---|---|
void |
finishSendingRequest()
Used to send the message (or its last fragment).
|
Broker |
getBroker()
The
Broker associated
with an invocation. |
Connection |
getConnection()
Get the
Connection
on which this message is sent or received. |
ContactInfo |
getContactInfo()
Get the
ContactInfo
which created this MessageMediator . |
InputObject |
getInputObject()
Used to get the
InputObject
used for the message. |
OutputObject |
getOutputObject()
Used to get the
OutputObject
used for the message. |
void |
initializeMessage()
Used to initialize message headers.
|
void |
setInputObject(InputObject inputObject)
Used to set the
InputObject
used for the message. |
void |
setOutputObject(OutputObject outputObject)
Used to set the
OutputObject
used for the message. |
InputObject |
waitForResponse()
Deprecated.
|
ContactInfo getContactInfo()
ContactInfo
which created this MessageMediator
.ContactInfo
Connection getConnection()
Connection
on which this message is sent or received.void initializeMessage()
RequestDispatcher
.void finishSendingRequest()
RequestDispatcher
.@Deprecated InputObject waitForResponse()
void setOutputObject(OutputObject outputObject)
OutputObject
used for the message.outputObject
- OutputObject getOutputObject()
OutputObject
used for the message.OutputObject
void setInputObject(InputObject inputObject)
InputObject
used for the message.inputObject
- InputObject getInputObject()
InputObject
used for the message.InputObject
Copyright © 2017 JBoss by Red Hat. All rights reserved.