クラス ImapIdleChannelAdapter
java.lang.ObjectSE
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.endpoint.MessageProducerSupport
org.springframework.integration.mail.inbound.ImapIdleChannelAdapter
- 実装済みのインターフェース一覧:
Aware, BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, SmartInitializingSingleton, ApplicationContextAware, ApplicationEventPublisherAware, Lifecycle, Phased, SmartLifecycle, ComponentSourceAware, ExpressionCapable, MessageProducer, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent
public class ImapIdleChannelAdapter
extends MessageProducerSupport
implements BeanClassLoaderAware, ApplicationEventPublisherAware
IMAP の "idle" コマンドをサポートするメールサーバーからメールメッセージを受信するイベント駆動型チャネルアダプター(RFC 2177 を参照)。受信したメールメッセージは変換され、Spring Integration メッセージとして出力チャネルに送信されます。メッセージペイロードは、受信された
MessageEE インスタンスになります。- 導入:
- 7.0
- 作成者:
- Arjen Poutsma, Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan
ネストされたクラスの概要
ネストされたクラスインターフェース IntegrationManagement から継承されたネストクラス / インターフェース
IntegrationManagement.ManagementOverridesフィールド概要
クラス AbstractEndpoint から継承されたフィールド
lifecycleLockクラス IntegrationObjectSupport から継承されたフィールド
EXPRESSION_PARSER, loggerインターフェース IntegrationManagement から継承されたフィールド
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAMEインターフェース SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明voiddestroy()protected voiddoStart()デフォルトでは何もしません。protected voiddoStop()デフォルトでは何もしません。protected voidonInit()サブクラスは、初期化ロジック用にこれを実装できます。voidsetAdviceChain(ListSE<Advice> adviceChain) voidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) voidsetBeanClassLoader(ClassLoaderSE classLoader) voidsetReconnectDelay(long reconnectDelay) ミリ秒単位の接続試行間の時間(デフォルトは 10 秒)。voidsetShouldReconnectAutomatically(boolean shouldReconnectAutomatically) メッセージの待機中にMessagingExceptionEE をキャッチした後、IDLE タスクが自動的に再接続するかどうかを指定します。voidsetTaskExecutor(ExecutorSE taskExecutor) IDLE タスクの受信をスケジュールするには、マネージドExecutorSE を提供します。voidsetTransactionSynchronizationFactory(TransactionSynchronizationFactory transactionSynchronizationFactory) クラス MessageProducerSupport から継承されたメソッド
afterSingletonsInstantiated, buildErrorMessage, getErrorChannel, getErrorMessageAttributes, getErrorMessageStrategy, getIntegrationPatternType, getMessagingTemplate, getOutputChannel, getOutputChannelName, getRequiredOutputChannel, isObserved, registerObservationRegistry, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setObservationConvention, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrack, subscribeToPublisherクラス AbstractEndpoint から継承されたメソッド
doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stopクラス IntegrationObjectSupport から継承されたメソッド
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentDescription, getComponentName, getComponentSource, getConversionService, getExpression, getIntegrationProperties, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentDescription, setComponentName, setComponentSource, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース IntegrationManagement から継承されたメソッド
getManagedName, getManagedType, getOverrides, getThisAs, isLoggingEnabled, registerMetricsCaptor, setLoggingEnabled, setManagedName, setManagedTypeインターフェース NamedComponent から継承されたメソッド
getBeanName, getComponentNameインターフェース SmartLifecycle から継承されたメソッド
isPauseable
コンストラクターの詳細
ImapIdleChannelAdapter
方法の詳細
setTransactionSynchronizationFactory
public void setTransactionSynchronizationFactory(TransactionSynchronizationFactory transactionSynchronizationFactory) setAdviceChain
setTaskExecutor
IDLE タスクの受信をスケジュールするには、マネージドExecutorSE を提供します。- パラメーター:
taskExecutor- 使用するExecutorSE。
setShouldReconnectAutomatically
public void setShouldReconnectAutomatically(boolean shouldReconnectAutomatically) メッセージの待機中にMessagingExceptionEE をキャッチした後に IDLE タスクが自動的に再接続するかどうかを指定します。デフォルト値は true です。- パラメーター:
shouldReconnectAutomatically- 再接続する場合は true。
setReconnectDelay
public void setReconnectDelay(long reconnectDelay) ミリ秒単位の接続試行間の時間(デフォルトは 10 秒)。- パラメーター:
reconnectDelay- 設定する reconnectDelay
getComponentType
- 次で指定:
- インターフェース
NamedComponent内のgetComponentType - オーバーライド:
- クラス
MessageProducerSupportのgetComponentType
setBeanClassLoader
- 次で指定:
- インターフェース
BeanClassLoaderAware内のsetBeanClassLoader
setApplicationEventPublisher
- 次で指定:
- インターフェース
ApplicationEventPublisherAware内のsetApplicationEventPublisher
onInit
protected void onInit()クラスからコピーされた説明:IntegrationObjectSupportサブクラスは、初期化ロジック用にこれを実装できます。- オーバーライド:
- クラス
MessageProducerSupportのonInit
doStart
protected void doStart()クラスからコピーされた説明:MessageProducerSupportデフォルトでは何も実行されません。ライフサイクル管理された動作が必要な場合、サブクラスはこれをオーバーライドできます。'lifecycleLock' によって保護されています。- オーバーライド:
- クラス
MessageProducerSupportのdoStart
doStop
protected void doStop()クラスからコピーされた説明:MessageProducerSupportデフォルトでは何もしません。サブクラスは、ライフサイクル管理の動作が必要な場合、これをオーバーライドできます。- オーバーライド:
- クラス
MessageProducerSupportのdoStop
destroy
public void destroy()- 次で指定:
- インターフェース
DisposableBean内のdestroy - 次で指定:
- インターフェース
IntegrationManagement内のdestroy - オーバーライド:
- クラス
AbstractEndpointのdestroy