|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the boundary interface through which messages are exchanged. This interface supports both push and pull models for receiving inbound messages.
Method Summary | |
void |
clearProperties()
|
MessageExchangeEventListener |
getMessageExchangeEventListener()
|
java.util.Map |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String propertyId)
|
java.lang.Object |
getProperty(java.lang.String propertyId,
java.lang.Object defaultValue)
|
MessageContext |
receive()
Waits indefinitely for a message to be received (blocking) |
MessageContext |
receive(long timeout)
Waits the specified amount of time for a message to be received (blocking) |
MessageContext |
receive(MessageExchangeCorrelator correlator)
Waits indefinitely for a message matching the specified correlator (blocking) |
MessageContext |
receive(MessageExchangeCorrelator correlator,
long timeout)
Waits the specified amount of time for a message matching the specified correlator (blocking) |
void |
receive(MessageExchangeCorrelator correlator,
MessageExchangeEventListener listener)
Registers a listener for receiving messages (nonblocking) |
void |
receive(MessageExchangeEventListener listener)
Registers a listener for receiving messages (nonblocking) |
MessageExchangeCorrelator |
send(MessageContext context)
Send an outbound message. |
MessageExchangeCorrelator |
send(MessageContext context,
MessageExchangeEventListener listener)
Send an outbound message. |
MessageContext |
sendAndReceive(MessageContext context)
Synchronized send and receive |
MessageContext |
sendAndReceive(MessageContext context,
long timeout)
Synchronized send and receive with timeout |
void |
setMessageExchangeEventListener(MessageExchangeEventListener listener)
|
void |
setProperties(java.util.Map properties)
|
void |
setProperty(java.lang.String propertyId,
java.lang.Object propertyValue)
|
Methods inherited from interface org.apache.axis.ime.FeatureEnabled |
disableFeature, enableFeature, getSupportedFeatures, isFeatureEnabled |
Method Detail |
public MessageExchangeCorrelator send(MessageContext context) throws AxisFault
MessageContext
- The Axis MessageContext being sentAxisFault
- public MessageExchangeCorrelator send(MessageContext context, MessageExchangeEventListener listener) throws AxisFault
MessageContext
- The Axis MessageContext being sentMessageContextListener
- The listener to which responses, faults, and status updates should be deliveredAxisFault
- public MessageContext receive() throws AxisFault
AxisFault
- public MessageContext receive(long timeout) throws AxisFault
long
- The amount of time (ms) to waitAxisFault
- public MessageContext receive(MessageExchangeCorrelator correlator) throws AxisFault
MessageExchangeCorrelator
- AxisFault
- public MessageContext receive(MessageExchangeCorrelator correlator, long timeout) throws AxisFault
MessageExchangeCorrelator
- long
- timeoutAxisFault
- public void receive(MessageExchangeEventListener listener) throws AxisFault
MessageContextListener
- AxisFault
- public void receive(MessageExchangeCorrelator correlator, MessageExchangeEventListener listener) throws AxisFault
MessageExchangeCorrelator
- MessageContextListener
- AxisFault
- public MessageContext sendAndReceive(MessageContext context) throws AxisFault
MessageContext
- The MessageContext to sendAxisFault
- public MessageContext sendAndReceive(MessageContext context, long timeout) throws AxisFault
MessageContext
- The MessageContext to sendlong
- The length of time (ms) to wait for a response. If a response is not received within the specified amount of time, an AxisFault indicating timeout must be thrownAxisFault
- public void setMessageExchangeEventListener(MessageExchangeEventListener listener)
public MessageExchangeEventListener getMessageExchangeEventListener()
public void setProperty(java.lang.String propertyId, java.lang.Object propertyValue)
String
- The id of the propertyObject
- The value of the propertypublic java.lang.Object getProperty(java.lang.String propertyId)
String
- The id of the propertypublic java.lang.Object getProperty(java.lang.String propertyId, java.lang.Object defaultValue)
String
- The id of the propertyObject
- The default value of the propertypublic java.util.Map getProperties()
public void setProperties(java.util.Map properties)
java.lang.Map
- The collection of propertiespublic void clearProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |