public interface IBlaubotMessagePickerStrategy
Modifier and Type | Field and Description |
---|---|
static long |
POLL_TIMEOUT
The default timeout for polling operations on the blocking queue.
|
Modifier and Type | Method and Description |
---|---|
BlaubotChannelConfig.MessagePickerStrategy |
getConstant() |
BlaubotMessage |
pickNextMessage(java.util.concurrent.BlockingQueue<BlaubotMessage> messageQueue)
Picks a message from the given queue.
|
static final long POLL_TIMEOUT
BlaubotMessage pickNextMessage(java.util.concurrent.BlockingQueue<BlaubotMessage> messageQueue)
messageQueue
- the queue to pick the next message fromBlaubotChannelConfig.MessagePickerStrategy getConstant()