public interface MailQueueManagementMBean
| Modifier and Type | Method and Description |
|---|---|
List<CompositeData> |
browse()
Allow to browse the content of the queue
|
long |
clear()
Clear the queue
|
long |
flush()
Flush queue to make every Mail ready to consume.
|
long |
getSize()
Return the size of the queue or -1 if the size could not get calculated
|
long |
removeWithName(String name)
Remove mail with name from the queue
|
long |
removeWithRecipient(String address)
Remove mail with specific recipient from the queue
|
long |
removeWithSender(String address)
Remove mail with specific sender from the queue
|
long getSize()
throws Exception
Exceptionlong flush()
throws Exception
Exceptionlong clear()
throws Exception
Exceptionlong removeWithName(String name) throws Exception
Exceptionlong removeWithSender(String address) throws Exception
Exceptionlong removeWithRecipient(String address) throws Exception
ExceptionList<CompositeData> browse() throws Exception
ExceptionCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.