Class OldestMessageEvictionStrategy

    • Constructor Detail

      • OldestMessageEvictionStrategy

        public OldestMessageEvictionStrategy()
    • Method Detail

      • evictMessages

        public org.apache.activemq.broker.region.MessageReference[] evictMessages​(LinkedList messages)
        Description copied from interface: MessageEvictionStrategy
        Find the message reference in the given list with oldest messages at the front and newer messages at the end
        Returns:
        the message that has been evicted.