Package | Description |
---|---|
org.apache.james.queue.activemq | |
org.apache.james.queue.api | |
org.apache.james.queue.file | |
org.apache.james.queue.jms |
Modifier and Type | Method and Description |
---|---|
void |
ActiveMQMailQueueItem.done(boolean success) |
long |
ActiveMQMailQueue.getSize()
Try to use ActiveMQ StatisticsPlugin to get size and if that fails
fallback to
JMSMailQueue.getSize() |
List<javax.jms.Message> |
ActiveMQMailQueue.removeWithSelector(String selector) |
Modifier and Type | Method and Description |
---|---|
ManageableMailQueue.MailQueueIterator |
ManageableMailQueue.browse()
Allow to browse the queues content.
|
long |
ManageableMailQueue.clear()
Remove all mails from the queue
|
MailQueue.MailQueueItem |
MailQueue.deQueue()
Dequeue the next ready-to-process Mail of the queue.
|
void |
MailQueue.MailQueueItem.done(boolean success)
Callback which MUST get called after the operation on the dequeued
Mail was complete. |
void |
MailQueue.enQueue(org.apache.mailet.Mail mail)
Enqueue the Mail to the queue
|
void |
MailQueue.enQueue(org.apache.mailet.Mail mail,
long delay,
TimeUnit unit)
Enqueue the Mail to the queue.
|
long |
ManageableMailQueue.flush()
Flush the queue, which means it will make all message ready for dequeue
|
long |
ManageableMailQueue.getSize()
Return the size of the queue
|
long |
ManageableMailQueue.remove(ManageableMailQueue.Type type,
String value)
Remove all mails from the queue that match
|
Modifier and Type | Method and Description |
---|---|
ManageableMailQueue.MailQueueIterator |
FileMailQueue.browse() |
long |
FileMailQueue.clear() |
MailQueue.MailQueueItem |
FileMailQueue.deQueue() |
void |
FileMailQueue.enQueue(org.apache.mailet.Mail mail) |
void |
FileMailQueue.enQueue(org.apache.mailet.Mail mail,
long delay,
TimeUnit unit) |
long |
FileMailQueue.flush() |
long |
FileMailQueue.getSize() |
long |
FileMailQueue.remove(ManageableMailQueue.Type type,
String value)
TODO: implement me
|
Modifier and Type | Method and Description |
---|---|
ManageableMailQueue.MailQueueIterator |
JMSMailQueue.browse() |
long |
JMSMailQueue.clear() |
MailQueue.MailQueueItem |
JMSMailQueue.deQueue()
Dequeues a mail when it is ready to process.
|
void |
JMSMailQueueItem.done(boolean success) |
void |
JMSMailQueue.enQueue(org.apache.mailet.Mail mail) |
void |
JMSMailQueue.enQueue(org.apache.mailet.Mail mail,
long delay,
TimeUnit unit) |
long |
JMSMailQueue.flush() |
long |
JMSMailQueue.getSize() |
long |
JMSMailQueue.remove(ManageableMailQueue.Type type,
String value) |
List<javax.jms.Message> |
JMSMailQueue.removeWithSelector(String selector)
Remove messages with the given selector
|
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.