Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

oracle.sdp.messaging
Interface MessageListener


Deprecated. 11.1.1.3.0

@Deprecated
public interface MessageListener

The message listener interface. A message listener must implement this interface and register itself to Messaging to asynchronously receive messages.

Since:
11.0.0

Method Summary
 void onMessage(Message message)
          Deprecated. Use Listener.onMessage(Message, java.io.Serializable) instead
 

Method Detail

onMessage

@Deprecated
void onMessage(Message message)
               throws ApplicationNotReadyException,
                      MessagingException
Deprecated. Use Listener.onMessage(Message, java.io.Serializable) instead

Callback method to receive incoming messages.

Parameters:
message - the received Message object.
Throws:
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.
There is a nominal retry interval of a few seconds between redelivery attempts. The number of retry attempts is configurable via the client-side MDB's MaxDeliveryCnt configuration property.
MessagingException

Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.