com.hs.mail.smtp.spool
Class SmtpMessageConsumer

java.lang.Object
  extended by com.hs.mail.smtp.spool.SmtpMessageConsumer
All Implemented Interfaces:
Consumer, org.springframework.beans.factory.InitializingBean

public class SmtpMessageConsumer
extends Object
implements Consumer, org.springframework.beans.factory.InitializingBean

Since:
Jun 5, 2010
Author:
Won Chul Doh

Field Summary
 
Fields inherited from interface com.hs.mail.smtp.spool.Consumer
CONSUME_ERROR_FAIL, CONSUME_ERROR_KEEP, CONSUME_ERROR_MOVE, CONSUME_SUCCEEDED
 
Constructor Summary
SmtpMessageConsumer()
           
 
Method Summary
 void afterPropertiesSet()
           
 int consume(Watcher watcher, Object stuffs)
           
 void setMailetContext(MailetContext context)
           
 void setMailets(List<Mailet> mailets)
           
 void setRetryDelayTime(long delayTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmtpMessageConsumer

public SmtpMessageConsumer()
Method Detail

setRetryDelayTime

public void setRetryDelayTime(long delayTime)

setMailetContext

public void setMailetContext(MailetContext context)

setMailets

public void setMailets(List<Mailet> mailets)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

consume

public int consume(Watcher watcher,
                   Object stuffs)
Specified by:
consume in interface Consumer


Copyright © 2011. All Rights Reserved.