Class AggregatorFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>
org.springframework.integration.config.AggregatorFactoryBean
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,BeanNameAware
,FactoryBean<MessageHandler>
,ApplicationContextAware
,ApplicationEventPublisherAware
public class AggregatorFactoryBean
extends AbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>
FactoryBean
to create an
AggregatingMessageHandler
.- Since:
- 4.2
- Author:
- Gary Russell, Artem Bilan, Ngoc Nhan
-
Field Summary
Fields inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AggregatingMessageHandler
protected Class<? extends MessageHandler>
Subclasses can override this to return a more specific type before handler creation.void
setCorrelationStrategy
(CorrelationStrategy correlationStrategy) void
setDiscardChannel
(MessageChannel discardChannel) void
setDiscardChannelName
(String discardChannelName) void
setExpireDurationMillis
(Long expireDuration) void
setExpireGroupsUponCompletion
(Boolean expireGroupsUponCompletion) void
setExpireGroupsUponTimeout
(Boolean expireGroupsUponTimeout) void
setExpireTimeout
(Long expireTimeout) void
setForceReleaseAdviceChain
(List<Advice> forceReleaseAdviceChain) void
setGroupConditionSupplier
(BiFunction<Message<?>, String, String> groupConditionSupplier) void
setGroupTimeoutExpression
(Expression groupTimeoutExpression) void
setHeadersFunction
(Function<MessageGroup, Map<String, Object>> headersFunction) void
setLockRegistry
(LockRegistry lockRegistry) void
setMessageStore
(MessageGroupStore messageStore) void
setMethodName
(String methodName) void
setMinimumTimeoutForEmptyGroups
(Long minimumTimeoutForEmptyGroups) void
setOutputChannelName
(String outputChannelName) Set the handler's output channel name.void
setPopSequence
(Boolean popSequence) void
setProcessorBean
(Object processorBean) void
setReleaseLockBeforeSend
(Boolean releaseLockBeforeSend) void
setReleaseStrategy
(ReleaseStrategy releaseStrategy) void
setSendPartialResultOnExpiry
(Boolean sendPartialResultOnExpiry) void
setSendTimeout
(Long sendTimeout) void
setTaskScheduler
(TaskScheduler taskScheduler) Methods inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel
-
Constructor Details
-
AggregatorFactoryBean
public AggregatorFactoryBean()
-
-
Method Details
-
setProcessorBean
-
setMethodName
-
setExpireGroupsUponCompletion
-
setSendTimeout
-
setOutputChannelName
Description copied from class:AbstractSimpleMessageHandlerFactoryBean
Set the handler's output channel name.- Overrides:
setOutputChannelName
in classAbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>
- Parameters:
outputChannelName
- the output channel bean name to set.
-
setLockRegistry
-
setMessageStore
-
setCorrelationStrategy
-
setReleaseStrategy
-
setGroupTimeoutExpression
-
setForceReleaseAdviceChain
-
setTaskScheduler
-
setDiscardChannel
-
setDiscardChannelName
-
setSendPartialResultOnExpiry
-
setMinimumTimeoutForEmptyGroups
-
setExpireGroupsUponTimeout
-
setPopSequence
-
setReleaseLockBeforeSend
-
setHeadersFunction
-
setExpireTimeout
-
setExpireDurationMillis
-
setGroupConditionSupplier
-
createHandler
- Specified by:
createHandler
in classAbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>
-
getPreCreationHandlerType
Description copied from class:AbstractSimpleMessageHandlerFactoryBean
Subclasses can override this to return a more specific type before handler creation. After handler creation, the actual type is used.- Overrides:
getPreCreationHandlerType
in classAbstractSimpleMessageHandlerFactoryBean<AggregatingMessageHandler>
- Returns:
- the type.
-