|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.scalagent.joram.mom.dest.mail.MailDistribution
public class MailDistribution
Field Summary | |
---|---|
static org.objectweb.util.monolog.api.Logger |
logger
|
Constructor Summary | |
---|---|
MailDistribution()
|
Method Summary | |
---|---|
void |
close()
Closes this handler and releases any system resources associated to it. |
void |
distribute(Message message)
Distributes the given message outside of the JORAM server. |
void |
init(java.util.Properties properties)
Configures the handler with the given properties. |
void |
sendJavaMail(Message message)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
---|
public MailDistribution()
Method Detail |
---|
public void distribute(Message message) throws java.lang.Exception
DistributionHandler
distribute
in interface DistributionHandler
message
- the message to distribute
java.lang.Exception
- if the message could not be distributed. The message will
be forwarded to a DMQ, if any.public void init(java.util.Properties properties)
DistributionHandler
init
in interface DistributionHandler
properties
- The initial set of properties.public void sendJavaMail(Message message) throws java.lang.Exception
java.lang.Exception
public void close()
DistributionHandler
close
in interface DistributionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |