|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmsMessageListener
This interface specifies methods to enable asynchronously delivery of messages to clients.
Method Summary | |
---|---|
boolean |
onMessage(MessageImpl message)
Deliver a message. |
void |
onMessageAvailable()
Inform the session that there is a message available for a synchronous consumer. |
Method Detail |
---|
boolean onMessage(MessageImpl message) throws java.rmi.RemoteException
message
- the message to deliver
true
if the message was delivered; otherwise
false
.
java.rmi.RemoteException
- if the message can't be deliveredvoid onMessageAvailable() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |