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
Exception
long flush() throws Exception
Exception
long clear() throws Exception
Exception
long removeWithName(String name) throws Exception
Exception
long removeWithSender(String address) throws Exception
Exception
long removeWithRecipient(String address) throws Exception
Exception
List<CompositeData> browse() throws Exception
Exception
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.