|
Oracle Fusion Middleware User Messaging Service 11.1.1.1.0 Java API Reference E14011-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageListener
The message listener interface. A message listener must implement this interface and register itself to Messaging to asynchronously receive messages.
Method Summary | |
---|---|
void |
onMessage(Message message)
Callback method to receive incoming messages. |
Method Detail |
---|
void onMessage(Message message) throws ApplicationNotReadyException, MessagingException
message
- the received Message object.
ApplicationNotReadyException
- if thrown by the listener, Messaging (the
client-side MDB) will attempt to redeliver this message. Thus, an
application can throw this exception in situations where it is
not yet ready to process messages. MessagingException
|
Oracle Fusion Middleware User Messaging Service 11.1.1.1.0 Java API Reference E14011-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |