Class DestinationBasedMessageList

    • Method Detail

      • add

        public void add​(org.apache.activemq.broker.region.MessageReference node)
        Specified by:
        add in interface MessageList
      • getMessages

        public List<org.apache.activemq.broker.region.MessageReference> getMessages​(org.apache.activemq.command.ActiveMQDestination destination)
        Description copied from interface: MessageList
        Returns the current list of MessageReference objects for the given subscription
        Specified by:
        getMessages in interface MessageList
      • browse

        public org.apache.activemq.command.Message[] browse​(org.apache.activemq.command.ActiveMQDestination destination)
        Specified by:
        browse in interface MessageList
        Returns:
        an array of Messages that match the destination