public class OldestMessageEvictionStrategy extends MessageEvictionStrategySupport
| Constructor and Description |
|---|
OldestMessageEvictionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
MessageReference[] |
evictMessages(java.util.LinkedList messages)
Find the message reference in the given list with oldest messages at the front and newer messages at the end
|
getEvictExpiredMessagesHighWatermark, setEvictExpiredMessagesHighWatermarkpublic MessageReference[] evictMessages(java.util.LinkedList messages)
MessageEvictionStrategyCopyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.