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(org.apache.activemq.broker.region.MessageReference node)
org.apache.activemq.command.Message[]
browse(org.apache.activemq.command.ActiveMQDestination destination)
void
clear()
List
getMessages(org.apache.activemq.command.ActiveMQDestination destination)
Returns the current list of MessageReference objects for the given subscription
-
-
-
Method Detail
-
add
void add(org.apache.activemq.broker.region.MessageReference node)
-
getMessages
List getMessages(org.apache.activemq.command.ActiveMQDestination destination)
Returns the current list of MessageReference objects for the given subscription
-
browse
org.apache.activemq.command.Message[] browse(org.apache.activemq.command.ActiveMQDestination destination)
- Parameters:
destination
-- Returns:
- an array of Messages that match the destination
-
clear
void clear()
-
-