public interface QueueChannelOperations
Modifier and Type | Method and Description |
---|---|
List<Message<?>> |
clear()
Remove all
Messages from this channel. |
int |
getQueueSize()
Obtain the current number of queued
Messages in this channel. |
int |
getRemainingCapacity()
Obtain the remaining capacity of this channel.
|
List<Message<?>> |
purge(MessageSelector selector)
Remove any
Messages that are not accepted by the provided selector. |
List<Message<?>> clear()
Messages
from this channel.List<Message<?>> purge(@Nullable MessageSelector selector)
Messages
that are not accepted by the provided selector.selector
- The message selector.@ManagedAttribute(description="Queue size") int getQueueSize()
Messages
in this channel.Messages
in this channel.@ManagedAttribute(description="Queue remaining capacity") int getRemainingCapacity()