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

    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
     
    getMessages(org.apache.activemq.command.ActiveMQDestination destination)
    Returns the current list of MessageReference objects for the given subscription
  • Method Details

    • 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()