com.goldeninnovations.smp.messageprocessor
Class ConsoleMessageProcessor

java.lang.Object
  extended by com.goldeninnovations.smp.messageprocessor.ConsoleMessageProcessor
All Implemented Interfaces:
MessageProcessor

public class ConsoleMessageProcessor
extends Object
implements MessageProcessor

Writes all incoming emails to the console via System.out.


Constructor Summary
ConsoleMessageProcessor()
           
 
Method Summary
 void processMessage(EmailMessage emailMessage)
          Called when an email message has been received and is ready for processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleMessageProcessor

public ConsoleMessageProcessor()
Method Detail

processMessage

public void processMessage(EmailMessage emailMessage)
Description copied from interface: MessageProcessor
Called when an email message has been received and is ready for processing.

Specified by:
processMessage in interface MessageProcessor
Parameters:
emailMessage - the email message to process.


Copyright © 2010 Eric Daugherty. All Rights Reserved.