public interface RequestResponseTransport
Modifier and Type | Interface and Description |
---|---|
static class |
RequestResponseTransport.RequestResponseTransportStatus
Used to give the current status of the RequestResponseTransport object.
|
Modifier and Type | Field and Description |
---|---|
static String |
HOLD_RESPONSE
If this property is set to true in a message transport will call the awaitResponse method
of the RequestResponseTransport instead of returning.
|
static String |
TRANSPORT_CONTROL |
Modifier and Type | Method and Description |
---|---|
void |
acknowledgeMessage(MessageContext msgContext)
Notify the transport that a message should be acknowledged at this time.
|
void |
awaitResponse()
Pause execution and wait for a response message to be ready.
|
RequestResponseTransport.RequestResponseTransportStatus |
getStatus()
This gives the current status of an RequestResponseTransport object.
|
boolean |
isResponseWritten()
This will indicate whether or not the response has already been written
|
void |
setResponseWritten(boolean responseWritten)
This is used to set the response written flag on the RequestResponseTransport
instance
|
void |
signalFaultReady(AxisFault fault)
This will tell the transport to end a current wait by raising the given fault.
|
void |
signalResponseReady()
Signal that a response has be created and is ready for transmission.
|
static final String TRANSPORT_CONTROL
static final String HOLD_RESPONSE
void acknowledgeMessage(MessageContext msgContext) throws AxisFault
msgContext
- AxisFault
void awaitResponse() throws InterruptedException, AxisFault
InterruptedException
AxisFault
void signalResponseReady()
void signalFaultReady(AxisFault fault)
fault
- The fault to be raised.RequestResponseTransport.RequestResponseTransportStatus getStatus()
boolean isResponseWritten()
void setResponseWritten(boolean responseWritten)
Copyright © The Apache Software Foundation. All Rights Reserved.