public class ImapIdleChannelAdapter extends MessageProducerSupport implements org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.ApplicationEventPublisherAware
Message
instance that was received.| Modifier and Type | Class and Description |
|---|---|
class |
ImapIdleChannelAdapter.ImapIdleExceptionEvent |
logger| Constructor and Description |
|---|
ImapIdleChannelAdapter(ImapMailReceiver mailReceiver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart()
Takes no action by default.
|
protected void |
doStop()
Takes no action by default.
|
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
void |
setAdviceChain(java.util.List<org.aopalliance.aop.Advice> adviceChain) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
void |
setBeanClassLoader(java.lang.ClassLoader classLoader) |
void |
setSendingTaskExecutor(java.util.concurrent.Executor sendingTaskExecutor)
Specify an
Executor used to send messages received by the
adapter. |
void |
setShouldReconnectAutomatically(boolean shouldReconnectAutomatically)
Specify whether the IDLE task should reconnect automatically after
catching a
FolderClosedException while waiting for messages. |
void |
setTransactionSynchronizationFactory(TransactionSynchronizationFactory transactionSynchronizationFactory) |
onInit, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrackgetPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentNamepublic ImapIdleChannelAdapter(ImapMailReceiver mailReceiver)
public void setTransactionSynchronizationFactory(TransactionSynchronizationFactory transactionSynchronizationFactory)
public void setAdviceChain(java.util.List<org.aopalliance.aop.Advice> adviceChain)
public void setSendingTaskExecutor(java.util.concurrent.Executor sendingTaskExecutor)
Executor used to send messages received by the
adapter.sendingTaskExecutor - the sendingTaskExecutor to setpublic void setShouldReconnectAutomatically(boolean shouldReconnectAutomatically)
FolderClosedException while waiting for messages. The
default value is true.public java.lang.String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class IntegrationObjectSupportpublic void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwareprotected void doStart()
MessageProducerSupportdoStart in class MessageProducerSupportprotected void doStop()
MessageProducerSupportdoStop in class MessageProducerSupport