|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageQuery
Represents some kind of query which will load initial messages from some source for a new topic subscriber.
| Method Summary | |
|---|---|
void |
execute(ActiveMQDestination destination,
javax.jms.MessageListener listener)
Executes the query for messages; each message is passed into the listener |
boolean |
validateUpdate(Message message)
Returns true if the given update is valid and does not overlap with the initial message query. |
| Method Detail |
|---|
void execute(ActiveMQDestination destination,
javax.jms.MessageListener listener)
throws Exception
destination - the destination on which the query is to be performedlistener - is the listener to notify as each message is created or loaded
Exceptionboolean validateUpdate(Message message)
message - the update message which may have been sent before the query actually completed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||