AdroitLogic UltraESB v1.7.0

org.adroitlogic.ultraesb.transport.mail
Class MailTransportListener

java.lang.Object
  extended by org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
      extended by org.adroitlogic.ultraesb.transport.base.AbstractTransportListener
          extended by org.adroitlogic.ultraesb.transport.base.AbstractPollingTransportListener
              extended by org.adroitlogic.ultraesb.transport.mail.MailTransportListener
All Implemented Interfaces:
ConfigurationElement, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware

public class MailTransportListener
extends org.adroitlogic.ultraesb.transport.base.AbstractPollingTransportListener

The Email transport listener supporting POP3 and IMAP both with and without SSL

Most of the email transport configuration is performed at the transport configuration section of the Proxy service using the email transport. However, the standard Java POP3 or IMAP properties could be set at the email listener level (See sample # 501). Proxy services are triggered either on a specified cron expression, or as per specified {ultra.polling.start_delay, ultra.polling.repeat_interval, [ultra.polling.repeat_count]}

The available properties are as follows:

Each Proxy service must define the service specific mail.pop3 or mail.imap properties such as:

e.g. see sample # 501


Nested Class Summary
 
Nested classes/interfaces inherited from class org.adroitlogic.ultraesb.transport.base.AbstractPollingTransportListener
org.adroitlogic.ultraesb.transport.base.AbstractPollingTransportListener.PollingJob
 
Nested classes/interfaces inherited from interface org.adroitlogic.ultraesb.api.ConfigurationElement
ConfigurationElement.State
 
Field Summary
 
Fields inherited from class org.adroitlogic.ultraesb.transport.base.AbstractTransportListener
metrics, properties, transportName
 
Fields inherited from class org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
config, ctx, debugOn, derivedName, id, outdated, state
 
Constructor Summary
MailTransportListener()
          Default constructor
MailTransportListener(int threads)
          Constructor specifying the number of threads to allocate
 
Method Summary
 
Methods inherited from class org.adroitlogic.ultraesb.transport.base.AbstractPollingTransportListener
customizeJobDataMap, execute, maintenanceShutdown, onPoll, pause, registerProxyService, resume, start, stop, unregisterProxyService
 
Methods inherited from class org.adroitlogic.ultraesb.transport.base.AbstractTransportListener
getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getDetails, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getReceiveErrorCodeTable, getSendErrorCodeTable, getTimeoutsReceiving, getTimeoutsSending, init, resetStatistics, setProperties, toBasicView, toDetailedView, toDetailedViewExt
 
Methods inherited from class org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
equals, getAppCtx, getDerivedName, getId, getState, hashCode, isDebugOn, isStarted, markAsOutdated, setApplicationContext, setBeanName, setConfig, setDebugOn, setDerivedName, setId, setState, throwIllegalStateException, undeploy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailTransportListener

public MailTransportListener()
Default constructor


MailTransportListener

public MailTransportListener(int threads)
Constructor specifying the number of threads to allocate

Parameters:
threads - threads to allocate to polling

Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved.