|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpoolManagementMBean
Expose spool management functionality through JMX.
Method Summary | |
---|---|
java.lang.String[] |
listSpoolItems(java.lang.String spoolRepositoryURL,
java.lang.String state,
java.lang.String header,
java.lang.String headerValueRegex)
List mails on the spool matching the given criteria |
int |
moveSpoolItems(java.lang.String srcSpoolRepositoryURL,
java.lang.String srcState,
java.lang.String dstSpoolRepositoryURL,
java.lang.String dstState,
java.lang.String header,
java.lang.String headerValueRegex)
Move all mails from the given repository to another repository matching the given filter criteria |
int |
removeSpoolItems(java.lang.String spoolRepositoryURL,
java.lang.String key,
java.lang.String state,
java.lang.String header,
java.lang.String headerValueRegex)
Removes one specific or all mails from the given spool repository matching the given criteria |
int |
resendSpoolItems(java.lang.String spoolRepositoryURL,
java.lang.String key,
java.lang.String state,
java.lang.String header,
java.lang.String headerValueRegex)
(Re-)tries to send one specific or all mails in the given spool repository matching the given criteria |
Method Detail |
---|
int moveSpoolItems(java.lang.String srcSpoolRepositoryURL, java.lang.String srcState, java.lang.String dstSpoolRepositoryURL, java.lang.String dstState, java.lang.String header, java.lang.String headerValueRegex) throws SpoolManagementException
srcSpoolRepositoryURL
- the spool whose item are listedsrcState
- if not NULL, only mails with matching state are returneddstSpoolRepositoryURL
- the destination spooldstState
- if not NULL, the state will be changed before storing the message to the new repository.header
- if not NULL, only mails with at least one header with a value matching headerValueRegex are returnedheaderValueRegex
- the regular expression the header must match
SpoolManagementException
java.lang.String[] listSpoolItems(java.lang.String spoolRepositoryURL, java.lang.String state, java.lang.String header, java.lang.String headerValueRegex) throws SpoolManagementException
spoolRepositoryURL
- specifies the spoolstate
- only mails in the given state are processed, or ALL if NULLheader
- the header whose value should be checkedheaderValueRegex
- regular expression matched against header value. only matching mails are processed
SpoolManagementException
int removeSpoolItems(java.lang.String spoolRepositoryURL, java.lang.String key, java.lang.String state, java.lang.String header, java.lang.String headerValueRegex) throws SpoolManagementException
spoolRepositoryURL
- specifies the spoolkey
- identifies the item to be removed. if NULL, all items are removedstate
- only mails in the given state are processed, or ALL if NULLheader
- the header whose value should be checkedheaderValueRegex
- regular expression matched against header value. only matching mails are processed
SpoolManagementException
int resendSpoolItems(java.lang.String spoolRepositoryURL, java.lang.String key, java.lang.String state, java.lang.String header, java.lang.String headerValueRegex) throws SpoolManagementException
spoolRepositoryURL
- specifies the spoolkey
- identifies the item to be sent. if NULL, all items with status ERROR are sentstate
- only mails in the given state are processed, or ALL if NULLheader
- the header whose value should be checkedheaderValueRegex
- regular expression matched against header value. only matching mails are processed
SpoolManagementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |