public interface MessageQueueAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
addDiscardListener(MessageQueue.DiscardListener listener) |
void |
clear() |
void |
enqeue(Message message) |
Message[] |
getAllMessages() |
Message[] |
getAtLeastMessages(int min) |
String |
getDiscardPolicyName() |
Message |
getMessageBlocking() |
Message |
getMessageNoBlock() |
String |
getOrderPolicyName() |
int |
getPendingMessagesCount() |
Message[] |
getUpToMessages(int max) |
boolean |
hasPendingMessages() |
void |
removeDiscardListener(MessageQueue.DiscardListener listener) |
void addDiscardListener(MessageQueue.DiscardListener listener)
void removeDiscardListener(MessageQueue.DiscardListener listener)
void enqeue(Message message) throws InterruptedException
InterruptedExceptionboolean hasPendingMessages()
throws InterruptedException
InterruptedExceptionint getPendingMessagesCount()
throws InterruptedException
InterruptedExceptionMessage getMessageBlocking() throws InterruptedException
InterruptedExceptionMessage getMessageNoBlock() throws InterruptedException
InterruptedExceptionMessage[] getAllMessages() throws InterruptedException
InterruptedExceptionMessage[] getUpToMessages(int max) throws InterruptedException
InterruptedExceptionMessage[] getAtLeastMessages(int min) throws InterruptedException
InterruptedExceptionvoid clear()
String getDiscardPolicyName()
String getOrderPolicyName()
Copyright © 2015 JacORB. All rights reserved.