クラス AggregatorFactoryBean
java.lang.ObjectSE
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>
org.springframework.integration.config.AggregatorFactoryBean
- 実装されているすべてのインターフェース:
Aware、BeanFactoryAware、BeanNameAware、FactoryBean<MessageHandler>、ApplicationContextAware、ApplicationEventPublisherAware
public class AggregatorFactoryBean
extends AbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>
FactoryBean を使用して AggregatingMessageHandler を作成します。- 導入:
- 4.2
- 作成者:
- Gary Russell, Artem Bilan, Ngoc Nhan
フィールドのサマリー
クラス org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean から継承されたフィールド
loggerインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected AggregatingMessageHandlerprotected ClassSE<? extends MessageHandler> サブクラスはこれをオーバーライドして、ハンドラーの作成前に特定の型を返すことができます。voidsetCorrelationStrategy(CorrelationStrategy correlationStrategy) voidsetDiscardChannel(MessageChannel discardChannel) voidsetDiscardChannelName(StringSE discardChannelName) voidsetDiscardIndividuallyOnExpiry(BooleanSE discardIndividuallyOnExpiry) 期限切れのグループ全体を単一のメッセージとして破棄チャネルに送信するには、falseに設定します。voidsetExpireDurationMillis(LongSE expireDuration) voidsetExpireGroupsUponCompletion(BooleanSE expireGroupsUponCompletion) voidsetExpireGroupsUponTimeout(BooleanSE expireGroupsUponTimeout) voidsetExpireTimeout(LongSE expireTimeout) voidsetForceReleaseAdviceChain(ListSE<Advice> forceReleaseAdviceChain) voidsetGroupConditionSupplier(BiFunctionSE<Message<?>, StringSE, StringSE> groupConditionSupplier) voidsetGroupTimeoutExpression(Expression groupTimeoutExpression) voidsetHeadersFunction(FunctionSE<MessageGroup, MapSE<StringSE, ObjectSE>> headersFunction) voidsetLockRegistry(LockRegistry<?> lockRegistry) voidsetMessageStore(MessageGroupStore messageStore) voidsetMethodName(StringSE methodName) voidsetMinimumTimeoutForEmptyGroups(LongSE minimumTimeoutForEmptyGroups) voidsetOutputChannelName(StringSE outputChannelName) ハンドラーの出力チャネル名を設定します。voidsetPopSequence(BooleanSE popSequence) voidsetProcessorBean(ObjectSE processorBean) voidsetReleaseLockBeforeSend(BooleanSE releaseLockBeforeSend) voidsetReleaseStrategy(ReleaseStrategy releaseStrategy) voidsetSendPartialResultOnExpiry(BooleanSE sendPartialResultOnExpiry) voidsetSendTimeout(LongSE sendTimeout) voidsetTaskScheduler(TaskScheduler taskScheduler) クラス org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean から継承されたメソッド
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel
コンストラクターの詳細
AggregatorFactoryBean
public AggregatorFactoryBean()
メソッドの詳細
setProcessorBean
setMethodName
setExpireGroupsUponCompletion
setSendTimeout
setOutputChannelName
クラスからコピーされた説明:AbstractSimpleMessageHandlerFactoryBeanハンドラーの出力チャネル名を設定します。- オーバーライド:
- クラス
AbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>のsetOutputChannelName - パラメーター:
outputChannelName- 設定する出力チャネル Bean 名。
setLockRegistry
setMessageStore
setCorrelationStrategy
setReleaseStrategy
setGroupTimeoutExpression
setForceReleaseAdviceChain
setTaskScheduler
setDiscardChannel
setDiscardChannelName
setSendPartialResultOnExpiry
setMinimumTimeoutForEmptyGroups
setExpireGroupsUponTimeout
setPopSequence
setReleaseLockBeforeSend
setHeadersFunction
setExpireTimeout
setExpireDurationMillis
setGroupConditionSupplier
public void setGroupConditionSupplier(BiFunctionSE<Message<?>, StringSE, StringSE> groupConditionSupplier) setDiscardIndividuallyOnExpiry
期限切れのグループ全体を単一のメッセージとして破棄チャネルに送信するには、falseに設定します。- パラメーター:
discardIndividuallyOnExpiry- グループ全体を 1 つのメッセージとして破棄する場合は false です。- 導入:
- 6.5
- 関連事項:
createHandler
getPreCreationHandlerType
クラスからコピーされた説明:AbstractSimpleMessageHandlerFactoryBeanサブクラスはこれをオーバーライドして、ハンドラーの作成前に特定の型を返すことができます。ハンドラーの作成後、実際の型が使用されます。- オーバーライド:
- クラス
AbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>のgetPreCreationHandlerType - 戻り値:
- 型。