|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.jms.consumer.SpoolToJamesMailConsumer
public class SpoolToJamesMailConsumer
Consumes a mail message by sending it to the main JAMES spool for processing.
| Constructor Summary | |
|---|---|
SpoolToJamesMailConsumer(MailServer mailServer,
org.apache.commons.logging.Log log)
|
|
| Method Summary | |
|---|---|
void |
consume(org.apache.mailet.Mail mail)
Consumes the given mail message. |
void |
reportIssue(java.lang.Exception e,
java.lang.Object message)
Reports an exception. |
java.lang.String |
toString()
Renders suitably for logging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpoolToJamesMailConsumer(MailServer mailServer,
org.apache.commons.logging.Log log)
| Method Detail |
|---|
public void consume(org.apache.mailet.Mail mail)
MailConsumer
consume in interface MailConsumer
public void reportIssue(java.lang.Exception e,
java.lang.Object message)
MailConsumer
reportIssue in interface MailConsumere - Exception, not nullmessage - being processedpublic java.lang.String toString()
toString in class java.lang.ObjectString representation
of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||