org.apache.activemq.memory.list
Interface MessageList
- All Known Implementing Classes:
- DestinationBasedMessageList, SimpleMessageList
public interface MessageList
A container of messages which is used to store messages and then
replay them later for a given subscription.
- Version:
- $Revision: 1.1 $
add
void add(MessageReference node)
getMessages
java.util.List getMessages(Subscription sub)
- Returns the current list of MessageReference objects for the given subscription
browse
Message[] browse(ActiveMQDestination destination)
- Parameters:
destination
-
- Returns:
- an array of Messages that match the destination
clear
void clear()
Copyright © 2010 Apache Software Foundation. All Rights Reserved.