com.stc.connector.emailadapter.eway
Interface EmailListener
public interface EmailListener
This is the e-Mail Listener interface.
Message endpoints which can listen for e-Mail message inflow and
can be deployed using the e-Mail Resource Adapter must implement
this interface.
- Version:
- $Version$
- Author:
- $Author: cmbuild $
onEmailMessage
void onEmailMessage(EmailMessage msg)
throws com.stc.connector.framework.eway.FaultException,
com.stc.connector.framework.eway.InboundException
- Process the e-Mail message received.
- Parameters:
msg
- The EmailMessage instance.
- Throws:
com.stc.connector.framework.eway.FaultException
- Thrown if the dispatch results in a handler fault.
com.stc.connector.framework.eway.InboundException
- Thrown if the inbound MDB failed to handle the message.