public class OldestMessageEvictionStrategy extends MessageEvictionStrategySupport
Constructor and Description |
---|
OldestMessageEvictionStrategy() |
Modifier and Type | Method and Description |
---|---|
MessageReference[] |
evictMessages(LinkedList messages)
Find the message reference in the given list with oldest messages at the front and newer messages at the end
|
getEvictExpiredMessagesHighWatermark, setEvictExpiredMessagesHighWatermark
public OldestMessageEvictionStrategy()
public MessageReference[] evictMessages(LinkedList messages)
MessageEvictionStrategy
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.