Spring Integration

org.springframework.integration.channel
Interface QueueChannelOperations

All Known Implementing Classes:
PriorityChannel, QueueChannel, RendezvousChannel

public interface QueueChannelOperations

Operations available on a channel that has queuing semantics.

Since:
3.0
Author:
Gary Russell

Method Summary
 java.util.List<Message<?>> clear()
          Remove all Messages from this channel.
 int getQueueSize()
          Return the current number of queued Messages in this channel.
 int getRemainingCapacity()
          Return the remaining capacity of this channel.
 java.util.List<Message<?>> purge(MessageSelector selector)
          Remove any Messages that are not accepted by the provided selector.
 

Method Detail

clear

java.util.List<Message<?>> clear()
Remove all Messages from this channel.


purge

java.util.List<Message<?>> purge(MessageSelector selector)
Remove any Messages that are not accepted by the provided selector.


getQueueSize

int getQueueSize()
Return the current number of queued Messages in this channel.


getRemainingCapacity

int getRemainingCapacity()
Return the remaining capacity of this channel.


Spring Integration