public class MemoryQueueImpl<E> extends AbstractMemoryQueue<E,MemoryQueueEntry<E>>
Constructor and Description |
---|
MemoryQueueImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
acknowledge(MemoryQueueEntry<E> entry) |
java.lang.String |
getUrl()
Returns the configuration URL.
|
MemoryQueueEntry<E> |
writeEntry(java.lang.String msgId,
E payload,
int priority,
long expireTime)
Adds the message to the persistent store.
|
acknowledge, addMessageCallback, addQueueEntry, dispatchMessage, getBrowserList, getConsumerCount, getMessageIds, getQueueSize, getQueueSizeMax, getReceiverCount, hasMessage, listen, readEntry, readEntry, readPayload, receive, receiveEntry, receiveEntry, removeEntry, removeMessageCallback, rollback, send, setQueueSizeMax
addListenerException, close, drainTo, drainTo, getListenerFailCountTotal, getListenerFailLastTime, init, iterator, offer, offer, peek, poll, poll, postConstruct, put, receive, receive, remainingCapacity, setQueueName, size, take
generateMessageID, generateMessageID, getJMSDestination, getName, getQueueName, getTopicName, setName, setSerializationHandle, toString
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getQueueName, toString
public java.lang.String getUrl()
getUrl
in class AbstractDestination<E>
public MemoryQueueEntry<E> writeEntry(java.lang.String msgId, E payload, int priority, long expireTime)
writeEntry
in class AbstractMemoryQueue<E,MemoryQueueEntry<E>>
protected void acknowledge(MemoryQueueEntry<E> entry)
acknowledge
in class AbstractMemoryQueue<E,MemoryQueueEntry<E>>