|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SEMAINEMessageAvailableListener
Method Summary | |
---|---|
void |
messageAvailableFrom(Receiver receiver)
This method is called when a SEMAINE message is received by a receiver, from the receiver's thread. |
Method Detail |
---|
void messageAvailableFrom(Receiver receiver)
Receiver.getMessage()
method. The receiver will block until getMessage() has been called.
The listener can decide whether to get the message immediately or
to put the receiver in a queue until the listener is ready to process.
For slow components, the second option avoids piling up messages;
instead, they may be discarded by the JMS server if their time to live
is exceeded.
receiver
- the receiver that has a message available.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |