|
Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference E14011-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Listener
Method Summary | |
---|---|
void |
onMessage(Message message,
Serializable correlator)
Callback method to process an incoming message. |
void |
onStatus(Status status,
Serializable correlator)
Callback method to process an incoming status. |
Method Detail |
---|
void onMessage(Message message, Serializable correlator) throws ListenerException
message
- The incoming message object.correlator
- The serializable object that was provided during the registerAccessPoint
callback registration. This parameter may be null if no object was provided when the
access point was registered.
ListenerException
- If processing of the message fails in any way, the Listener
may throw a ListenerException, in which case the message will be placed back on the
queue for redelivery.void onStatus(Status status, Serializable correlator) throws ListenerException
status
- The status object.correlator
- The serializable object that was provided during the send callback
registration. This parameter may be null if no object was provided when the message
was sent.
ListenerException
- If processing of the status fails in any way, the Listener
may throw a ListenerException, in which case the status object will be placed
back on the queue for redelivery.
|
Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference E14011-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |