Package 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(MessageReference node)
Message[]
browse(ActiveMQDestination destination)
void
clear()
List
getMessages(ActiveMQDestination destination)
Returns the current list of MessageReference objects for the given subscription
-
-
-
Method Detail
-
add
void add(MessageReference node)
-
getMessages
List getMessages(ActiveMQDestination destination)
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()
-
-